bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Ludovic Courtès skribis: > So it seems that bordeaux.guix did advertise zstd at some point (and > that narinfo is still in cache) but no longer does. Here’s a fix: https://issues.guix.gnu.org/63646 Ludo’.

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Hi, Ludovic Courtès skribis: > 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 #< path: "/gnu/store/dg0rm1mp9q…> …) > In

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Christopher Baines skribis: > Ludovic Courtès writes: [...] >> So it seems that bordeaux.guix did advertise zstd at some point (and >> that narinfo is still in cache) but no longer does. >> >> Chris, can you confirm? > > Yeah, this would have been a consequence of reducing the cache size [1].

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Christopher Baines skribis: > Ludovic Courtès writes: [...] >> BTW, ‘guix publish’ has provisions to not compress already-compressed >> files, as in the case above. We should really share code, Chris. > > I'm not sure if this is what you have in mind regarding code sharing, > but I'll use

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Christopher Baines
Ludovic Courtès writes: > Simon Tournier skribis: > >> 2. : > "https://bordeaux.guix.gnu.org/nar/zstd/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz: > HTTP download failed: 404 (\"Not Found\")" > > Look: > > $ wget -qO- >

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Christopher Baines
Ludovic Courtès writes: > So it seems ‘guix substitute’ picked /nar/zstd, even though > bordeaux.guix is not advertising that. > > Or is it? > > $ sudo cat > /var/guix/substitute/cache/kzwjeblndsbkjzmjailrt4bnhguil7tqjmewzcyw22hgajbhfy3q/apw1y9nf8rqgxvjnlr1isbhpd502bcs5 > (narinfo (version 2)

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Simon Tournier skribis: > 2. : > "https://bordeaux.guix.gnu.org/nar/zstd/sx6sr6cs1x8sf5jhgb65rcr1yxk1q75x-rust-base64-0.13.1.tar.xz: > HTTP download failed: 404 (\"Not Found\")" Look: --8<---cut here---start->8--- $ wget -qO-

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
I experienced it a second time and have more info: --8<---cut here---start->8--- substituting /gnu/store/apw1y9nf8rqgxvjnlr1isbhpd502bcs5-gcc-cross-aarch64-linux-gnu-11.3.0... Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Simon Tournier
Hi, On lun., 22 mai 2023 at 00:12, Ludovic Courtès wrote: > This might be related to 8bd4126917f59f4af9a4323c3d5699201862dca2. The > two ‘download-nar’ calls are guarded against ‘http-get-error?’ though. Well, I am currently hitting something very similar. --8<---cut

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-22 Thread Ludovic Courtès
Ludovic Courtès skribis: > 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

bug#63634: nar 404 leads to hard ‘guix substitute’ crash

2023-05-21 Thread Ludovic Courtès
Like this: --8<---cut here---start->8--- gst-plugins-bad-minimal-1.22.2 650KiB 6.8MiB/s 00:00 ▕██▏ 100.0% guile-bytestructures-1.0.10 222KiB4.1MiB/s 00:00 ▕██▏ 100.0% Backtrace: In