unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
@ 2024-05-26 19:01 Richard Sent
  2024-06-10 12:36 ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Sent @ 2024-05-26 19:01 UTC (permalink / raw)
  To: 71214

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
  2024-05-26 19:01 bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar Richard Sent
@ 2024-06-10 12:36 ` Christopher Baines
  2024-06-10 12:54   ` Richard Sent
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2024-06-10 12:36 UTC (permalink / raw)
  To: Richard Sent; +Cc: 71214-done

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

Richard Sent <richard@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar
  2024-06-10 12:36 ` Christopher Baines
@ 2024-06-10 12:54   ` Richard Sent
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Sent @ 2024-06-10 12:54 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 71214-done

Christopher Baines <mail@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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-10 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-26 19:01 bug#71214: bordeaux linux-libre-6.8.10-guix.tar.gz corrupt nar Richard Sent
2024-06-10 12:36 ` Christopher Baines
2024-06-10 12:54   ` Richard Sent

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).