guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'

  • Open
  • quality assurance status badge
Details
3 participants
  • calcium
  • Christopher Baines
  • Maxime Devos
Owner
unassigned
Submitted by
calcium
Severity
normal
C
C
calcium wrote on 22 Apr 2022 17:59
(address . bug-guix@gnu.org)
2eb6c52d-3387-1037-090f-e3304b294629@disroot.org
14.2 MB will be downloaded:
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33
/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static
/gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1
substituting /gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1...
Backtrace:
In ice-9/boot-9.scm:
1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
18 (apply-smob/0 #<thunk 7fd2d3dd92e0>)
In ice-9/boot-9.scm:
724:2 17 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 16 (_ #(#(#<directory (guile-user) 7fd2d3ddec80>)))
In guix/ui.scm:
2247:7 15 (run-guix . _)
2210:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
771:15 11 (_)
In ice-9/exceptions.scm:
406:15 10 (process-substitution #<output: file 4> _ "/gnu/store/…" …)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
479:9 8 (_)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7fd2d3e710f0 at ic…> …)
1685:16 6 (raise-exception _ #:continuable? _)
1683:16 5 (raise-exception _ #:continuable? _)
1685:16 4 (raise-exception _ #:continuable? _)
1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri…>)
1685:16 2 (raise-exception _ #:continuable? _)
1683:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
1. &http-get-error:
uri: #<<uri> scheme: https userinfo: #f host: "bordeaux.guix.gnu.org" port: #f path: "/nar/lzip/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1" query: #f fragment: #f>
code: 404
reason: "Not Found"
headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 7 minute: 55 hour: 15 day: 22 month: 4 year: 2022 zone-offset: 0>) (content-type text/html) (content-length . 146) (connection keep-alive))
substitution of /gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1 failed
guix build: error: corrupt input while restoring archive from #<closed: file 7f382aa89070>
irrenwirr@wirrwish ~/irrenwirr/trash$ guix pull
Updating channel 'nonguix' from Git repository at 'https://gitlab.com/nonguix/nonguix'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to e32cc01 (3 new commits)...
Building from these channels:
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
config.scm 508B 144KiB/s 00:00 [##################] 100.0%
git.scm 105B 290KiB/s 00:00 [##################] 100.0%
hash.scm 130B 354KiB/s 00:00 [##################] 100.0%
module-import 2KiB 546KiB/s 00:00 [##################] 100.0%
module-import-compiled 1.4MiB 11.9MiB/s 00:00 [##################] 100.0%
compute-guix-derivation 1016B 2.5MiB/s 00:00 [##################] 100.0%
Backtrace:
In ice-9/boot-9.scm:
1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
18 (apply-smob/0 #<thunk 7f3e239152e0>)
In ice-9/boot-9.scm:
724:2 17 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 16 (_ #(#(#<directory (guile-user) 7f3e2391ac80>)))
In guix/ui.scm:
2247:7 15 (run-guix . _)
2210:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
771:15 11 (_)
In ice-9/exceptions.scm:
406:15 10 (process-substitution #<output: file 4> _ "/gnu/store/?" ?)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
479:9 8 (_)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7f3e239af240 at ic?> ?)
1685:16 6 (raise-exception _ #:continuable? _)
1683:16 5 (raise-exception _ #:continuable? _)
1685:16 4 (raise-exception _ #:continuable? _)
1780:13 3 (_ #<&compound-exception components: (#<&error> #<&irri?>)
1685:16 2 (raise-exception _ #:continuable? _)
1683:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
1. &http-get-error:
uri: #<<uri> scheme: https userinfo: #f host: "bordeaux.guix.gnu.org" port: #f path: "/nar/lzip/j2ab2bdxycwjazb6k8fsk1adsnbfx7vc-gnutls-3.7.2-doc" query: #f fragment: #f>
code: 404
reason: "Not Found"
headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 43 minute: 56 hour: 15 day: 22 month: 4 year: 2022 zone-offset: 0>) (content-type text/html) (content-length . 146) (connection keep-alive))
Backtrace:
17 (primitive-load "/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-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:
2129:24 12 (run-with-store #<store-connection 256.99 7f9ca2e05140> #<procedure 7f9c8c1284b0 at ./guix/self.scm:12?> ?)
1966:8 11 (_ #<store-connection 256.99 7f9ca2e05140>)
In ./guix/gexp.scm:
299:22 10 (_ #<store-connection 256.99 7f9ca2e05140>)
1180:2 9 (_ #<store-connection 256.99 7f9c96dd3fa0>)
1046:2 8 (_ #<store-connection 256.99 7f9c96dd3fa0>)
892:4 7 (_ #<store-connection 256.99 7f9c96dd3fa0>)
In ./guix/store.scm:
2014:12 6 (_ #<store-connection 256.99 7f9c96dd3fa0>)
1406:5 5 (map/accumulate-builds #<store-connection 256.99 7f9c96dd3fa0> #<procedure 7f9c9348d0a0 at ./guix/stor?> ?)
1421:15 4 (_ #<store-connection 256.99 7f9c96dd3fa0> ("/gnu/store/1sgfhskm97q3zd47p78cvc102dqq1cr6-guile-ssh-?" ?) ?)
1421:15 3 (loop #f)
733:11 2 (process-stderr #<store-connection 256.99 7f9c96dd3fa0> _)
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/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
failed to compute the derivation for Guix (version: "e32cc011bbe899fda432906776702f74fa6b1450"; system: "x86_64-linux";
host version: "eb34ff16cc9038880e87e1a58a93331fca37ad92"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
M
M
Maxime Devos wrote on 22 Apr 2022 19:34
775a77b654ad83100d8e77182f1a21ddacbb9fbe.camel@telenet.be
calcium via Bug reports for GNU Guix schreef op vr 22-04-2022 om 17:59
[+0200]:
Toggle quote (8 lines)
> ERROR:
>    1. &http-get-error:
>        uri: #<<uri> scheme: https userinfo: #f host: "bordeaux.guix.gnu.org" port: #f path: "/nar/lzip/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1" query: #f fragment: #f>
>        code: 404
>        reason: "Not Found"
>        headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 7 minute: 55 hour: 15 day: 22 month: 4 year: 2022 zone-offset: 0>) (content-type text/html) (content-length . 146) (connection keep-alive))
>    2. &message: "https://bordeaux.guix.gnu.org/nar/lzip/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1: HTTP download failed: 404 (\"Not Found\")"

Odd, the browser seems to find this (2022-04-22).

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYmLnQBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7o5+AQDLFE15nVRpJXiKnz6EUtkzV7is
R1SVZbqM8KKxVtkp+QEAv2ibk/bXqPs7f1I9omTh6DZ3W4JhSdxiTIWDnQychAQ=
=6sJv
-----END PGP SIGNATURE-----


C
C
Christopher Baines wrote on 22 Apr 2022 19:34
(name . calcium)(address . calcium@disroot.org)(address . 55066@debbugs.gnu.org)
87h76l5784.fsf@cbaines.net
calcium via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (7 lines)
> 14.2 MB will be downloaded:
> /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33
> /gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static
> /gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1
> substituting /gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1...
> Backtrace:

...

Toggle quote (11 lines)
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> ERROR:
> 1. &http-get-error:
> uri: #<<uri> scheme: https userinfo: #f host: "bordeaux.guix.gnu.org" port: #f path: "/nar/lzip/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1" query: #f fragment: #f>
> code: 404
> reason: "Not Found"
> headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 7 minute: 55 hour: 15 day: 22 month: 4 year: 2022 zone-offset: 0>) (content-type text/html) (content-length . 146) (connection keep-alive))
> 2. &message: "https://bordeaux.guix.gnu.org/nar/lzip/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1: HTTP download failed: 404 (\"Not Found\")"
> substitution of /gnu/store/jwwvdgb3bgvbvbrd7k7zx2ircxhhrvd8-git-minimal-2.35.1 failed
> guix build: error: corrupt input while restoring archive from #<closed: file 7f382aa89070>

I believe the short explanation for this is that I made a mistake when
changing the NGinx configuration for bordeaux.guix.gnu.org, which
prevented it from serving nar files for a few minutes earlier today.

The longer explanation is that this is the error I'd expect when guix
finds a narinfo for a store item it wants to substitute, but can't fetch
the nar. Maybe it's possible to handle that scenario more gracefully,
but generally it doesn't happen, it only happens when substitute servers
misbehave.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmJi7StfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcaHhAAncOpSYa+SXPN1wbqJPrvyML5xfAPCxys
8X2CP0M5JsSl6lzvwit+RDkqnMHsRZ6MmFAvFVByI3k8NBy9plVx9+Vmtk+VmdhO
8SY6nE/aEgeFc8qGLPCIzui2AXumQwZEM2oKdgiFIznhcCugPZIokSnOfhgcTl6a
KNOXswIBCFfDSXraCv9CIcdRperZWvzFRQ86CFERY5sSLCTrlP7zAM/e6i4oti91
RN1N2KkWRPuJ/Nmesk2AXd9kCZbsRiiWuvDbaVc21IgToW1TYtXDOko8sCgkI1IY
nYPvXlE/Q227pOefQqAK2191FgwRZVIUJChmFbsaXLe3xBa1tc+B1/2YEQmYfUqb
grNf5IziYqQwy33jqqas3yBHZdCHETZC5+QZOigK+QijgQwHuYQ4f8QjniH04sXP
1vexv2rTNUIfktKYhf4FLkxImGxAkUVA2Lx/B8T0mKiqcPdn6SNWCWC25Aa9j/Dh
kVgGNsrFqLyQXGsxOANolL3NIeyqNat6KYL/XHDsPhH/z8IxVgaZV2XgM0/xr+wv
l42AHl6Zf5ER+US+yHgFRcZN5fLiFbSXf5kR4BHFdgIBge2I9Cd8hyFugtON8TEi
O0KNB15IN1Wnhbi99SRB+WXBPw/RJ1dKaJiWykw05EMVeAkssrXIPtc6HricDKYN
vJvHNg34zuM=
=YLJK
-----END PGP SIGNATURE-----

M
M
Maxime Devos wrote on 4 May 2022 11:36
(address . 55066@debbugs.gnu.org)
ffff709bbe346c37831d5d2ee026a14a302aae1f.camel@telenet.be
Christopher Baines schreef op vr 22-04-2022 om 18:34 [+0100]:
Toggle quote (8 lines)
> The longer explanation is that this is the error I'd expect when guix
> finds a narinfo for a store item it wants to substitute, but can't
> fetch
> the nar. Maybe it's possible to handle that scenario more gracefully,
> but generally it doesn't happen, it only happens when substitute
> servers
> misbehave.

Can we at least print a better error message?
https://issues.guix.gnu.org/50238 should improve error messages from
"guix pull" (by using the same system as for "guix build" and the
like), albeit not perfectly (it still says ‘found a bug’).

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnJJLhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lBwAQCvrY40jFEdNxov/65EsnNMGmUa
ta3VEPEh+5+eHrhC0QD9GkB8xrpFeHZMGdEr/5etOMqE7AempXlHQTU+xKabKAI=
=g9Xt
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

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

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