unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#47451: Guix pull building lz4-1.9.3 fails
@ 2021-03-28 13:43 Bone Baboon via Bug reports for GNU Guix
  2021-03-28 20:10 ` Leo Famulari
  2021-04-07  2:31 ` bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails) Bone Baboon
  0 siblings, 2 replies; 4+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-03-28 13:43 UTC (permalink / raw)
  To: 47451

I am getting an error message that tells me to report it to this Guix
bug mailing list.

After reading the Specifying Additional Channels section of the Guix
manual I created  `~/.config/guix/channels.scm` with these contents: 

```
(cons
 (channel
  (name 'openvpn-2-4-9)
  (url "https://git.savannah.gnu.org/git/guix.git")
;  (commit "33c140e0fb3ddcd6ce05c02bc00df102830ecbd6"))
  (commit "c5a2b70135c9830e9c3051ddf4a096f9a80eb952"))
 %default-channels)

```

When I run `guix pull --no-substitutes` I get this error message below.

I get the same error message if I use commit
c5a2b70135c9830e9c3051ddf4a096f9a80eb952 and run `guix pull
--no-substitutes`.

When I run `guix describe` on the computer that is getting this error it
outputs:
```
Generation 5    Mar 26 2021 22:04:40    (current)
  guix 53dd99b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 53dd99bc0b2e23c5463b4cb95546fd438a72d229
```

With the same channels.scm file with the
33c140e0fb3ddcd6ce05c02bc00df102830ecbd6 commit on another x86_64
computer if I run `guix pull` there is no error message.

Error Message:

