GNU bug report logs - #30184
guix publish issue: guix substitute: error: corrupt input while restoring

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sat, 20 Jan 2018 12:08:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30184 in the body.
You can then email your comments to 30184 AT debbugs.gnu.org in the normal way.

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#30184; Package guix. (Sat, 20 Jan 2018 12:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 20 Jan 2018 12:08:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: guix publish issue: guix substitute: error: corrupt input while
 restoring
Date: Sat, 20 Jan 2018 12:07:41 +0000
[Message part 1 (text/plain, inline)]
Hey,

I think something may have broken recently with the guix publish
service. I run this on a server with very basic configuration, just
setting the host, but I noticed recently that there were problems using
the service. The following example is guix failing to download something
from that server.

Downloading http://beid.cbaines.net/nar/gzip/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3...
 wxwidgets-3.0.3                                                       256KiB/s 00:00 | 16KiB transferred
gzip: stdin: not in gzip format
guix substitute: error: corrupt input while restoring '/gnu/store/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3' from #{read pipe}#
 wxwidgets-3.0.3                                                       316KiB/s 00:00 | 48KiB transferredguix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/7f0zr1zgp6q1nyrsxf88qn003gr1w53b-wxwidgets-3.0.3.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source

I reverted the 4 recent changes [1], changed the service configuration
to use (guix (current-guix)) and now it seems to be working again.

I've had a look through the changes, I couldn't spot anything, but I
think there could be a regression in these changes [1].

Thanks,

Chris


1: f396611776e7ed6f1a070569a338ad56461b099e
   152b7beeacb72fe96fd5d3c0fd8b321e247c2c6c
   c04ffadbed7412545555b8be6b78f23eed150d26
   297e04d66010ada31a40f40143d81bf6b62affcc
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30184; Package guix. (Sat, 20 Jan 2018 19:19:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 30184 <at> debbugs.gnu.org
Subject: Re: bug#30184: guix publish issue: guix substitute: error: corrupt
 input while restoring
Date: Sat, 20 Jan 2018 21:18:12 +0200
[Message part 1 (text/plain, inline)]
On Sat, Jan 20, 2018 at 12:07:41PM +0000, Christopher Baines wrote:
> Hey,
> 
> I think something may have broken recently with the guix publish
> service. I run this on a server with very basic configuration, just
> setting the host, but I noticed recently that there were problems using
> the service. The following example is guix failing to download something
> from that server.
> 
> Downloading http://beid.cbaines.net/nar/gzip/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3...
>  wxwidgets-3.0.3                                                       256KiB/s 00:00 | 16KiB transferred
> gzip: stdin: not in gzip format
> guix substitute: error: corrupt input while restoring '/gnu/store/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3' from #{read pipe}#
>  wxwidgets-3.0.3                                                       316KiB/s 00:00 | 48KiB transferredguix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/7f0zr1zgp6q1nyrsxf88qn003gr1w53b-wxwidgets-3.0.3.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
> 
> I reverted the 4 recent changes [1], changed the service configuration
> to use (guix (current-guix)) and now it seems to be working again.
> 
> I've had a look through the changes, I couldn't spot anything, but I
> think there could be a regression in these changes [1].
> 
> Thanks,
> 
> Chris
> 
> 
> 1: f396611776e7ed6f1a070569a338ad56461b099e
>    152b7beeacb72fe96fd5d3c0fd8b321e247c2c6c
>    c04ffadbed7412545555b8be6b78f23eed150d26
>    297e04d66010ada31a40f40143d81bf6b62affcc

I'm also coming up against this with my aarch64 machines. The guix
version is the same on both of them, both machines are running
guix-publish with guix-0.14.0-6.0dcf675.
efraim <at> odroidc2:~$ guix --version
guix (GNU Guix) 0.14.0.1000-3b1ad

I checked the logs for guix-publish but all I have are entries like:
Jan 20 21:16:09 firefly guix[406]: GET /nar/gzip/h4s5s9zlbph0r27x4plfmh89r67s4mdq-dosfstools-4.1

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30184; Package guix. (Sun, 21 Jan 2018 17:51:02 GMT) Full text and rfc822 format available.

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

From: Clément Lassieur <clement <at> lassieur.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 30184 <at> debbugs.gnu.org
Subject: Re: bug#30184: guix publish issue: guix substitute: error: corrupt
 input while restoring
Date: Sun, 21 Jan 2018 18:50:43 +0100
Christopher Baines <mail <at> cbaines.net> writes:

> Hey,
>
> I think something may have broken recently with the guix publish
> service. I run this on a server with very basic configuration, just
> setting the host, but I noticed recently that there were problems using
> the service. The following example is guix failing to download something
> from that server.
>
> Downloading http://beid.cbaines.net/nar/gzip/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3...
>  wxwidgets-3.0.3                                                       256KiB/s 00:00 | 16KiB transferred
> gzip: stdin: not in gzip format
> guix substitute: error: corrupt input while restoring '/gnu/store/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3' from #{read pipe}#
>  wxwidgets-3.0.3                                                       316KiB/s 00:00 | 48KiB transferredguix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/7f0zr1zgp6q1nyrsxf88qn003gr1w53b-wxwidgets-3.0.3.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
>
> I reverted the 4 recent changes [1], changed the service configuration
> to use (guix (current-guix)) and now it seems to be working again.

I have the same issue.  Thank you for the workaround, it was very
helpful.

> I've had a look through the changes, I couldn't spot anything, but I
> think there could be a regression in these changes [1].
>
> Thanks,
>
> Chris
>
>
> 1: f396611776e7ed6f1a070569a338ad56461b099e
>    152b7beeacb72fe96fd5d3c0fd8b321e247c2c6c
>    c04ffadbed7412545555b8be6b78f23eed150d26
>    297e04d66010ada31a40f40143d81bf6b62affcc





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 22 Jan 2018 10:18:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Mon, 22 Jan 2018 10:18:02 GMT) Full text and rfc822 format available.

