[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error handling when 'guix substitute' dies
From: |
Christopher Baines |
Subject: |
Re: Error handling when 'guix substitute' dies |
Date: |
Wed, 10 Apr 2024 15:37:43 +0100 |
User-agent: |
mu4e 1.12.2; emacs 29.3 |
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.
signature.asc
Description: PGP signature