GNU bug report logs - #47451
Guix pull building lz4-1.9.3 fails

Previous Next

Package: guix;

Reported by: Bone Baboon <bone.baboon <at> disroot.org>

Date: Sun, 28 Mar 2021 14:37:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47451 in the body.
You can then email your comments to 47451 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47451; Package guix. (Sun, 28 Mar 2021 14:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bone Baboon <bone.baboon <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 28 Mar 2021 14:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bone Baboon <bone.baboon <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: Guix pull building lz4-1.9.3 fails
Date: Sun, 28 Mar 2021 09:43:53 -0400
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 <at> gnu.org>.
```




Information forwarded to bug-guix <at> gnu.org:
bug#47451; Package guix. (Sun, 28 Mar 2021 20:11:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Bone Baboon via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 47451 <at> debbugs.gnu.org
Subject: Re: 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




Information forwarded to bug-guix <at> gnu.org:
bug#47451; Package guix. (Sun, 28 Mar 2021 20:11:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47451; Package guix. (Thu, 01 Apr 2021 15:19:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Bone Baboon via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 47451-done <at> debbugs.gnu.org
Subject: Re: bug#47451: Guix pull building lz4-1.9.3 fails
Date: Thu, 1 Apr 2021 11:18:09 -0400
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.




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 01 Apr 2021 15:19:02 GMT) Full text and rfc822 format available.

Notification sent to Bone Baboon <bone.baboon <at> disroot.org>:
bug acknowledged by developer. (Thu, 01 Apr 2021 15:19:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47451; Package guix. (Wed, 07 Apr 2021 02:54:02 GMT) Full text and rfc822 format available.

Message #22 received at 47451 <at> debbugs.gnu.org (full text, mbox):

From: Bone Baboon <bone.baboon <at> disroot.org>
To: 47451 <at> debbugs.gnu.org
Subject: bug#47451: closed (Re: bug#47451: Guix pull building lz4-1.9.3 fails)
Date: Tue, 06 Apr 2021 22:31:01 -0400
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.