GNU bug report logs - #55066
guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'

Previous Next

Package: guix;

Reported by: calcium <calcium <at> disroot.org>

Date: Fri, 22 Apr 2022 16:00:02 UTC

Severity: normal

To reply to this bug, email your comments to 55066 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#55066; Package guix. (Fri, 22 Apr 2022 16:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to calcium <calcium <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 22 Apr 2022 16:00:02 GMT) Full text and rfc822 format available.

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

From: calcium <calcium <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: guix pull: error: You found a bug: the program
 '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
Date: Fri, 22 Apr 2022 17:59:08 +0200
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))
  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>
irrenwirr <at> 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:
  guix      https://git.savannah.gnu.org/git/guix.git	e32cc01
  nonguix   https://gitlab.com/nonguix/nonguix	de24912
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 <at> gnu.org>.




Information forwarded to bug-guix <at> gnu.org:
bug#55066; Package guix. (Fri, 22 Apr 2022 17:36:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: calcium <calcium <at> disroot.org>, 55066 <at> debbugs.gnu.org
Subject: Re: bug#55066: guix pull: error: You found a bug: the program
 '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
Date: Fri, 22 Apr 2022 19:34:56 +0200
[Message part 1 (text/plain, inline)]
calcium via Bug reports for GNU Guix schreef op vr 22-04-2022 om 17:59
[+0200]:
> 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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#55066; Package guix. (Fri, 22 Apr 2022 18:01:01 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: calcium <calcium <at> disroot.org>
Cc: 55066 <at> debbugs.gnu.org
Subject: Re: bug#55066: guix pull: error: You found a bug: the program
 '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
Date: Fri, 22 Apr 2022 18:34:36 +0100
[Message part 1 (text/plain, inline)]
calcium via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> 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:

...

> 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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#55066; Package guix. (Wed, 04 May 2022 09:37:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Baines <mail <at> cbaines.net>, calcium <calcium <at> disroot.org>
Cc: 55066 <at> debbugs.gnu.org
Subject: Re: bug#55066: guix pull: error: You found a bug: the program
 '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
Date: Wed, 04 May 2022 11:36:46 +0200
[Message part 1 (text/plain, inline)]
Christopher Baines schreef op vr 22-04-2022 om 18:34 [+0100]:
> 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.
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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