GNU bug report logs - #63794
Bad error reporting in case of 404 during downloading

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Mon, 29 May 2023 22:06:01 UTC

Severity: normal

To reply to this bug, email your comments to 63794 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#63794; Package guix. (Mon, 29 May 2023 22:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 29 May 2023 22:06:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Bad error reporting in case of 404 during downloading
Date: Tue, 30 May 2023 00:05:26 +0200
[Message part 1 (text/plain, inline)]
$ guix system build /etc/config.scm:

 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\")"
aan het downloaden van 
https://ci.guix.gnu.org/nar/lzip/ljajixj3z0pc98lvk4rfr7lydq4mwa16-docbook-xsl-1.79.2-0.fe16c90...

aan het downloaden van 
https://ci.guix.gnu.org/nar/lzip/dr0vdsfch0s2fan6p3kbyalskm8ldk8c-font-abattis-cantarell-0.303-0.e049149-checkout...

substitutie van 
/gnu/store/0bcdfksisqi22p517bf4w44vqlhw4844-alsa-plugins-1.2.2 is klaar
substitutie van 
/gnu/store/ljajixj3z0pc98lvk4rfr7lydq4mwa16-docbook-xsl-1.79.2-0.fe16c90 
is klaar
substitutie van 
/gnu/store/dr0vdsfch0s2fan6p3kbyalskm8ldk8c-font-abattis-cantarell-0.303-0.e049149-checkout 
is klaar
/gnu/store/3y39m6g4ih2l509sygfh21yfpqifaqrp-Blocks.txt vervangen...
/gnu/store/k9yg4n9bhak88xir65j1qd2g8pj4aclc-DerivedAge.txt vervangen...
/gnu/store/068pjh717wzgdai95j7mn98accs1zi7q-LVM2.2.03.11.tar.xz vervangen...
vervanging van 
/gnu/store/arcljcj925bcsavh66wdfd7ppln66g06-NetworkManager-1.42.6.tar.xz 
mislukt
guix system: fout: beschadigde invoer tijdens het terugplaatsen van het 
archief uit #<closed: file 7f8ffe7977e0>

Problems:
  * The server not having a file is not an exceptional situation;
    it should just skip this server or just report that there
    is no available location for this resource instead of
    a backtrace.

  * It claims ‘corrupt input while restoring ...’, but it isn't
    corrupt -- non-existence is not a form of corruption.

  * ‘1.46Gi’ should be ‘1.46GiB’ or ‘1.46GiB/s’ -- Gi is just a prefix,
    it's missing a unit.

In case it matters, I have

          (build-accounts 40)
          (extra-options '("--gc-keep-derivations" "--gc-keep-outputs" 
"--max-jobs=14"))

in the system configuration.

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 07:40:02 GMT) Full text and rfc822 format available.

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

From: "N. Y." <ningyuan.sg <at> gmail.com>
To: 63794 <at> debbugs.gnu.org
Date: Tue, 30 May 2023 06:27:47 +0000
[Message part 1 (text/plain, inline)]
Are there any workarounds, for an inexperienced user who does not know much
about guix? I am getting 404's for

-
https://bordeaux.guix.gnu.org/nar/zstd/arnx6fnjq85wscmr894d64cj3529r3h1-wxPython-4.2.0.tar.xz
-
https://bordeaux.guix.gnu.org/nar/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz

After a recent guix pull to 3807876 of
https://git.savannah.gnu.org/git/guix.git
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 09:08:01 GMT) Full text and rfc822 format available.

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

From: Zain Jabbar <zaijab2000 <at> gmail.com>
To: 63794 <at> debbugs.gnu.org
Subject: Bad error reporting in case of 404 during downloading
Date: Mon, 29 May 2023 23:06:06 -1000
[Message part 1 (text/plain, inline)]
N.Y.,