Message #16 received at 30184-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Baines <mail <at> cbaines.net>
Cc: 30184-done <at> debbugs.gnu.org
Subject: Re: bug#30184: guix publish issue: guix substitute: error: corrupt
 input while restoring
Date: Mon, 22 Jan 2018 11:17:30 +0100
Hello!

Christopher Baines <mail <at> cbaines.net> skribis:

> I think something may have broken recently with the guix publish
> service. I run this on a server with very basic configuration, just
> setting the host, but I noticed recently that there were problems using
> the service. The following example is guix failing to download something
> from that server.
>
> Downloading http://beid.cbaines.net/nar/gzip/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3...
>  wxwidgets-3.0.3                                                       256KiB/s 00:00 | 16KiB transferred
> gzip: stdin: not in gzip format

This is fixed in 33988f9b5876e4b44cabe1997a91eb604931c1ca.

I’ll update the ‘guix’ snapshot for those who use the ‘guix-publish’
service on GuixSD.

Thank you!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#30184; Package guix. (Mon, 22 Jan 2018 19:06:01 GMT) Full text and rfc822 format available.

Message #19 received at 30184-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 30184-done <at> debbugs.gnu.org
Subject: Re: bug#30184: guix publish issue: guix substitute: error: corrupt
 input while restoring
Date: Mon, 22 Jan 2018 19:05:20 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

>> I think something may have broken recently with the guix publish
>> service. I run this on a server with very basic configuration, just
>> setting the host, but I noticed recently that there were problems using
>> the service. The following example is guix failing to download something
>> from that server.
>>
>> Downloading http://beid.cbaines.net/nar/gzip/pwg84wqsniamc4vx9c7p06284i5rxiay-wxwidgets-3.0.3...
>>  wxwidgets-3.0.3                                                       256KiB/s 00:00 | 16KiB transferred
>> gzip: stdin: not in gzip format
>
> This is fixed in 33988f9b5876e4b44cabe1997a91eb604931c1ca.
>
> I’ll update the ‘guix’ snapshot for those who use the ‘guix-publish’
> service on GuixSD.

Awesome, thanks Ludo :)
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Feb 2018 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 38 days ago.

Previous Next


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