GNU bug report logs - #71214
bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar

Previous Next

Package: guix;

Reported by: Richard Sent <richard <at> freakingpenguin.com>

Date: Sun, 26 May 2024 19:03:02 UTC

Severity: normal

Done: Richard Sent <richard <at> freakingpenguin.com>

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 71214 in the body.
You can then email your comments to 71214 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#71214; Package guix. (Sun, 26 May 2024 19:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Richard Sent <richard <at> freakingpenguin.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 26 May 2024 19:03:02 GMT) Full text and rfc822 format available.

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

From: Richard Sent <richard <at> freakingpenguin.com>
To: bug-guix <at> gnu.org
Subject: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
Date: Sun, 26 May 2024 15:01:55 -0400
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

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

[1]: https://issues.guix.gnu.org/71133
[2]: https://issues.guix.gnu.org/71160
-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




Reply sent to Richard Sent <richard <at> freakingpenguin.com>:
You have taken responsibility. (Mon, 10 Jun 2024 13:11:03 GMT) Full text and rfc822 format available.

Notification sent to Richard Sent <richard <at> freakingpenguin.com>:
bug acknowledged by developer. (Mon, 10 Jun 2024 13:11:03 GMT) Full text and rfc822 format available.

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

From: Richard Sent <richard <at> freakingpenguin.com>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 71214-done <at> debbugs.gnu.org
Subject: Re: bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
Date: Mon, 10 Jun 2024 08:54:12 -0400
Christopher Baines <mail <at> cbaines.net> writes:

> I've investigated this now

Thanks for looking into this!

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




Information forwarded to bug-guix <at> gnu.org:
bug#71214; Package guix. (Mon, 10 Jun 2024 15:41:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Richard Sent <richard <at> freakingpenguin.com>
Cc: 71214-done <at> debbugs.gnu.org
Subject: Re: bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
Date: Mon, 10 Jun 2024 13:36:24 +0100
[Message part 1 (text/plain, inline)]
Richard Sent <richard <at> freakingpenguin.com> writes:

> 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.

1: https://git.savannah.gnu.org/cgit/guix/build-coordinator.git/commit/?id=1ecad692a75402872b7b366859f364a421727925

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.

2: https://git.savannah.gnu.org/cgit/guix/build-coordinator.git/commit/?id=7aa1369d6d5a34300045596cdf0bcfd6f4992f9b

Thanks,

Chris
[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, 09 Jul 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 344 days ago.

Previous Next


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