From: Leo Famulari <leo@famulari.name>
To: Wilko Meyer <w@wmeyer.eu>
Cc: 66923@debbugs.gnu.org
Subject: [bug#66923] [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sun, 5 Nov 2023 10:34:11 -0500 [thread overview]
Message-ID: <ZUe18-Y_ruJ_wZwF@jasmine.lan> (raw)
In-Reply-To: <20231103215825.24485-1-w@wmeyer.eu>
On Fri, Nov 03, 2023 at 10:58:00PM +0100, Wilko Meyer wrote:
> * gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
> (linux-libre-6.5-pristine-source): Update hash.
On CI, this package failed to build with a hash mismatch for the kernel
source tarball:
------
Starting download of /gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz
From http://linux-kernel.uio.no/pub/linux/kernel/v6.x/linux-6.5.10.tar.xz...
[...]
[K ….10.tar.xz 90.0MiB 62.4MiB/s 00:01 [##################] 100.0%
@ hash-mismatch /gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz sha256 12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1 1drdjrbhdiljcqapjrjyvyvvf7dvpxdw4wxnqxjh1xy7f5vimxm9
hash mismatch for store item '/gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz'
------
https://ci.guix.gnu.org/build/2418732/log
I downloaded the tarball 'by hand' from kernel.org and calculated the
hash:
------
$ guix hash linux-6.5.10.tar.xz
12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1
------
... and that matches your patch:
> (define-public linux-libre-6.5-pristine-source
> (let ((version linux-libre-6.5-version)
> - (hash (base32 "1mcg0lpxr832mwyqlbn0s5gssvsk2nn2xhq9w0qbymizf5j2yrn6")))
> + (hash (base32 "12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1")))
However, Guix uses a mirror provided by the University of Oslo, and that
indeed provides a file with a different hash. That file appears to be
truncated, since tar fails to extract it, and it is about 2/3 the size
of the file from kernel.org (133 MiB):
------
$ curl -LO http://linux-kernel.uio.no/pub/linux/kernel/v6.x/linux-6.5.10.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 90.0M 100 90.0M 0 0 6333k 0 0:00:14 0:00:14 --:--:-- 7441k
$ guix hash linux-6.5.10.tar.xz
1drdjrbhdiljcqapjrjyvyvvf7dvpxdw4wxnqxjh1xy7f5vimxm9
$ tar xf linux-6.5.10.tar.xz
xz: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
------
kernel.org already runs a CDN to distribute demand effectively, so I
replaced the bogus source with the canonical upstream in our list of
download URLs, in 'guix/download.scm'.
I've pushed an updated patch series to 'kernel-updates' with this
change.
next prev parent reply other threads:[~2023-11-05 15:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 21:56 [bug#66923] [PATCH 0/2] linux-libre kernel updates (2023-11-03) Wilko Meyer
2023-11-03 21:58 ` [bug#66923] [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10 Wilko Meyer
2023-11-03 21:58 ` [bug#66923] [PATCH 2/2] gnu: linux-libre 6.1: Update to 6.1.61 Wilko Meyer
2023-11-03 23:55 ` [bug#66923] [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10 Leo Famulari
2023-11-04 9:20 ` Wilko Meyer
2023-11-04 18:49 ` Leo Famulari
2023-11-05 15:34 ` Leo Famulari [this message]
2023-11-05 16:06 ` Leo Famulari
2023-11-06 0:06 ` bug#66923: " Leo Famulari
2023-11-04 9:36 ` [bug#66923] [PATCH v2 1/2] gnu: linux-libre 6.1: Update to 6.1.61 Wilko Meyer
2023-11-04 9:36 ` [bug#66923] [PATCH v2 2/2] gnu: linux-libre 6.5: Update to 6.5.10 Wilko Meyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUe18-Y_ruJ_wZwF@jasmine.lan \
--to=leo@famulari.name \
--cc=66923@debbugs.gnu.org \
--cc=w@wmeyer.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).