unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
@ 2022-04-22 15:59 calcium via Bug reports for GNU Guix
  2022-04-22 17:34 ` Christopher Baines
  2022-04-22 17:34 ` Maxime Devos
  0 siblings, 2 replies; 4+ messages in thread
From: calcium via Bug reports for GNU Guix @ 2022-04-22 15:59 UTC (permalink / raw)
  To: 55066

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@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@gnu.org>.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
  2022-04-22 15:59 bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation' calcium via Bug reports for GNU Guix
@ 2022-04-22 17:34 ` Christopher Baines
  2022-05-04  9:36   ` Maxime Devos
  2022-04-22 17:34 ` Maxime Devos
  1 sibling, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2022-04-22 17:34 UTC (permalink / raw)
  To: calcium; +Cc: 55066

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]


calcium via Bug reports for GNU Guix <bug-guix@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
  2022-04-22 15:59 bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation' calcium via Bug reports for GNU Guix
  2022-04-22 17:34 ` Christopher Baines
@ 2022-04-22 17:34 ` Maxime Devos
  1 sibling, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-04-22 17:34 UTC (permalink / raw)
  To: calcium, 55066

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation'
  2022-04-22 17:34 ` Christopher Baines
@ 2022-05-04  9:36   ` Maxime Devos
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-05-04  9:36 UTC (permalink / raw)
  To: Christopher Baines, calcium; +Cc: 55066

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-04 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 15:59 bug#55066: guix pull: error: You found a bug: the program '/gnu/store/mpfp9nrzifhp3r5s3bv05b8xal5aa44f-compute-guix-derivation' calcium via Bug reports for GNU Guix
2022-04-22 17:34 ` Christopher Baines
2022-05-04  9:36   ` Maxime Devos
2022-04-22 17:34 ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).