Previously we moved GNU_MIRROR from ftp.gnu.org to ftpmirror.gnu.org[1], however for reasons whilst ftp.gnu.org puts the content under a /gnu/ subdirectory, ftpmirror.gnu.org redirects to inside /gnu/.
This can be verified with curl. With /gnu/ included in the URL: $ curl -vL https://ftpmirror.gnu.org/gnu/automake/automake-1.19.tar.gz * Connected to ftpmirror.gnu.org (2001:470:142:5::200) port 443 (#0) < HTTP/1.1 302 Moved Temporarily < Location: https://mirror.cs.odu.edu/gnu//gnu/automake/automake-1.19.tar.gz * Connected to mirror.cs.odu.edu (128.82.4.140) port 443 (#1) > GET /gnu//gnu/automake/automake-1.19.tar.gz HTTP/1.1 < HTTP/1.1 404 Not Found However, removing it: $ curl -vL https://ftpmirror.gnu.org/automake/automake-1.19.tar.gz * Connected to ftpmirror.gnu.org (2001:470:142:5::200) port 443 (#0) < HTTP/1.1 302 Moved Temporarily < Location: https://mirror.ibcp.fr/pub/gnu//automake/automake-1.19.tar.gz * Connected to mirror.ibcp.fr (2001:660:500b:245::145) port 443 (#1) > GET /pub/gnu//automake/automake-1.19.tar.gz HTTP/2 < HTTP/2 200 < content-length: 2517494 < content-type: application/x-gzip This wasn't noticed as we have a default mirrors.bbclass which uses the kernel.org mirror network. It's also interesting that ftpmirror's attempt at providing local mirrors is far from optimal: in testing this from the UK I was given mirrors in the USA and China as often as Europe. [1] oe-core d8c6f01d746 ("conf/bitbake.conf: use gnu mirror instead of main server") Signed-off-by: Ross Burton <[email protected]> --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a21223e216a..8a102d5e8f1 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -709,7 +709,7 @@ DEBIAN_MIRROR = "http://deb.debian.org/debian/pool" GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles" GNOME_GIT = "git://gitlab.gnome.org/GNOME" GNOME_MIRROR = "https://download.gnome.org/sources/" -GNU_MIRROR = "https://ftpmirror.gnu.org/gnu" +GNU_MIRROR = "https://ftpmirror.gnu.org/" GNUPG_MIRROR = "https://www.gnupg.org/ftp/gcrypt" KERNELORG_MIRROR = "https://cdn.kernel.org/pub" SAMBA_MIRROR = "http://samba.org/samba/ftp" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#245565): https://lists.openembedded.org/g/openembedded-core/message/245565 Mute This Topic: https://lists.openembedded.org/mt/121179872/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