You may want to use the `--no-substitutes' option. Let us know how that works for you.

-- 
Mahalo
[Message part 2 (text/html, inline)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 10:06:01 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: "N. Y." <ningyuan.sg <at> gmail.com>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794:
Date: Tue, 30 May 2023 11:05:00 +0100
[Message part 1 (text/plain, inline)]
"N. Y." <ningyuan.sg <at> gmail.com> writes:

> Are there any workarounds, for an inexperienced user who does not know much about guix? I am getting 404's for
>
> - https://bordeaux.guix.gnu.org/nar/zstd/arnx6fnjq85wscmr894d64cj3529r3h1-wxPython-4.2.0.tar.xz
> - https://bordeaux.guix.gnu.org/nar/zstd/26q8viimh3r73549drqigvz07kl9v6pr-webkitgtk-2.40.1.tar.xz
>
> After a recent guix pull to 3807876 of https://git.savannah.gnu.org/git/guix.git

Yep, clearing the guix-daemon's substitute cache should workaround these
issues.

On my system, that can be done by running:

  sudo rm -r /var/guix/substitute/cache/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 13:15:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794: Bad error reporting in case of 404 during downloading
Date: Tue, 30 May 2023 14:13:42 +0100
[Message part 1 (text/plain, inline)]
Maxime Devos <maximedevos <at> telenet.be> writes:

> Problems:
>   * The server not having a file is not an exceptional situation;
>     it should just skip this server or just report that there
>     is no available location for this resource instead of
>     a backtrace.
>
>   * It claims ‘corrupt input while restoring ...’, but it isn't
>     corrupt -- non-existence is not a form of corruption.
>
>   * ‘1.46Gi’ should be ‘1.46GiB’ or ‘1.46GiB/s’ -- Gi is just a prefix,
>     it's missing a unit.

I think the key bits here might be a duplicate of #63634
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 13:26:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 63794 <at> debbugs.gnu.org, Christopher Baines <mail <at> cbaines.net>
Subject: Re: bug#63794: Acknowledgement (Bad error reporting in case of 404
 during downloading)
Date: Tue, 30 May 2023 15:25:10 +0200
[Message part 1 (text/plain, inline)]
From: Christopher Baines
> I think the key bits here might be a duplicate of #63634

Looks like I need to upgrade my Guix system to fix substitution ... but 
"guix system build" is currently failing, which needs [cycle!].

This time when doing "guix system build" I have a new error:

[...]
/gnu/store/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3 
vervangen...
aan het downloaden van 
https://ci.guix.gnu.org/nar/lzip/l0xjgpcglms6ragxdpmjpkln7k4hjhd3-guix-1.4.0-6.dc5430c...
 guix-1.4.0-6.dc5430c  44.3MiB 
   4.7MiB/s 00:04 ▕████████▏         ▏  45.5%guix substitute: 
waarschuwing: tijdens het binnenhalen van 
https://ci.guix.gnu.org/nar/lzip/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0: 
de server is een beetje traag
guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het 
probleem hardnekkig is
retrying download of 
'/gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0' with other 
substitute URLs...
[...]
retrying download of 
'/gnu/store/s94ng28j332my12r3qwvndk4w8kg7awx-openbios-qemu-ppc-1.1-1.af97fd7' 
with other substitute URLs...
guix substitute: waarschuwing: tijdens het binnenhalen van 
https://ci.guix.gnu.org/nar/lzip/crsnsry2c0q55vi58g53qh2fr9ndb9qn-module-import-compiled: 
de server is een beetje traag
guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het 
probleem hardnekkig is
guix substitute: waarschuwing: tijdens het binnenhalen van 
https://ci.guix.gnu.org/nar/lzip/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3: 
de server is een beetje traag
guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het 
probleem hardnekkig is
retrying download of 
'/gnu/store/crsnsry2c0q55vi58g53qh2fr9ndb9qn-module-import-compiled' 
with other substitute URLs...
retrying download of 
'/gnu/store/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3' with 
other substitute URLs...
 guix-1.4.0-6.dc5430c  44.3MiB 
   3.1MiB/s 00:09 ▕███████████▊      ▏  65.6%guix substitute: 
waarschuwing: tijdens het binnenhalen van 
https://ci.guix.gnu.org/nar/lzip/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0: 
de server is een beetje traag
guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het 
probleem hardnekkig is
guix substitute: fout: failed to find alternative substitute for 
'/gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0'
vervanging van /gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0 
mislukt
guix system: fout: beschadigde invoer tijdens het terugplaatsen van het 
archief uit #<closed: file 7fdab54d1700>

I haven't seen this ‘failed to alternative substitute for [...]’ before 
and it seems unrelated to #63634. There is also bad error reporting 
here: failing to find a substitute is not a form of ‘corrupted/damaged 
input’.

I'll do the usual tricks (*) to work-around for now, to get the fix in 
#63634 even though it doesn't fix everything.

(*): while :; do guix system build /etc/config.scm -M1; done

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 13:31:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794: Acknowledgement (Bad error reporting in case of 404
 during downloading)
Date: Tue, 30 May 2023 14:29:03 +0100
[Message part 1 (text/plain, inline)]
Maxime Devos <maximedevos <at> telenet.be> writes:

> From: Christopher Baines
>> I think the key bits here might be a duplicate of #63634
>
> Looks like I need to upgrade my Guix system to fix substitution
> ... but "guix system build" is currently failing, which needs
> [cycle!].
>
> This time when doing "guix system build" I have a new error:
>
> [...]
> /gnu/store/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3
> vervangen...
> aan het downloaden van
> https://ci.guix.gnu.org/nar/lzip/l0xjgpcglms6ragxdpmjpkln7k4hjhd3-guix-1.4.0-6.dc5430c...
>  guix-1.4.0-6.dc5430c  44.3MiB     4.7MiB/s 00:04 ▕████████▏         ▏
>  45.5%guix substitute: waarschuwing: tijdens het binnenhalen van
>  https://ci.guix.gnu.org/nar/lzip/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0:
>  de server is een beetje traag
> guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het
> probleem hardnekkig is
> retrying download of
> '/gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0' with other
> substitute URLs...
> [...]
> retrying download of
> '/gnu/store/s94ng28j332my12r3qwvndk4w8kg7awx-openbios-qemu-ppc-1.1-1.af97fd7'
> with other substitute URLs...
> guix substitute: waarschuwing: tijdens het binnenhalen van
> https://ci.guix.gnu.org/nar/lzip/crsnsry2c0q55vi58g53qh2fr9ndb9qn-module-import-compiled:
> de server is een beetje traag
> guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het
> probleem hardnekkig is
> guix substitute: waarschuwing: tijdens het binnenhalen van
> https://ci.guix.gnu.org/nar/lzip/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3:
> de server is een beetje traag
> guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het
> probleem hardnekkig is
> retrying download of
> '/gnu/store/crsnsry2c0q55vi58g53qh2fr9ndb9qn-module-import-compiled'
> with other substitute URLs...
> retrying download of
> '/gnu/store/qsb7s87y575f42zf79hyjih6adsdwpxb-python-fontmath-0.9.3'
> with other substitute URLs...
>  guix-1.4.0-6.dc5430c  44.3MiB     3.1MiB/s 00:09 ▕███████████▊      ▏
>  65.6%guix substitute: waarschuwing: tijdens het binnenhalen van
>  https://ci.guix.gnu.org/nar/lzip/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0:
>  de server is een beetje traag
> guix substitute: waarschuwing: probeer ‘--no-substitutes’ als het
> probleem hardnekkig is
> guix substitute: fout: failed to find alternative substitute for
> '/gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0'
> vervanging van
> /gnu/store/9y974g8k1rwv8bwxmshc4fl2dzm6cfij-upower-1.90.0 mislukt
> guix system: fout: beschadigde invoer tijdens het terugplaatsen van
> het archief uit #<closed: file 7fdab54d1700>
>
> I haven't seen this ‘failed to alternative substitute for [...]’
> before and it seems unrelated to #63634. There is also bad error
> reporting here: failing to find a substitute is not a form of
> ‘corrupted/damaged input’.
>
> I'll do the usual tricks (*) to work-around for now, to get the fix in
> #63634 even though it doesn't fix everything.
>
> (*): while :; do guix system build /etc/config.scm -M1; done

The one workaround I'd suggest is cleaning the guix-daemon's substitute
cache (/var/guix/substitute/cache). That alone should be sufficient to
work around any missing zstd nars.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 14:42:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794: Bad error reporting in case of 404 during downloading
Date: Tue, 30 May 2023 16:41:55 +0200
[Message part 1 (text/plain, inline)]
I can't upgrade yet, because no substitute of webkitgtk is available:

The following derivations would be built:
  [...]
  /gnu/store/gdvjm79zbi8nhdwgmk40n6k4rlmz2ndk-webkitgtk-2.40.1.drv
  [...]

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Tue, 30 May 2023 16:23:03 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>, 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794: Bad error reporting in case of 404 during downloading
Date: Tue, 30 May 2023 17:53:17 +0200
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 <at> 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 <at> 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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Wed, 31 May 2023 10:34:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Christopher Baines <mail <at> cbaines.net>, "N. Y." <ningyuan.sg <at> gmail.com>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794:
Date: Wed, 31 May 2023 11:02:15 +0200
Hi Chris,

On Tue, 30 May 2023 at 11:05, Christopher Baines <mail <at> cbaines.net> wrote:

> Yep, clearing the guix-daemon's substitute cache should workaround these
> issues.

I think this report is about two issues:

 1. the substitute error,
 2. the way the error is reported.

About #1, clearing the cache seems fixing.

About #2, an error about the substitutes server should not trigger “hard
to parse” backtrace or misleading hint, IMHO.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#63794; Package guix. (Thu, 08 Jun 2023 20:51:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Baines <mail <at> cbaines.net>,
 Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 63794 <at> debbugs.gnu.org
Subject: Re: bug#63794: Bad error reporting in case of 404 during downloading
Date: Thu, 8 Jun 2023 22:50:14 +0200
[Message part 1 (text/plain, inline)]
I think I saw it again after upgrading but I might have misremembered.

> I think this report is about two issues:
>
> 1. the substitute error,
> 2. the way the error is reported.
>
> About #1, clearing the cache seems fixing.

IMO this manual action of having to clear the cache (in a new Guix) to 
work-around remainders of a bug in old guix should be unnecessary.

I consider having to do this a bug.

Also, I keep not receiving e-mails in my e-mail client.

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 321 days ago.

Previous Next


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