Report forwarded
to bug-guix@gnu.org: bug#22745; Package guix.
(Sat, 20 Feb 2016 08:36:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Danny Milosavljevic <dannym@scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Sat, 20 Feb 2016 08:36:01 GMT) (full text, mbox, link).
From: Danny Milosavljevic <dannym@scratchpost.org>
To: bug-guix@gnu.org
Subject: guix http downloads don't resume
Date: Sat, 20 Feb 2016 09:34:45 +0100
Package: guix
By now, guix reconfigure has tried to download the same texlive binary from hydra at least 5 times to the same machine, unsuccessfully breaking after about 1 GB each, for a total of 5 GB, always starting from the beginning.
Would it be possible to just resume?
Additionally, it doesn't seem like it checks the Content-Length in order to find out whether the connection broke before the file was done. Why doesn't it?
The http-client seems to handle chunked encoding - so not sure whether it's a problem with hydra or with guix.
Information forwarded
to bug-guix@gnu.org: bug#22745; Package guix.
(Sat, 20 Feb 2016 08:45:01 GMT) (full text, mbox, link).
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 22745@debbugs.gnu.org
Subject: error messages
Date: Sat, 20 Feb 2016 09:44:42 +0100
----
Found valid signature for /gnu/store/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz
From http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz
Downloading 36wqhb...-texlive-20150523-texmf.tar.xz (1.76GiB installed)...
http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz 1.1MiB/s 13:24 | 893.9MiB transferred
bzip2: Data integrity error when decompressing.
http://Input file = (stdin), output file = (stdout)wfqg6n-texlive-20150523-texmf.tar.xz 1.1MiB/s 13:24 | 893.9MiB transferred
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
guix substitute: error: corrupt input while restoring '/gnu/store/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' from #{read pipe}#
killing process 3867g/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz 1.1MiB/s 13:24 | 893.9MiB transferred
guix system: error: build failed: some substitutes for the outputs of derivation `/gnu/store/83nkdyp9wl6zwflcm416xf1imppp7v9f-texlive-20150523-texmf.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
---
Also, downloading it by wget right afterwards, it works just fine, all 1.77 GB of it. Wtf?
Information forwarded
to bug-guix@gnu.org: bug#22745; Package guix.
(Fri, 25 Mar 2016 08:36:02 GMT) (full text, mbox, link).
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> By now, guix reconfigure has tried to download the same texlive binary from hydra at least 5 times to the same machine, unsuccessfully breaking after about 1 GB each, for a total of 5 GB, always starting from the beginning.
>
> Would it be possible to just resume?
There does not seem to be an easy way to achieve this.
> Additionally, it doesn't seem like it checks the Content-Length in order to find out whether the connection broke before the file was done. Why doesn't it?
For archives (the /nar/foo URLs), there is currently no ‘Content-Length’
header at all (this is because Hydra, the software, generates those
files on the fly; we should tweak nginx to add a ‘Content-Length’
header, but this seems to require an external nginx plugin.)
However, the {mirror.,}hydra.gnu.org use chunked encoding, indeed, which
allows the HTTP client to detect truncated transfers.
Ludo’.
Severity set to 'wishlist' from 'normal'
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Tue, 26 Apr 2016 09:56:01 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#22745; Package guix.
(Mon, 17 Dec 2018 09:26:02 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.