live-bootstrap icon indicating copy to clipboard operation
live-bootstrap copied to clipboard

Cannot download gnulib

Open Moe2912 opened this issue 9 months ago • 2 comments

Both rootfs.py and also download-distfiles.sh fail while trying to download gnulib-8f4538a5.tar.gz. The message is "Could not resolve host: _ "

Also, now when I retry to execute rootfy.py it doesn't even try anymore and always tells me the the file live-bootstrap/target/AArch64 already exists.

Am I doing something wrong?

Moe2912 avatar Mar 22 '25 11:03 Moe2912

Looks like the issue was introduced in https://github.com/fosslinux/live-bootstrap/pull/493. Running download-distfiles.sh on an earlier commit (0fa2f1e5ed1cecaf5b2f921654867322a519bd84 is the one I tried) worked, with all the hashes matching.

laurenthuberdeau avatar Mar 23 '25 17:03 laurenthuberdeau

Also, now when I retry to execute rootfy.py it doesn't even try anymore and always tells me the the file live-bootstrap/target/AArch64 already exists.

Retrying a failed build does not work, you need to clear out the target directory before the next build.

Both rootfs.py and also download-distfiles.sh fail while trying to download gnulib-8f4538a5.tar.gz. The message is "Could not resolve host: _ "

This really should be documented, but now a source mirror is required. I'll document this properly shortly, but as a basic start

Use an existing mirror

Use one of the mirrors listed here: https://github.com/fosslinux/live-bootstrap/wiki/Mirrors as a url --mirrors http://<BLAH>.

Use your own local mirror

Use the script ./mirror.sh with a path to store your local mirror. Then use --mirrors file:///<path to your local mirror>.

Or even better, make your own public mirror

Make a local mirror, and expose it on the Internet with both HTTP and HTTPS support.

Why? See #485

fosslinux avatar Mar 23 '25 21:03 fosslinux

I'm not sure why, but when I try to create a local mirror, the hash verification fails. Could this be because the remote files have changed? Just like that:

[root@rockylinux-ca-toronto live-bootstrap]# ./mirror.sh /data/live-bootstrap/depfiles
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.52.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.53.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.54.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.55.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.57.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.59.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.61.tar.bz2
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.64.tar.xz
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.69.tar.xz
https://mirrors.kernel.org/gnu/autoconf/autoconf-2.71.tar.xz
http://mirrors.kernel.org/gnu/autoconf-archive/autoconf-archive-2021.02.19.tar.xz
git://github.com/schierlm/gnu-autogen-bootstrapping~autogen-5.18.16-v1.0.1
https://github.com/schierlm/gnu-autogen-bootstrapping~autogen-5.18.16-v1.0.1: generated tarball does not match checksum

and notice that I use serveral differnet server which is in different place and network environment to test, all of them show this https://github.com/schierlm/gnu-autogen-bootstrapping~autogen-5.18.16-v1.0.1: generated tarball does not match checksum

vxtls avatar Jul 20 '25 01:07 vxtls

I have split this out into a separate issue.

fosslinux avatar Jul 21 '25 12:07 fosslinux

for others struggling with this issues when using the download-distfiles.sh script: you have to call it like this: ˋ./download-distfiles.sh http://ˋ (no --mirror)

SoraMakes avatar Aug 18 '25 19:08 SoraMakes