Skip to content

Name a mirror for everything GNU hosts - #182

Merged
frangarcj merged 1 commit into
masterfrom
gnu-mirror
Aug 27, 2026
Merged

Name a mirror for everything GNU hosts#182
frangarcj merged 1 commit into
masterfrom
gnu-mirror

Conversation

@frangarcj

Copy link
Copy Markdown
Contributor

ftp.gnu.org refused connections for over two minutes at a time through 26 and 27 August:

Failed to connect to ftp.gnu.org port 443 after 132449 ms
error: downloading 'https://ftp.gnu.org/gnu/gdb/gdb-15.2.tar.xz' failed

Six components come from there and gdb is downloaded by every host, so one outage is a red pipeline rather than a slow one. Three softfp builds died this way today without saying anything about softfp.

Each of the six now names ftpmirror.gnu.org first — GNU's own redirector to a nearby mirror — and keeps ftp.gnu.org behind it. ExternalProject tries them in order, and URL_HASH decides whether what came back is the right bytes, so a mirror serving something else fails the way a corrupt download does.

Checked against the redirector:

descargado 24332820 bytes
sha256   83350ccd35b5b5a0cba6b334c41294ea968158c573940904f00b92f76345314d
esperado 83350ccd35b5b5a0cba6b334c41294ea968158c573940904f00b92f76345314d

The test refuses a component that names one host, that does not try the mirror first, or that has no hash to check a mirror against.

🤖 Generated with Claude Code

ftp.gnu.org refused connections for over two minutes at a time through 26 and
27 August, and each time it took a whole build with it: six components come
from there and gdb is downloaded by every host, so one outage is a red
pipeline rather than a slow one. Three softfp builds died this way without
saying anything about softfp.

Each of the six now names ftpmirror.gnu.org first -- GNU's own redirector to
a nearby mirror -- and keeps ftp.gnu.org behind it. ExternalProject tries them
in order, and URL_HASH decides whether what came back is the right bytes, so a
mirror serving something else fails the way a corrupt download does. Checked
against the redirector: gdb-15.2.tar.xz comes back with the sha256 already
pinned here.

The test refuses a component that names one host, or that does not try the
mirror first, or that has no hash to check a mirror against.
@frangarcj
frangarcj merged commit 90bd8e9 into master Aug 27, 2026
17 of 20 checks passed
@frangarcj
frangarcj deleted the gnu-mirror branch August 27, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant