From: Ross Burton <ross.burton@arm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] conf/bitbake.conf: fix GNU mirror URL
Date: Thu, 10 Sep 2026 14:06:59 +0100 [thread overview]
Message-ID: <20260910130700.2587601-1-ross.burton@arm.com> (raw)
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
next reply other threads:[~2026-09-10 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 13:06 Ross Burton [this message]
2026-09-10 13:07 ` [PATCH 2/2] automake: 1.18.1 -> 1.19 Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260910130700.2587601-1-ross.burton@arm.com \
--to=ross.burton@arm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox