bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47451: Guix pull building lz4-1.9.3 fails


From: Leo Famulari
Subject: bug#47451: Guix pull building lz4-1.9.3 fails
Date: Sun, 28 Mar 2021 16:10:36 -0400

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]