fosslinux / live-bootstrap

Use of a Linux initramfs to fully automate the bootstrapping process
512 stars 36 forks source link

openssl 1.1.1l link now redirects to HTTPS URL #327

Closed Googulator closed 10 months ago

Googulator commented 12 months ago

Bootstrap on qemu (with kernel bootstrapping via Fiwix) fails with the following error:

libarchive-3.5.2: postprocess binaries.
libarchive-3.5.2: creating package.
libarchive-3.5.2: checksumming created package.
libarchive-3.5.2_0.tar.bz2: OK
libarchive-3.5.2: cleaning up.
libarchive-3.5.2: installing package.
libarchive-3.5.2: build successful
openssl-1.1.1l: beginning build using script openssl-1.1.1l.sh
openssl-1.1.1l: getting sources.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   333  100   333    0     0   3332      0 --:--:-- --:--:-- --:--:--  3363
curl: (1) The redirect target URL could not be parsed: Unsupported URL scheme
bash: cannot set terminal process group (-1): Not a tty
bash: no job control in this shell
/distfiles # exit
[ 2848.512767] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 2848.512767]
[ 2848.513459] CPU: 4 PID: 1 Comm: bash Not tainted 4.9.10-gnu_1 #1
[ 2848.513459] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
[ 2848.513459] Call Trace:
[ 2848.513459] Kernel Offset: 0x1a000000 from 0xc1000000 (relocation range: 0xc0000000-0xf83fdfff)
[ 2848.513459] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 2848.513459]
... manually killed qemu here from another terminal
qemu-system-x86_64: terminating on signal 15 from pid 74424 ()

Checking the download URL reveals it's now HTTPS-only:

googulator@gstefanik-lenovo:~/live-bootstrap$ wget http://artfiles.org/openssl.org/source/old/1.1.1/openssl-1.1.1l.tar.gz -vvv
--2023-11-09 00:34:50--  http://artfiles.org/openssl.org/source/old/1.1.1/openssl-1.1.1l.tar.gz
Resolving artfiles.org (artfiles.org)... 212.72.164.211, 2a00:1f78:af:c003::2
Connecting to artfiles.org (artfiles.org)|212.72.164.211|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://artfiles.org/openssl.org/source/old/1.1.1/openssl-1.1.1l.tar.gz [following]
--2023-11-09 00:34:50--  https://artfiles.org/openssl.org/source/old/1.1.1/openssl-1.1.1l.tar.gz
Connecting to artfiles.org (artfiles.org)|212.72.164.211|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9834044 (9.4M) [application/x-gzip]
Saving to: ‘openssl-1.1.1l.tar.gz’

openssl-1.1.1l.tar.gz                                                 100%[=========================================================================================================================================================================>]   9.38M  13.3MB/s    in 0.7s

2023-11-09 00:34:51 (13.3 MB/s) - ‘openssl-1.1.1l.tar.gz’ saved [9834044/9834044]

The URL http://mirror.math.princeton.edu/pub/openssl/source/old/1.1.1/openssl-1.1.1l.tar.gz seems to work for now using plain HTTP.