Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] conf/bitbake.conf: fix GNU mirror URL
@ 2026-09-10 13:06 Ross Burton
  2026-09-10 13:07 ` [PATCH 2/2] automake: 1.18.1 -> 1.19 Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2026-09-10 13:06 UTC (permalink / raw)
  To: openembedded-core

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 <ross.burton@arm.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-10 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 13:06 [PATCH 1/2] conf/bitbake.conf: fix GNU mirror URL Ross Burton
2026-09-10 13:07 ` [PATCH 2/2] automake: 1.18.1 -> 1.19 Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox