guix publish issue: guix substitute: error: corrupt input while restoring

  • Done
  • quality assurance status badge
Details
4 participants
  • Clément Lassieur
  • Efraim Flashner
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal

Debbugs page

Christopher Baines wrote 7 years ago
(address . bug-guix@gnu.org)
874lngzqb6.fsf@cbaines.net
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.

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
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlpjMQ1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9XerNBAAgRE1bMpKR3M5SgchbwHbo26yh27VrP7XFH9bgeHpCRJoX1fo/uZYvIiH
XgaWS6XaQxWKP5op9iLGpYcN+Fb027BnG6+VEhODF8LG3UC2pUGs37ECn3KyYpSZ
2Ux2y62cybujD0Pq6hwLX+Q1KiU1cu3OQLVCrRPxA74uaBDU/goCb2BeelYj4zL2
BCPTbRBqzNm1dWZizulTg2f02vkojwmK5jsotD9Gpavn3JTj2p7zpcoS/4BNsrK6
MFcFFbD+waMb21v0XgNTivBzDXMOboncBuRqNr546lt56+kZl1hXzndFzGJdv8kt
EWzcGiK/3dIcBFyJBUA17E6GRRiXEOWp1rPrZs/xi7P+gLg0kQrTrTMvAT81RhSg
IjB3DLCtP3ffkNEKZD05i/YEzJgjSi0zOYRusmqPq936kD/uLdBkHzZIq04T8J1j
6en/QiHMH+B4Qng6S1AAKM7mDjqJbCRuOeU/l0iIhJXCqFQdNlk2OmfIAd2mmogq
bjwK1YVAUX3O0c33lAQ7DzOc1uvUSrkT/DJ3c47XO9mhiazq9DdTxkD3BX3u+vCB
Try45n5geO/iEdzCmFxwUuzv8FlgZxngXXCn+a79xJFlqMxk45n1s04RrSvtUszV
55NCM85M6iRucDurx/aQc5ufCJ38hBvnunuciqawXgbh/5gMMGQ=
=06hw
-----END PGP SIGNATURE-----

Efraim Flashner wrote 7 years ago
(address . 30184@debbugs.gnu.org)
20180120191812.GB1054@macbook41
On Sat, Jan 20, 2018 at 12:07:41PM +0000, Christopher Baines wrote:
Toggle quote (30 lines)
> 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@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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlpjlfEACgkQQarn3Mo9
g1F+ohAAt/B6N0BJmTOVVc5rX5r9koLenhlbv/7hxnWnLk1giY7HZOAKC3QYVYhz
uOi1Sa+xlZqvsJDJBu/D2xxQrMNjjNQwJWVnvSzC8HCb99qM2lu5A4SFznvJlrIn
DQxsnk77mDr3/kvEZmacTSFZFuzzxTK6bbxvInw9M18qHJaVUru2x8UaaPhaJQZL
Pbuo8ax5p3jmkDJ6hFsrGKfmE2USIj4eT0azmjg5cp7f+UqGh+lwV5sU0y+lMGGL
6edldMPayPf869XWdcBUySCfleuIXq3ZaTQDUuIWMa0wlbRaGAuu8yAxqYK/h0Pb
CIpqZOwA/U497plOgRIKSrUBKS+mdf/rblMC8frdZjGTawj5UxVp5CK4VRUhrrII
uyT5msCB+XeUn7a0El5Ak6DDFwqTigFxZwnzkYT0TlKeoueJjljKQZBEGgJl7N/s
FLwmPBsVLvLxRyNmDQawbyRJQ5fG9akr1TiHPeMVytzvl67Tfzi1Mdn8GjO+Wy6l
4Z7H/d9VjCmsRiyvERAoW4DmRYkT3/BS0TrWYfA2n3GWGPQmmGZd9NtIBu57y+kR
TRMe5YZ2w7rFMwRDvrYKq4ph7yluc7w3nDgmUv5lYMjA3nxf/RKs3pN3Siy2P09Y
VfemTO43RuGb+7RJfb9rtz2hyA9YIzXjhSap0ZjCODZ4sDymPp4=
=r4wI
-----END PGP SIGNATURE-----


Clément Lassieur wrote 7 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 30184@debbugs.gnu.org)
87607vdrt8.fsf@lassieur.org
Christopher Baines <mail@cbaines.net> writes:

Toggle quote (17 lines)
> 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.

Toggle quote (12 lines)
> 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
Ludovic Courtès wrote 7 years ago
(name . Christopher Baines)(address . mail@cbaines.net)(address . 30184-done@debbugs.gnu.org)
87vafup58l.fsf@gnu.org
Hello!

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (10 lines)
> 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’.
Closed
Christopher Baines wrote 7 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 30184-done@debbugs.gnu.org)
87fu6xvhn3.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (15 lines)
>> 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 :)
-----BEGIN PGP SIGNATURE-----

iQKSBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlpmNfBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9Xci0g/45zI/CiZxvSIFCS0va7DCwVdtOQlQoYS3mOAwGW/09kbR2VnV/+m1OuzX
VC5aYbMtJOOpoLlSvBO2g+r3lIsEBQZSG5jkj42yNV1iIzPQpS0EZSlBpev17hNE
vzG/R3+ajqDU/nuAL5bIke3rrNF/mrmz/0HPKUUmRQnxD6P/Qtmf91A2s+XbZL7b
3fW7x+gIVko2Gy+UZF8LQRFIiyBXw/nAgLbr78f2gvv/7+DWnflcLlcuSnbc6JxZ
p+znkdWCaFPB7ls98aNXDaksqXPIc6+nwbREdAVHzxZDDdkmF5Njut0RJCX9Deun
uWnTAKkUlbIgkgJRegHZWb0cFvMpsN+1NPplIv4vNnZQcis20ZikEaaPJVpyQXyV
p4c78JG0c7RvVrIpwVmbC2pgHKj/ZwjfR9nO6ZqQCBflFgZHKjMqd6Gjn5KUcWFt
D5DSaVqm2W5KXDmXYtKNNniJxGOJeMKnV32vugaf9BEsHYoSb/HXRVCB9wGEY6Ez
s5k0dxcZdvjg88veEdFm4vRklatzsq7P2+PXhbf0Mx5KwWl8wDVr0WmlnYy/JkJI
ch+clsgT33/tV4Rwp+5ZpvllQPQr8JAxnVfXvX+i4FRlDUdqY/DKSTmmX+R7iUm5
7C3S39Ht1OmS8+CiCtmtTlqYycYUx1Vpb49xlX8JfVKaIQKGXQ==
=Kmj0
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 30184@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 30184
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help