GNU bug report logs - #56466
Bug in compute-guix-derivation

Previous Next

Package: guix;

Reported by: Girish <girishm <at> posteo.net>

Date: Sat, 9 Jul 2022 16:53:02 UTC

Severity: important

Fix blocked by 50238: [PATCH] build-self: Try printing nicer error messages.

To reply to this bug, email your comments to 56466 AT debbugs.gnu.org.

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#56466; Package guix. (Sat, 09 Jul 2022 16:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Girish <girishm <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 09 Jul 2022 16:53:02 GMT) Full text and rfc822 format available.

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

From: Girish <girishm <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: Bug in compute-guix-derivation
Date: Sat,  9 Jul 2022 06:25:52 +0000
$ guix pull

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 6e2f5fe (413 new 
commits)...
Building from this channel:
  guix https://git.savannah.gnu.org/git/guix.git 6e2f5fe
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 module-import 2KiB 63KiB/s 00:00 [##################] 100.0%
 module-import-compiled 1.2MiB 125KiB/s 00:10 [##################] 100.0%
 compute-guix-derivation 1013B 463KiB/s 00:00 [##################] 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 
0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: 
Connection timed out
substitute:
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
0.0%guix substitute: warning: bordeaux.guix.gnu.org: host not found: 
Temporary failure in name resolution
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
Backtrace::
          17 (primitive-load 
"/gnu/store/w7y5xmzi2932yb128dc8cc5ig69c71jh-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 16 (_ _)
    159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> 
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 14 (with-fluid* _ _ _)
    152:2 13 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24 12 (run-with-store #<store-connection 256.99 7f88d3cc0140> 
#<procedure 7f88c5034fa0 at ./guix/self.scm:12?> ?)
   1996:8 11 (_ #<store-connection 256.99 7f88d3cc0140>)
In ./guix/gexp.scm:
   300:22 10 (_ #<store-connection 256.99 7f88d3cc0140>)
   1181:2  9 (_ #<store-connection 256.99 7f88d0b1deb0>)
   1047:2  8 (_ #<store-connection 256.99 7f88d0b1deb0>)
    893:4  7 (_ #<store-connection 256.99 7f88d0b1deb0>)
In ./guix/store.scm:
  2053:12  6 (_ #<store-connection 256.99 7f88d0b1deb0>)
   1401:5  5 (map/accumulate-builds #<store-connection 256.99 
7f88d0b1deb0> #<procedure 7f88d2b0c2c0 at ./guix/stor?> ?)
  1417:15  4 (_ #<store-connection 256.99 7f88d0b1deb0> 
("/gnu/store/wcqvrs9bxbsk0ggycjncgd82v8yb02a7-curl-7.84.0.?") ?)
  1417:15  3 (loop #f)
   711:11  2 (process-stderr #<store-connection 256.99 7f88d0b1deb0> _)
In ./guix/serialization.scm:
   102:11  1 (read-int #<input-output: file 10>)
     80:6  0 (get-bytevector-n* #<input-output: file 10> 8)

./guix/serialization.scm:80:6: In procedure get-bytevector-n*:
ERROR:
  1. &nar-error:
      file: #f
      port: #<input-output: file 10>
guix pull: error: You found a bug: the program 
'/gnu/store/w7y5xmzi2932yb128dc8cc5ig69c71jh-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"6e2f5fe2170065e23c4176ab79cbc60ad2ffd0f7"; system: "x86_64-linux";
host version: "49ecf1cbeedbc8a381242b692635b0b4c2576eb9"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.





Information forwarded to bug-guix <at> gnu.org:
bug#56466; Package guix. (Sat, 09 Jul 2022 20:40:03 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maxime.devos <at> student.kuleuven.be>
To: "56466 <at> debbugs.gnu.org" <56466 <at> debbugs.gnu.org>
Cc: "control <at> debbugs.gnu.org" <control <at> debbugs.gnu.org>,
 "50238 <at> debbugs.gnu.org" <50238 <at> debbugs.gnu.org>
Subject: Re: Bug in compute-guix-derivation
Date: Sat, 9 Jul 2022 20:39:31 +0000
[Message part 1 (text/plain, inline)]
block 56466 with 50238

thanks


This error message isn't informative, maybe the patch at

https://issues.guix.gnu.org/50238 would give some context, though not really sure, it was written with other kind of errors in mind.


Greetings,

Maxime.
[Message part 2 (text/html, inline)]

Added blocking bug(s) 50238 Request was from Maxime Devos <maxime.devos <at> student.kuleuven.be> to control <at> debbugs.gnu.org. (Sat, 09 Jul 2022 20:40:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#56466; Package guix. (Thu, 01 Sep 2022 17:08:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: control <at> debbugs.gnu.org, 57527 <at> debbugs.gnu.org, 53802 <at> debbugs.gnu.org,
 56466 <at> debbugs.gnu.org
Subject: Re: bug#57527: compute-guix-derivation has an error
Date: Thu, 1 Sep 2022 19:07:48 +0200
[Message part 1 (text/plain, inline)]
severity 57527 important
merge 47764 57527
severity 53802 important
merge 47764 53802
severity 56466 important
merge 47764 56466
thanks

Found a few apparent duplicates (they are all about a &nar-error, 
read-int and process-stderror).

On second thought, I don't think the patch I referred to #56466 will 
help here, though it could hardly harm here.

For now, you can try working-around by retrying "guix pull".

There are two hypotheses on the cause in

 * https://issues.guix.gnu.org/57527#1
 * and https://issues.guix.gnu.org/47764

The second seems most plausible to me, and the first seems the simplest 
to test (and even if it's not the cause, it would still add some 
robustness).

Greetings,
Maxime.

[Message part 2 (text/html, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Severity set to 'important' from 'normal' Request was from Maxime Devos <maximedevos <at> telenet.be> to control <at> debbugs.gnu.org. (Thu, 01 Sep 2022 17:08:03 GMT) Full text and rfc822 format available.

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

Previous Next


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