#190 v1.5.15 fails to compile because linux-libre hash not does match

Open
opened 7 months ago by Ghost · 1 comments
Ghost commented 7 months ago

When I try to run make kernel_menuconfig when building LibreCMC v1.5.15, the make fails. This appears to be because make is failing to verify the hash of linux-libre; I'm getting fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656 but 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177 is expected.

frostsnow@seneca ~/software/librecmc-v1.5.15 $ make -j 10 V=s kernel_menuconfig
export MAKEFLAGS= ;make V=ss -C target/linux menuconfig
make[1]: Entering directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux'
make[2]: Entering directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux/ath79'
mkdir -p /home/frostsnow/software/librecmc-v1.5.15/dl
SHELL= flock /home/frostsnow/software/librecmc-v1.5.15/tmp/.linux-libre-4.14.334-gnu1.tar.xz.flock -c '         /home/frostsnow/software/librecmc-v1.5.15/scripts/download.pl "/home/frostsnow/software/librecmc-v1.5.15/dl" "linux-libre-4.14.334-gnu1.tar.xz" "8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177" "" "@KERNEL_LIBRE/4.14.334-gnu1"    '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.334-gnu1/linux-libre-4.14.334-gnu1.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   296    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/linux-libre-4.14.334-gnu1.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    197      0 --:--:-- --:--:-- --:--:--   197
100  4341  100  4341    0     0   4171      0  0:00:01  0:00:01 --:--:--  4171
Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   296    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    199      0 --:--:-- --:--:-- --:--:--   199
100  4341  100  4341    0     0   4188      0  0:00:01  0:00:01 --:--:-- 4239k
Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/librecmc/downloads/sources/v1.5/linux-libre-4.14.334-gnu1.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    196      0 --:--:-- --:--:-- --:--:--   196
100  4341  100  4341    0     0   4158      0  0:00:01  0:00:01 --:--:--  4158
Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download.
No more mirrors to try - giving up.
make[2]: *** [Makefile:20: /home/frostsnow/software/librecmc-v1.5.15/dl/linux-libre-4.14.334-gnu1.tar.xz] Error 2
make[2]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux/ath79'
make[1]: *** [Makefile:13: menuconfig] Error 2
make[1]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux'
make: *** [/home/frostsnow/software/librecmc-v1.5.15/include/toplevel.mk:170: kernel_menuconfig] Error 2
When I try to run `make kernel_menuconfig` when building LibreCMC v1.5.15, the make fails. This appears to be because make is failing to verify the hash of `linux-libre`; I'm getting `fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656` but `8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177` is expected. ``` frostsnow@seneca ~/software/librecmc-v1.5.15 $ make -j 10 V=s kernel_menuconfig export MAKEFLAGS= ;make V=ss -C target/linux menuconfig make[1]: Entering directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux' make[2]: Entering directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux/ath79' mkdir -p /home/frostsnow/software/librecmc-v1.5.15/dl SHELL= flock /home/frostsnow/software/librecmc-v1.5.15/tmp/.linux-libre-4.14.334-gnu1.tar.xz.flock -c ' /home/frostsnow/software/librecmc-v1.5.15/scripts/download.pl "/home/frostsnow/software/librecmc-v1.5.15/dl" "linux-libre-4.14.334-gnu1.tar.xz" "8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177" "" "@KERNEL_LIBRE/4.14.334-gnu1" ' + curl -f --connect-timeout 20 --retry 5 --location --insecure https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.334-gnu1/linux-libre-4.14.334-gnu1.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 296 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Download failed. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/linux-libre-4.14.334-gnu1.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 155 100 155 0 0 197 0 --:--:-- --:--:-- --:--:-- 197 100 4341 100 4341 0 0 4171 0 0:00:01 0:00:01 --:--:-- 4171 Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 296 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Download failed. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 155 100 155 0 0 199 0 --:--:-- --:--:-- --:--:-- 199 100 4341 100 4341 0 0 4188 0 0:00:01 0:00:01 --:--:-- 4239k Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/librecmc/downloads/sources/v1.5/linux-libre-4.14.334-gnu1.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 155 100 155 0 0 196 0 --:--:-- --:--:-- --:--:-- 196 100 4341 100 4341 0 0 4158 0 0:00:01 0:00:01 --:--:-- 4158 Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: 8665c68f0496165783d3c1e4176ad42838ba194de0ae25d548bcf9379b250177) - deleting download. No more mirrors to try - giving up. make[2]: *** [Makefile:20: /home/frostsnow/software/librecmc-v1.5.15/dl/linux-libre-4.14.334-gnu1.tar.xz] Error 2 make[2]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux/ath79' make[1]: *** [Makefile:13: menuconfig] Error 2 make[1]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.15/target/linux' make: *** [/home/frostsnow/software/librecmc-v1.5.15/include/toplevel.mk:170: kernel_menuconfig] Error 2 ```
Ghost commented 7 months ago
Poster

