GNU bug report logs - #53710
guix pull fails

Previous Next

Package: guix;

Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>

Date: Tue, 1 Feb 2022 19:51:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 53710 in the body.
You can then email your comments to 53710 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#53710; Package guix. (Tue, 01 Feb 2022 19:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 01 Feb 2022 19:51:01 GMT) Full text and rfc822 format available.

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

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix pull fails
Date: Tue, 1 Feb 2022 12:50:10 -0700
~$ guix pull
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 787b13a (279 new 
commits)...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git    787b13a
Computing Guix derivation for 'x86_64-linux'... \Backtrace:
          17 (primitive-load 
"/gnu/store/rx23w5k5nys4a2hjwcy4lampkhnslj3m-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:
  2123:24 12 (run-with-store #<store-connection 256.99 7f691ce7e140> 
#<procedure 7f6910644870 at ./guix/self.scm:12?> ?)
   1960:8 11 (_ #<store-connection 256.99 7f691ce7e140>)
In ./guix/gexp.scm:
   296:22 10 (_ #<store-connection 256.99 7f691ce7e140>)
   1180:2  9 (_ #<store-connection 256.99 7f691ce7e140>)
   1046:2  8 (_ #<store-connection 256.99 7f691ce7e140>)
    892:4  7 (_ #<store-connection 256.99 7f691ce7e140>)
In ./guix/store.scm:
  2008:12  6 (_ #<store-connection 256.99 7f691ce7e140>)
   1406:5  5 (map/accumulate-builds #<store-connection 256.99 
7f691ce7e140> #<procedure 7f6915db94a0 at ./guix/stor?> ?)
  1421:15  4 (_ #<store-connection 256.99 7f691ce7e140> 
("/gnu/store/gmi62pbnf0jfish26chd7pvfzs2rzlxa-guile-ssh-?" ?) ?)
  1421:15  3 (loop #f)
   733:11  2 (process-stderr #<store-connection 256.99 7f691ce7e140> _)
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/rx23w5k5nys4a2hjwcy4lampkhnslj3m-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"787b13a5d9df8f0cc7170de1b80cead68b516c66"; system: "x86_64-linux";
host version: "90a41fe388102d448b3f91a070e38a7680d2d568"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

-- 
-Jesse Gibbons





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 02 Mar 2022 11:20:01 GMT) Full text and rfc822 format available.

Notification sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
bug acknowledged by developer. (Wed, 02 Mar 2022 11:20:01 GMT) Full text and rfc822 format available.

Message #10 received at 53710-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: 53710-done <at> debbugs.gnu.org
Subject: Re: bug#53710: guix pull fails
Date: Wed, 02 Mar 2022 12:19:29 +0100
Hi,

Jesse Gibbons <jgibbons2357 <at> gmail.com> skribis:

> ~$ guix pull
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to 787b13a (279 new
> commits)...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git    787b13a
> Computing Guix derivation for 'x86_64-linux'... \Backtrace:
>           17 (primitive-load
> "/gnu/store/rx23w5k5nys4a2hjwcy4lampkhnslj3m-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:
>   2123:24 12 (run-with-store #<store-connection 256.99 7f691ce7e140>
> #<procedure 7f6910644870 at ./guix/self.scm:12?> ?)
>    1960:8 11 (_ #<store-connection 256.99 7f691ce7e140>)
> In ./guix/gexp.scm:
>    296:22 10 (_ #<store-connection 256.99 7f691ce7e140>)
>    1180:2  9 (_ #<store-connection 256.99 7f691ce7e140>)
>    1046:2  8 (_ #<store-connection 256.99 7f691ce7e140>)
>     892:4  7 (_ #<store-connection 256.99 7f691ce7e140>)
> In ./guix/store.scm:
>   2008:12  6 (_ #<store-connection 256.99 7f691ce7e140>)
>    1406:5  5 (map/accumulate-builds #<store-connection 256.99
> 7f691ce7e140> #<procedure 7f6915db94a0 at ./guix/stor?> ?)
>   1421:15  4 (_ #<store-connection 256.99 7f691ce7e140>
> ("/gnu/store/gmi62pbnf0jfish26chd7pvfzs2rzlxa-guile-ssh-?" ?) ?)
>   1421:15  3 (loop #f)
>    733:11  2 (process-stderr #<store-connection 256.99 7f691ce7e140> _)
> 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/rx23w5k5nys4a2hjwcy4lampkhnslj3m-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "787b13a5d9df8f0cc7170de1b80cead68b516c66"; system: "x86_64-linux";
> host version: "90a41fe388102d448b3f91a070e38a7680d2d568"; pull-version: 1).
> Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

Thanks for reporting the issue.  Unfortunately, I suspect it was “just”
a transient issue (probably a networking issue while downloading
substitutes for guile-ssh, which we see in the backtrace).  It’s
unfortunate that it crashed like that.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#53710; Package guix. (Wed, 02 Mar 2022 13:16:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>, Jesse Gibbons
 <jgibbons2357 <at> gmail.com>
Cc: 53710 <at> debbugs.gnu.org
Subject: "guix pull" doesn't have nice error messages in case of network errors
Date: Wed, 02 Mar 2022 14:14:58 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès schreef op wo 02-03-2022 om 12:19 [+0100]:
> > ./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/rx23w5k5nys4a2hjwcy4lampkhnslj3m-compute-guix-
> > derivation'
> > failed to compute the derivation for Guix (version:
> > "787b13a5d9df8f0cc7170de1b80cead68b516c66"; system: "x86_64-linux";
> > host version: "90a41fe388102d448b3f91a070e38a7680d2d568"; pull-
> > version: 1).
> > Please report the COMPLETE output above by email to
> > <bug-guix <at> gnu.org>.
> 
> Thanks for reporting the issue.  Unfortunately, I suspect it was
> “just”
> a transient issue (probably a networking issue while downloading
> substitutes for guile-ssh, which we see in the backtrace).  It’s
> unfortunate that it crashed like that.

Even if it's ‘only’ a networking issue, shouldn't it be reported
better?  When "guix package -u" fails due to networking errors, the
error messages are much clearer.  Why not the same for "guix pull"?
Perhaps the issue should be reopened?

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#53710; Package guix. (Wed, 02 Mar 2022 16:32:01 GMT) Full text and rfc822 format available.

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

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>, Ludovic Courtès
 <ludo <at> gnu.org>
Cc: 53710 <at> debbugs.gnu.org
Subject: Re: "guix pull" doesn't have nice error messages in case of network
 errors
Date: Wed, 2 Mar 2022 09:31:05 -0700
On 3/2/22 06:14, Maxime Devos wrote:
> Ludovic Courtès schreef op wo 02-03-2022 om 12:19 [+0100]:
>>> ./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/rx23w5k5nys4a2hjwcy4lampkhnslj3m-compute-guix-
>>> derivation'
>>> failed to compute the derivation for Guix (version:
>>> "787b13a5d9df8f0cc7170de1b80cead68b516c66"; system: "x86_64-linux";
>>> host version: "90a41fe388102d448b3f91a070e38a7680d2d568"; pull-
>>> version: 1).
>>> Please report the COMPLETE output above by email to
>>> <bug-guix <at> gnu.org>.
>> Thanks for reporting the issue.  Unfortunately, I suspect it was
>> “just”
>> a transient issue (probably a networking issue while downloading
>> substitutes for guile-ssh, which we see in the backtrace).  It’s
>> unfortunate that it crashed like that.
> Even if it's ‘only’ a networking issue, shouldn't it be reported
> better?  When "guix package -u" fails due to networking errors, the
> error messages are much clearer.  Why not the same for "guix pull"?
> Perhaps the issue should be reopened?
>
> Greetings,
> Maxime.
A proper error message would at least ensure this particular kind of 
crash does not prompt the end user to send a bug report. It would seem 
the real bug is communication to the user, "you found a bug, report it 
to the developers." instead of "Network error. Try later."

-- 
-Jesse Gibbons





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

This bug report was last modified 3 years and 84 days ago.

Previous Next


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