bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails)
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/msg6.html
bug#47451: Guix pull building lz4-1.9.3 fails
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.
bug#47451: Guix pull building lz4-1.9.3 fails
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
bug#47451: Guix pull building lz4-1.9.3 fails
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 5Mar 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 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 2049:24 8 (run-with-store # _ #: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 (_ #) 1358:5 1 (map/accumulate-builds # _ _) 1369:15 0 (_ # _ _) ./guix/store.scm:1369:15: ERROR: 1. : 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 . ```