bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Richard Sent
Owner
unassigned
Submitted by
Richard Sent
Severity
normal
R
R
Richard Sent wrote on 26 May 21:01 +0200
(address . bug-guix@gnu.org)
87sey4s8gs.fsf@freakingpenguin.com
Hi Guix!

The nar for
/gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
on Bordeaux seems to have been corrupted by some mechanism. The URL in
question is

Toggle quote (2 lines)
> URL: nar/none/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz

From comments by cbaines on an earlier issue [1] that had misdiagnosed
the problem:

Toggle quote (10 lines)
> Yeah, something's up here specifically with the bordeaux build farm,
> feel free to open a new issue.
>
> You can tell something is wrong just by looking at the narinfo:
>
> https://bordeaux.guix.gnu.org/y813phs2n9xnb7zbcr07g0j9509bzbsb.narinfo
>
> Given there's no compression here, the file size should be the same as
> the nar size, but it's not, it's missing a few bytes.

For reference:

Toggle quote (4 lines)
> NarSize: 143081664
> Compression: none
> FileSize: 143081472

On a related note, whatever issue is going on here seems to cause [2].
The actual issues are distinct.

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
R
R
Richard Sent wrote on 10 Jun 14:54 +0200
(name . Christopher Baines)(address . mail@cbaines.net)(address . 71214-done@debbugs.gnu.org)
87cyopufez.fsf@freakingpenguin.com
Christopher Baines <mail@cbaines.net> writes:

Toggle quote (2 lines)
> I've investigated this now

Thanks for looking into this!

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
Closed
C
C
Christopher Baines wrote on 10 Jun 14:36 +0200
(name . Richard Sent)(address . richard@freakingpenguin.com)(address . 71214-done@debbugs.gnu.org)
877cexc6uv.fsf@cbaines.net
Richard Sent <richard@freakingpenguin.com> writes:

Toggle quote (28 lines)
> Hi Guix!
>
> The nar for
> /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
> on Bordeaux seems to have been corrupted by some mechanism. The URL in
> question is
>
>> URL: nar/none/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz
>
> From comments by cbaines on an earlier issue [1] that had misdiagnosed
> the problem:
>
>> Yeah, something's up here specifically with the bordeaux build farm,
>> feel free to open a new issue.
>>
>> You can tell something is wrong just by looking at the narinfo:
>>
>> https://bordeaux.guix.gnu.org/y813phs2n9xnb7zbcr07g0j9509bzbsb.narinfo
>>
>> Given there's no compression here, the file size should be the same as
>> the nar size, but it's not, it's missing a few bytes.
>
> For reference:
>
>> NarSize: 143081664
>> Compression: none
>> FileSize: 143081472

I've investigated this now, the problem was introduced in [1] with the
new feature in the build coordinator to recompress nars in the publish
hook. The bordeaux build farm uses the default configuration, which is
to uncompress the lzip'ed nar if there don't seem to be an advantage to
using lzip.


Unfortunately the code for that didn't explicitly close the output port
when writing the uncompressed nars, which led to missing data off the
ends of the file. I've now fixed that [2], removed the affected nars and
submitted new builds to re-add them.


Thanks,

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZm80hfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XefKA/+Ohox5L967NkxpnE13RQUUdTVvl/3E1WV
YAK6BrNMhHcBkByFy+joXDT1PeXN9JfC1MeXTbthq3Cak1V1bBfgoaTofkjUYsvm
mYRWx525M3NHGvT8NzQ4KLKgPamAeUVqHDR+ShFODXrBFqQiCYI7lWpDQ7X/Rcxv
wvzNPm6k2gvc8UH2xOQ7P3DkEHeS8Yksu3eAjhLZgnpwskBFhLlUzNPHjg0WGsN2
+o2hHrhatmdX75I798uQ8/3NADge5m1zmFPSmDUCWt78pYI8Q+762NMOEZUa2vYP
+8x9hL4aqDbXSCyirzRgovAmzFQh1CzMQBEfrAhTJ+YT5/mYrn6D1XRAorpePpCi
eY+w/PMFIf4ahFi7L4vrETOIUdq5gl4vGWHW9i1i3+d4s2ut9YNBgekGQWDPzAUA
+Djzp3CXVEhgQES+rPkWv1svL/ZVdcja2fJcFCGSJEbeaAqsHnG30YyTVOqH6OV5
wSFc4gME/gLvmObM1KGQKjQHwRanZWW9z1+FzynNom+MCrAQK5jZT+ls2wm1Jjf1
y9eUAGDC7VAGazGidJjjPmvZ/3/W7FASnwa+rasKi6ftfKQxOa+E2bwODQ+2eVrz
ml47oNrTAz9ovQSQa1uC3t26wn11N4cCaVZDGfJDyp4W5s9RsibQEXZvgO2RCzEo
E/ASN6KWIUo=
=2l/m
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 71214
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