Guix pull building lz4-1.9.3 fails

  • Done
  • quality assurance status badge
Details
2 participants
  • Bone Baboon
  • Leo Famulari
Owner
unassigned
Submitted by
Bone Baboon
Severity
normal
B
B
Bone Baboon wrote on 28 Mar 2021 15:43
(address . bug-guix@gnu.org)
87pmzjfl5y.fsf@disroot.org
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)
; (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
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>.
```
L
L
Leo Famulari wrote on 28 Mar 2021 22:10
(name . Bone Baboon via Bug reports for GNU Guix)(address . bug-guix@gnu.org)(address . 47451@debbugs.gnu.org)
YGDivDoZayndhmUw@jasmine.lan
On Sun, Mar 28, 2021 at 09:43:53AM -0400, Bone Baboon via Bug reports for GNU Guix wrote:
Toggle quote (1 lines)
> Error Message:
[...]
Toggle quote (22 lines)
> @ 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:


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:


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]
L
L
Leo Famulari wrote on 1 Apr 2021 17:18
(name . Bone Baboon via Bug reports for GNU Guix)(address . bug-guix@gnu.org)(address . 47451-done@debbugs.gnu.org)
YGXkMSTwUrKlQy4m@jasmine.lan
On Sun, Mar 28, 2021 at 04:10:36PM -0400, Leo Famulari wrote:
Toggle quote (4 lines)
> 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.
B
B
Bone Baboon wrote on 7 Apr 2021 04:31
bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails)
(address . 47451@debbugs.gnu.org)
87blaqg716.fsf@disroot.org
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:
?
Your comment

This issue is archived.

To comment on this conversation send an email to 47451@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47451
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch