all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Philip McGrath <philip@philipmcgrath.com>,
	 Ada Stevenson <adanskana@gmail.com>,
	 Lars Bilke <lars.bilke@ufz.de>,  Guix Devel <guix-devel@gnu.org>
Subject: Re: Error handling when 'guix substitute' dies
Date: Wed, 10 Apr 2024 15:37:43 +0100	[thread overview]
Message-ID: <87a5m1b7wo.fsf@cbaines.net> (raw)
In-Reply-To: <87a5m1mis4.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 10 Apr 2024 15:47:23 +0200")

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

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Philip McGrath <philip@philipmcgrath.com> skribis:
>
>> I don't know if the root cause is related, but this reminded me of
>> some networking errors I sometimes get accessing substitutes. I had
>> the luck (good or bad?) to get an example while building
>> <https://issues.guix.gnu.org/70065>, so I thought I'd report.
>>
>>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>> ERROR:
>>>   1. &http-get-error:
>>>       uri: #<<uri> scheme: https userinfo: #f host: "bordeaux-us-east-mirror.cbaines.net" port: #f path: "/nar/lzip/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz" query: #f fragment: #f>
>>>       code: 404
>>>       reason: "Not Found"
>>>       headers: ((server . "nginx") (date . #<date nanosecond: 0 second: 9 minute: 20 hour: 6 day: 1 month: 4 year: 2024 zone-offset: 0>) (content-type application/json (charset . "utf-8")) (content-length . 35) (connection keep-alive))
>>>   2. &message: "https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz: HTTP download failed: 404 (\"Not Found\")"
>>> substitution of /gnu/store/r8w68mhsvqlkvazncvfn36jcpvz404x6-chez-fmt-0.8.11.tar.gz failed
>>> guix build: error: corrupt input while restoring archive from #<closed: file 7f9f7deaad90>
>
> No, that’s another problem: bordeaux.guix would delete nars before their
> advertised TTL has expired.  See <https://issues.guix.gnu.org/63634#4>.
> Chris explained that this was solved recently I believe.

This only applied to zstd nars, whereas this is an lzip nar that was
apparently missing at the time.

Maybe this is/was some problem with the mirror.

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

  reply	other threads:[~2024-04-10 14:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17  6:18 Error handling when 'guix substitute' dies Ada Stevenson
2024-03-17 11:45 ` Ekaitz Zarraga
2024-03-24 11:15 ` Ludovic Courtès
2024-03-25 10:12   ` Ada Stevenson
2024-03-29 15:10     ` Ludovic Courtès
2024-04-02  4:13       ` Philip McGrath
2024-04-10 13:47         ` Ludovic Courtès
2024-04-10 14:37           ` Christopher Baines [this message]
2024-04-02  8:42       ` Lars Bilke
2024-04-02  8:45         ` Ada Stevenson
2024-04-10 13:49         ` Ludovic Courtès
2024-03-26  8:32   ` Lars Bilke
  -- strict thread matches above, loose matches on Subject: below --
2024-05-28  1:02 Richard Sent

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=87a5m1b7wo.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=adanskana@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=lars.bilke@ufz.de \
    --cc=ludo@gnu.org \
    --cc=philip@philipmcgrath.com \
    /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.