guix pull fails

  • Done
  • quality assurance status badge
Details
3 participants
  • Jesse Gibbons
  • Ludovic Courtès
  • Maxime Devos
Owner
unassigned
Submitted by
Jesse Gibbons
Severity
normal
J
J
Jesse Gibbons wrote on 1 Feb 2022 20:50
(address . bug-guix@gnu.org)
9a36f0be-2251-af70-3b26-3ae18590f976@gmail.com
~$ guix pull
Updating channel 'guix' from Git repository at
Authenticating channel 'guix', commits 9edb3f6 to 787b13a (279 new
commits)...
Building from this channel:
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@gnu.org>.

--
-Jesse Gibbons
L
L
Ludovic Courtès wrote on 2 Mar 2022 12:19
(name . Jesse Gibbons)(address . jgibbons2357@gmail.com)(address . 53710-done@debbugs.gnu.org)
87r17k38la.fsf@gnu.org
Hi,

Jesse Gibbons <jgibbons2357@gmail.com> skribis:

Toggle quote (50 lines)
> ~$ 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@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’.
Closed
M
M
Maxime Devos wrote on 2 Mar 2022 14:14
"guix pull" doesn't have nice error messages in case of network errors
(address . 53710@debbugs.gnu.org)
126927a6292208ac84e74afa1a7dab31d4a5968e.camel@telenet.be
Ludovic Courtès schreef op wo 02-03-2022 om 12:19 [+0100]:
Toggle quote (21 lines)
> > ./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@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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYh9t0hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jG4AQC6B9RuXg/x9h1OqGOgQONC0AVE
39FGyD6xUkN2+M6oQQD/TIm4SAB7IncZr43E1SEqjAXPrbD1KocfKI2Yd2N5JwQ=
=v+SX
-----END PGP SIGNATURE-----


J
J
Jesse Gibbons wrote on 2 Mar 2022 17:31
(address . 53710@debbugs.gnu.org)
68f14fc1-39ee-8e33-bc2a-87f9ec077054@gmail.com
On 3/2/22 06:14, Maxime Devos wrote:
Toggle quote (27 lines)
> 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@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
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 53710
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