From: Simon Tournier <zimon.toutoune@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>, 63794@debbugs.gnu.org
Subject: bug#63794: Bad error reporting in case of 404 during downloading
Date: Tue, 30 May 2023 17:53:17 +0200 [thread overview]
Message-ID: <87fs7dstn6.fsf@gmail.com> (raw)
In-Reply-To: <f4b6f127-9461-c8f0-b6d8-baef96639394@telenet.be>
Hi,
I confirm a similar error building a commit on the top of 52fed8fbd7.
On mar., 30 mai 2023 at 00:05, Maxime Devos <maximedevos@telenet.be> wrote:
> guix-1.4.0-6.dc5430c 52.2MiB
> 811.7Mi guix-1.4.0-6.dc5430c 52.2MiB
> 1.46Gi guix-1.4.0-6.dc5430c 52.2MiB
> 1.70GiB/s 00:00 ▕▎ ▏ 1.7%Backtrace:
> In ice-9/boot-9.scm:
> 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
> 18 (apply-smob/0 #<thunk 7f044ad172a0>)
> 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) 7f044ad1cc80>)))
> In guix/ui.scm:
> 2300:7 15 (run-guix . _)
> 2263: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:
> 854:15 11 (_)
> 646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # …)
> In ice-9/boot-9.scm:
> 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/scripts/substitute.scm:
> 463:7 8 (download-nar #<<narinfo> path: "/gnu/store/arcljcj925…> …)
> In ice-9/boot-9.scm:
> 1747:15 7 (with-exception-handler #<procedure 7f0441fd6690 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/zstd/arcljcj925bcsavh66wdfd7ppln66g06-NetworkManager-1.42.6.tar.xz"
> query: #f fragment: #f>
> code: 404
> reason: "Not Found"
> headers: ((server . "nginx") (date . #<date nanosecond: 0 second:
> 34 minute: 50 hour: 20 day: 29 month: 5 year: 2023 zone-offset: 0>)
> (content-type text/plain (charset . "utf-8")) (content-length . 3)
> (connection keep-alive))
> 2. &message:
> "https://bordeaux.guix.gnu.org/nar/zstd/arcljcj925bcsavh66wdfd7ppln66g06-NetworkManager-1.42.6.tar.xz:
> HTTP-download mislukt: 404 (\"Not Found\")"
--8<---------------cut here---------------start------------->8---
substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz...
Backtrace:
16 (primitive-load "/gnu/store/jpcpva9gg7l337d0icn88pf76l4…")
In guix/ui.scm:
2263:7 15 (run-guix . _)
2226: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:
856:15 11 (_)
650:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # …)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
467:7 8 (download-nar #<<narinfo> path: "/gnu/store/26q8viimh3…> …)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7f69e92f8840 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/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz" query: #f fragment: #f>
code: 404
reason: "Not Found"
headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 16 minute: 34 hour: 15 day: 30 month: 5 year: 2023 zone-offset: 0>) (content-type text/plain (charset . "utf-8")) (content-length . 3) (connection keep-alive))
2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Found\")"
substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz failed
guix build: error: corrupt input while restoring archive from #<closed: file 7f9e12807e70>
--8<---------------cut here---------------end--------------->8---
Ok, let try to manually build webkitgkt:
--8<---------------cut here---------------start------------->8---
simon@pfiuh07$ ./pre-inst-env guix build webkitgtk
The following derivation will be built:
/gnu/store/gdvjm79zbi8nhdwgmk40n6k4rlmz2ndk-webkitgtk-2.40.1.drv
39,2 MB will be downloaded:
/gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz
substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz...
Backtrace:
16 (primitive-load "/gnu/store/jpcpva9gg7l337d0icn88pf76l4…")
In guix/ui.scm:
2263:7 15 (run-guix . _)
2226: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:
856:15 11 (_)
650:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # …)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
467:7 8 (download-nar #<<narinfo> path: "/gnu/store/26q8viimh3…> …)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7fb4c41a4660 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/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz" query: #f fragment: #f>
code: 404
reason: "Not Found"
headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 15 minute: 41 hour: 15 day: 30 month: 5 year: 2023 zone-offset: 0>) (content-type text/plain (charset . "utf-8")) (content-length . 3) (connection keep-alive))
2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Found\")"
substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz failed
guix build: error: some substitutes for the outputs of derivation `/gnu/store/crbrn417ksq4qjky3fw92z5902v3kn3s-webkitgtk-2.40.1.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
--8<---------------cut here---------------end--------------->8---
Ah, ok let apply the suggestion:
--8<---------------cut here---------------start------------->8---
simon@pfiuh07$ ./pre-inst-env guix build webkitgtk --fallback
The following derivation will be built:
/gnu/store/gdvjm79zbi8nhdwgmk40n6k4rlmz2ndk-webkitgtk-2.40.1.drv
39,2 MB will be downloaded:
/gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz
substituting /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz...
Backtrace:
16 (primitive-load "/gnu/store/jpcpva9gg7l337d0icn88pf76l4…")
In guix/ui.scm:
2263:7 15 (run-guix . _)
2226: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:
856:15 11 (_)
650:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # …)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
467:7 8 (download-nar #<<narinfo> path: "/gnu/store/26q8viimh3…> …)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7fe73c0e33c0 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/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz" query: #f fragment: #f>
code: 404
reason: "Not Found"
headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 16 minute: 42 hour: 15 day: 30 month: 5 year: 2023 zone-offset: 0>) (content-type text/plain (charset . "utf-8")) (content-length . 3) (connection keep-alive))
2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz: HTTP download failed: 404 (\"Not Found\")"
substitution of /gnu/store/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz failed
guix build: error: corrupt input while restoring archive from #<closed: file 7f12092efee0>
--8<---------------cut here---------------end--------------->8---
At the end, I need to do:
./pre-inst-env guix build webkitgtk -S --no-substitutes
but I do not necessary want to rebuild all.
Well, all in all, I agree with Maxime that the backtrace is ugly, the
message misleading and last that various options should be tried
automatically (for fixed-outputs).
Cheers,
simon
prev parent reply other threads:[~2023-05-30 16:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-29 22:05 bug#63794: Bad error reporting in case of 404 during downloading Maxime Devos
2023-05-30 6:27 ` bug#63794: N. Y.
2023-05-30 10:05 ` bug#63794: Christopher Baines
2023-05-31 9:02 ` bug#63794: Simon Tournier
2023-05-30 9:06 ` bug#63794: Bad error reporting in case of 404 during downloading Zain Jabbar
2023-05-30 13:13 ` Christopher Baines
2023-05-30 14:41 ` Maxime Devos
2023-06-08 20:50 ` Maxime Devos
[not found] ` <handler.63794.B.16853979367295.ack@debbugs.gnu.org>
2023-05-30 13:25 ` bug#63794: Acknowledgement (Bad error reporting in case of 404 during downloading) Maxime Devos
2023-05-30 13:29 ` Christopher Baines
2023-05-30 15:53 ` Simon Tournier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fs7dstn6.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=63794@debbugs.gnu.org \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.