It looks like the tarball at fsfla has been pruned though the signature remains.

The hash I'm getting is for the libreCMC 404 page:

frostsnow@seneca ~/Downloads $ wget "https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz"
--2024-04-28 15:21:24--  https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz
Resolving librecmc.org... 198.140.141.86
Connecting to librecmc.org|198.140.141.86|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://librecmc.org/404.html [following]
--2024-04-28 15:21:25--  https://librecmc.org/404.html
Reusing existing connection to librecmc.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 4341 (4.2K) [text/html]
Saving to: 'linux-libre-4.14.334-gnu1.tar.xz'

linux-libre-4.14.334-gnu1.tar.xz                     100%[======================================================================================================================>]   4.24K  --.-KB/s    in 0s      

2024-04-28 15:21:25 (651 MB/s) - 'linux-libre-4.14.334-gnu1.tar.xz' saved [4341/4341]

frostsnow@seneca ~/Downloads $ file linux-libre-4.14.334-gnu1.tar.xz
linux-libre-4.14.334-gnu1.tar.xz: HTML document, ASCII text, with very long lines (374)
frostsnow@seneca ~/Downloads $ sha256sum linux-libre-4.14.334-gnu1.tar.xz
fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656  linux-libre-4.14.334-gnu1.tar.xz

It looks like linux-libre-4.14.334-gnu1.tar.xz is missing from the v1.5 sources though linux-libre-4.14.325-gnu1.tar.xz is there.

It looks like the tarball at [fsfla](https://linux-libre.fsfla.org/pub/linux-libre/releases/4.14.334-gnu1/) has been pruned though the signature remains. The hash I'm getting is for the libreCMC 404 page: ``` frostsnow@seneca ~/Downloads $ wget "https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz" --2024-04-28 15:21:24-- https://librecmc.org/pub/linux-libre/releases/4.14.334-gnu1/v4.14.334/linux-libre-4.14.334-gnu1.tar.xz Resolving librecmc.org... 198.140.141.86 Connecting to librecmc.org|198.140.141.86|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://librecmc.org/404.html [following] --2024-04-28 15:21:25-- https://librecmc.org/404.html Reusing existing connection to librecmc.org:443. HTTP request sent, awaiting response... 200 OK Length: 4341 (4.2K) [text/html] Saving to: 'linux-libre-4.14.334-gnu1.tar.xz' linux-libre-4.14.334-gnu1.tar.xz 100%[======================================================================================================================>] 4.24K --.-KB/s in 0s 2024-04-28 15:21:25 (651 MB/s) - 'linux-libre-4.14.334-gnu1.tar.xz' saved [4341/4341] frostsnow@seneca ~/Downloads $ file linux-libre-4.14.334-gnu1.tar.xz linux-libre-4.14.334-gnu1.tar.xz: HTML document, ASCII text, with very long lines (374) frostsnow@seneca ~/Downloads $ sha256sum linux-libre-4.14.334-gnu1.tar.xz fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656 linux-libre-4.14.334-gnu1.tar.xz ``` It looks like `linux-libre-4.14.334-gnu1.tar.xz` is missing from the [v1.5 sources](https://librecmc.org/librecmc/downloads/sources/v1.5/) though `linux-libre-4.14.325-gnu1.tar.xz` is there.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.