#158 OpenSSL 1.1.1p package missing on LibreCMC site

Open
opened 2 weeks ago by frostsnow · 2 comments

The OpenSSL 1.1.1p package does not appear to be on the librecmc.org site. This is an issue when all other OpenSSL mirrors are down and the final location fails:

make[3]: Entering directory '/home/frostsnow/software/librecmc-v1.5.10/package/libs/openssl'
mkdir -p /home/frostsnow/software/librecmc-v1.5.10/dl
SHELL= flock /home/frostsnow/software/librecmc-v1.5.10/tmp/.openssl-1.1.1p.tar.gz.flock -c '    /home/frostsnow/software/librecmc-v1.5.10/scripts/download.pl "/home/frostsnow/software/librecmc-v1.5.10/dl" "openssl-1.1.1p.tar.gz" "bf61b62aaa66c7c7639942a94de4c9ae8280c08f17d4eac2e44644d9fc8ace6f" "" "http://ftp.fi.muni.cz/pub/openssl/source/" "http://ftp.linux.hr/pub/openssl/source/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/1.1.1/"    '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure http://ftp.fi.muni.cz/pub/openssl/source/openssl-1.1.1p.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  5417    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 http://ftp.linux.hr/pub/openssl/source/openssl-1.1.1p.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   277    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/openssl-1.1.1p.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/1.1.1/openssl-1.1.1p.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.pca.dfn.de
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/librecmc/downloads/sources/v1.5/openssl-1.1.1p.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   170  100   170    0     0    432      0 --:--:-- --:--:-- --:--:--   432
100  4341  100  4341    0     0   8867      0 --:--:-- --:--:-- --:--:--  8867
Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: bf61b62aaa66c7c7639942a94de4c9ae8280c08f17d4eac2e44644d9fc8ace6f) - deleting download.
No more mirrors to try - giving up.
make[3]: *** [Makefile:407: /home/frostsnow/software/librecmc-v1.5.10/dl/openssl-1.1.1p.tar.gz] Error 2
make[3]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10/package/libs/openssl'
time: package/libs/openssl/compile#0.10#0.04#63.45
make[2]: *** [package/Makefile:113: package/libs/openssl/compile] Error 2
make[2]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10'
make[1]: *** [package/Makefile:107: /home/frostsnow/software/librecmc-v1.5.10/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10'
make: *** [/home/frostsnow/software/librecmc-v1.5.10/include/toplevel.mk:227: world] Error 2

Looking at the site https://librecmc.org/librecmc/downloads/sources/v1.5/ shows OpenSSL 1.1.1 versions c, d, e, g, k, and l, but not p.

Shouldn't be too hard to workaround in the meantime...

The OpenSSL 1.1.1p package does not appear to be on the librecmc.org site. This is an issue when all other OpenSSL mirrors are down and the final location fails: ``` make[3]: Entering directory '/home/frostsnow/software/librecmc-v1.5.10/package/libs/openssl' mkdir -p /home/frostsnow/software/librecmc-v1.5.10/dl SHELL= flock /home/frostsnow/software/librecmc-v1.5.10/tmp/.openssl-1.1.1p.tar.gz.flock -c ' /home/frostsnow/software/librecmc-v1.5.10/scripts/download.pl "/home/frostsnow/software/librecmc-v1.5.10/dl" "openssl-1.1.1p.tar.gz" "bf61b62aaa66c7c7639942a94de4c9ae8280c08f17d4eac2e44644d9fc8ace6f" "" "http://ftp.fi.muni.cz/pub/openssl/source/" "http://ftp.linux.hr/pub/openssl/source/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/1.1.1/" ' + curl -f --connect-timeout 20 --retry 5 --location --insecure http://ftp.fi.muni.cz/pub/openssl/source/openssl-1.1.1p.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 5417 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 http://ftp.linux.hr/pub/openssl/source/openssl-1.1.1p.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 277 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 403 Download failed. + curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/openssl-1.1.1p.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Download failed. + curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/1.1.1/openssl-1.1.1p.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pca.dfn.de Download failed. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://librecmc.org/librecmc/downloads/sources/v1.5/openssl-1.1.1p.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 170 100 170 0 0 432 0 --:--:-- --:--:-- --:--:-- 432 100 4341 100 4341 0 0 8867 0 --:--:-- --:--:-- --:--:-- 8867 Hash of the downloaded file does not match (file: fe2bd4b4b07cdb4ab45134529981c24204b89dfa04af2ca6fdf9bc6738cca656, requested: bf61b62aaa66c7c7639942a94de4c9ae8280c08f17d4eac2e44644d9fc8ace6f) - deleting download. No more mirrors to try - giving up. make[3]: *** [Makefile:407: /home/frostsnow/software/librecmc-v1.5.10/dl/openssl-1.1.1p.tar.gz] Error 2 make[3]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10/package/libs/openssl' time: package/libs/openssl/compile#0.10#0.04#63.45 make[2]: *** [package/Makefile:113: package/libs/openssl/compile] Error 2 make[2]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10' make[1]: *** [package/Makefile:107: /home/frostsnow/software/librecmc-v1.5.10/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/frostsnow/software/librecmc-v1.5.10' make: *** [/home/frostsnow/software/librecmc-v1.5.10/include/toplevel.mk:227: world] Error 2 ``` Looking at the site https://librecmc.org/librecmc/downloads/sources/v1.5/ shows OpenSSL 1.1.1 versions `c`, `d`, `e`, `g`, `k`, and `l`, but not `p`. Shouldn't be too hard to workaround in the meantime...
frostsnow commented 2 weeks ago
Poster

I was able to workaround the issue by opening package/libs/openssl/Makefile and adding https://artfiles.org/openssl.org/source/old/1.1.1/ to PKG_SOURCE_URL. A list of alternative OpenSSL mirrors can be found here: https://www.openssl.org/source/mirror.html.

LibreCMC version is 1.5.10.

I was able to workaround the issue by opening `package/libs/openssl/Makefile` and adding `https://artfiles.org/openssl.org/source/old/1.1.1/` to `PKG_SOURCE_URL`. A list of alternative OpenSSL mirrors can be found here: https://www.openssl.org/source/mirror.html. LibreCMC version is `1.5.10`.
hugmenot commented 5 days ago

With libreCMC v1.5.12, the current version of openssl is s. See the announcement.

Although I can't find the source in the link you provided (for v1.5), it's already available in the sources of the upcoming libreCMC v6.0 release.

https://librecmc.org/librecmc/downloads/sources/v6.0/

I hope this will help you to tweak your Makefile, and make it a bit more independent from external sources.

With libreCMC v1.5.12, the current version of openssl is `s`. See the [announcement](https://librecmc.org/fossil/librecmc/wiki?name=v1_5_12). Although I can't find the source in the link you provided (for v1.5), it's already available in the sources of the upcoming libreCMC v6.0 release. https://librecmc.org/librecmc/downloads/sources/v6.0/ I hope this will help you to tweak your Makefile, and make it a bit more independent from external sources.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.