```
...

@ build-log 28219 16
# Test for #596
@ build-log 28219 32
../programs/lz4 -m tmp-tlb-test
@ build-log 28219 47
../programs/lz4 tmp-tlb-test.lz4 tmp-tlb-test2
@ build-log 28219 121
tmp-tlb-test.lz4     : decoded 5 bytes                                         
@ build-log 28219 35
diff -q tmp-tlb-test tmp-tlb-test2
@ build-log 28219 74
make[1]: Leaving directory '/tmp/guix-build-lz4-1.9.3.drv-0/source/tests'
@ build-log 28219 39
make: *** [Makefile:127: test] Error 2
@ build-log 28219 34

Test suite failed, dumping logs.
@ build-log 28219 124
command "make" "test" "-j" "8" "CC=gcc" "prefix=/gnu/store/y6j2zpdpyw5xdnfspyjqgmbq1p7k22bx-lz4-1.9.3" failed with status 2
builder for `/gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv' failed with exit code 1
@ build-failed /gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv - 1 builder for `/gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv' failed with exit code 1
cannot build derivation `/gnu/store/pd0m0qikzva35hi8l1lcciiw9l1fsx6p-subversion-1.14.0.drv': 1 dependencies couldn't be built
Backtrace:
          11 (primitive-load "/gnu/store/6ck8lnf8jdycbcfpp2g8af559zjb6ffg-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 10 (_ _)
    159:9  9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f9b50c59f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
  2049:24  8 (run-with-store #<store-connection 256.99 7f9b4ee5c5f0> _ #:guile-for-build _ #:system _ #:target _)
   1883:8  7 (_ _)
In ./guix/gexp.scm:
   258:18  6 (_ _)
   1123:2  5 (_ _)
    982:2  4 (_ _)
    843:4  3 (_ _)
In ./guix/store.scm:
  1931:12  2 (_ #<store-connection 256.99 7f9b4ee5c5f0>)
   1358:5  1 (map/accumulate-builds #<store-connection 256.99 7f9b4ee5c5f0> _ _)
  1369:15  0 (_ #<store-connection 256.99 7f9b4ee5c5f0> _ _)

./guix/store.scm:1369:15: ERROR:
  1. &store-protocol-error:
      message: "build of `/gnu/store/pd0m0qikzva35hi8l1lcciiw9l1fsx6p-subversion-1.14.0.drv' failed"
      status: 100
guix pull: error: You found a bug: the program '/gnu/store/6ck8lnf8jdycbcfpp2g8af559zjb6ffg-compute-guix-derivation'
failed to compute the derivation for Guix (version: "33c140e0fb3ddcd6ce05c02bc00df102830ecbd6"; system: "x86_64-linux";
host version: "53dd99bc0b2e23c5463b4cb95546fd438a72d229"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
```




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47451: Guix pull building lz4-1.9.3 fails
  2021-03-28 13:43 bug#47451: Guix pull building lz4-1.9.3 fails Bone Baboon via Bug reports for GNU Guix
@ 2021-03-28 20:10 ` Leo Famulari
  2021-04-01 15:18   ` Leo Famulari
  2021-04-07  2:31 ` bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails) Bone Baboon
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2021-03-28 20:10 UTC (permalink / raw)
  To: 47451

On Sun, Mar 28, 2021 at 09:43:53AM -0400, Bone Baboon via Bug reports for GNU Guix wrote:
> Error Message:
[...]
> @ build-log 28219 16
> # Test for #596
> @ build-log 28219 32
> ../programs/lz4 -m tmp-tlb-test
> @ build-log 28219 47
> ../programs/lz4 tmp-tlb-test.lz4 tmp-tlb-test2
> @ build-log 28219 121
> tmp-tlb-test.lz4     : decoded 5 bytes                                         
> @ build-log 28219 35
> diff -q tmp-tlb-test tmp-tlb-test2
> @ build-log 28219 74
> make[1]: Leaving directory '/tmp/guix-build-lz4-1.9.3.drv-0/source/tests'
> @ build-log 28219 39
> make: *** [Makefile:127: test] Error 2
> @ build-log 28219 34
> 
> Test suite failed, dumping logs.
> @ build-log 28219 124
> command "make" "test" "-j" "8" "CC=gcc" "prefix=/gnu/store/y6j2zpdpyw5xdnfspyjqgmbq1p7k22bx-lz4-1.9.3" failed with status 2
> builder for `/gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv' failed with exit code 1
> @ build-failed /gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv - 1 builder for `/gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv' failed with exit code 1

I think this bug was fixed in Guix in February:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=78bbf6c44394c1024e0a369d0d5947e669606248

If I understand correctly, you're trying to use Guix from May 2020.

I recommend trying again but with "--cores=1" [0]. The lz4 test suite may
not support multithreaded execution reliably:

https://github.com/lz4/lz4/issues/957

You can limit the use of a single thread by only building this lz4
derivation with --cores=1:

`guix build /gnu/store/8r1d8lw4xix0r90irz0rr1gnnq4mainz-lz4-1.9.3.drv --cores=1`

[0]
https://guix.gnu.org/manual/en/html_node/Common-Build-Options.html




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47451: Guix pull building lz4-1.9.3 fails
  2021-03-28 20:10 ` Leo Famulari
@ 2021-04-01 15:18   ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2021-04-01 15:18 UTC (permalink / raw)
  To: Bone Baboon via Bug reports for GNU Guix; +Cc: 47451-done

On Sun, Mar 28, 2021 at 04:10:36PM -0400, Leo Famulari wrote:
> I think this bug was fixed in Guix in February:
> 
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=78bbf6c44394c1024e0a369d0d5947e669606248

Closing... please let us know if the bug should be reopened.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails)
  2021-03-28 13:43 bug#47451: Guix pull building lz4-1.9.3 fails Bone Baboon via Bug reports for GNU Guix
  2021-03-28 20:10 ` Leo Famulari
@ 2021-04-07  2:31 ` Bone Baboon
  1 sibling, 0 replies; 4+ messages in thread
From: Bone Baboon @ 2021-04-07  2:31 UTC (permalink / raw)
  To: 47451

I am no longer having this error.  This error was part of a unsuccessful
attempt to install a previous version of a package.

I am using a different approach to install a previous version of a
package which is working and is detailed here:
https://lists.gnu.org/archive/html/help-guix/2021-04/msg00006.html




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-07 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 13:43 bug#47451: Guix pull building lz4-1.9.3 fails Bone Baboon via Bug reports for GNU Guix
2021-03-28 20:10 ` Leo Famulari
2021-04-01 15:18   ` Leo Famulari
2021-04-07  2:31 ` bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails) Bone Baboon

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git