Re: linux-md5 seems not matching for linux-6.16

"Marcin Dulak" ([email protected] via lfs-support Mailing List) <[email protected]> Mon, 15 Sep 2025 20:40:44 +0200
Newsgroups gmane.linux.lfs.support
Message-ID <CABJoABZLHOM0VV4AmYhek_3E-a5x20u8WTqq2wKgAv_riX4N3w@mail.gmail.com>
On Mon, Sep 15, 2025 at 4:14 PM "Zeckma"
<[email protected]> wrote:
>
> On 9/15/25 05:59, "md" ([email protected] via lfs-support Mailing
> List) wrote:
> > I see this md5sum:
> > grep " linux-md5" ./packages.ent
> > <!ENTITY linux-md5 "890ccdaac06e063931654dd7a78a180a">
> >
> > However, a download results in a different md5sum:
> >
> > wget https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.16.tar.xz
> >
> > A mismatch seems also to be present for patch-6.16.7.xz.
>
> The book (right now) via
> https://linuxfromscratch.org/lfs/view/development/chapter03/packages.html
> and
> https://linuxfromscratch.org/~thomas/multilib-m32/chapter03/packages.html
> is correct. The base linux 6.16 + patch method has been done away with
> in the books. The md5sum is for
> https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.16.7.tar.xz
> specifically. I double checked:
> ```Bash
> $ md5sum linux-6.16.7.tar.xz
> 890ccdaac06e063931654dd7a78a180a  linux-6.16.7.tar.xz
> ```
>
> You downloaded the base linux-6.16.tar.xz file which is why you get a
> different md5sum.
>
> - Zeckma
> --
> http://lists.linuxfromscratch.org/sympa/info/lfs-support
> Unsubscribe: See the above information page

I'm running the build though jhalfs, assumed it's not susceptible to
such changes, and posted here.
It looks that jhalfs downloads both 6.16.7 and 6.16, and performs
checksum verification on the latter instead of the former.
I hope jhals developers will notice this thread.

2025-09-15T11:31:02.0523323Z  [1m [33mlinux-6.16.7.tar.xz: not found
in /vagrant/sources nor in /vagrant/jhalfs/mnt/build_dir/sources [0m
2025-09-15T11:31:02.0542624Z --2025-09-15 11:31:02--
https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.16.7.tar.xz
2025-09-15T11:31:02.0786512Z Resolving www.kernel.org
(www.kernel.org)... 146.75.29.55, 2a04:4e42:77::311
2025-09-15T11:31:02.0798403Z Connecting to www.kernel.org
(www.kernel.org)|146.75.29.55|:443... connected.
2025-09-15T11:31:02.0878883Z HTTP request sent, awaiting response... 200 OK
2025-09-15T11:31:02.0879351Z Length: 152673392 (146M) [application/x-xz]
2025-09-15T11:31:02.0880221Z Saving to: 'linux-6.16.7.tar.xz'
2025-09-15T11:31:02.0880713Z
2025-09-15T11:31:02.0880717Z
2025-09-15T11:31:02.2882190Z linux-6.16.7.tar.xz   0%[
   ]       0  --.-KB/s
2025-09-15T11:31:02.4743740Z linux-6.16.7.tar.xz  50%[=========>
   ]  73.86M   369MB/s
2025-09-15T11:31:02.4744250Z linux-6.16.7.tar.xz
100%[===================>] 145.60M   377MB/s    in 0.4s
2025-09-15T11:31:02.4744485Z
2025-09-15T11:31:02.4744644Z 2025-09-15 11:31:02 (377 MB/s) -
'linux-6.16.7.tar.xz' saved [152673392/152673392]
2025-09-15T11:31:02.4744887Z
2025-09-15T11:31:02.9585308Z  [1m [33mlinux-6.16.tar.xz: not found in
/vagrant/sources nor in /vagrant/jhalfs/mnt/build_dir/sources [0m
2025-09-15T11:31:02.9605622Z --2025-09-15 11:31:02--
https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.16.tar.xz
2025-09-15T11:31:02.9843788Z Resolving www.kernel.org
(www.kernel.org)... 146.75.29.55, 2a04:4e42:77::311
2025-09-15T11:31:02.9855606Z Connecting to www.kernel.org
(www.kernel.org)|146.75.29.55|:443... connected.
2025-09-15T11:31:02.9929344Z HTTP request sent, awaiting response... 200 OK
2025-09-15T11:31:02.9929835Z Length: 152620004 (146M) [application/x-xz]
2025-09-15T11:31:02.9930114Z Saving to: 'linux-6.16.tar.xz'
2025-09-15T11:31:02.9930281Z
2025-09-15T11:31:02.9930286Z
2025-09-15T11:31:03.1933224Z linux-6.16.tar.xz     0%[
   ]       0  --.-KB/s
2025-09-15T11:31:03.3934360Z linux-6.16.tar.xz    37%[======>
   ]  53.89M   269MB/s
2025-09-15T11:31:03.4848237Z linux-6.16.tar.xz    79%[==============>
   ] 116.30M   291MB/s
2025-09-15T11:31:03.4848761Z linux-6.16.tar.xz
100%[===================>] 145.55M   296MB/s    in 0.5s
2025-09-15T11:31:03.4849018Z
2025-09-15T11:31:03.4849187Z 2025-09-15 11:31:03 (296 MB/s) -
'linux-6.16.tar.xz' saved [152620004/152620004]
2025-09-15T11:31:03.4849472Z
2025-09-15T11:31:03.4859478Z common/libs/func_download_pkgs: line 84:
[: =: unary operator expected
2025-09-15T11:31:03.4860329Z common/libs/func_download_pkgs: line 85:
[: =: unary operator expected
2025-09-15T11:31:03.4875517Z md5sum: 'standard input': no properly
formatted checksum lines found
2025-09-15T11:31:03.4878667Z  [1m [33mMD5SUM did not match REMOTE copy [0m
2025-09-15T11:31:03.4878767Z removed 'linux-6.16.tar.xz'

Marcin

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page