Repository navigation
bazel: fetch GNU downloads through ftpmirror.gnu.org - #12104
Merged
Merged
Conversation
rules_m4 fetches m4 from mirrors.kernel.org, then ftp.gnu.org. When
both time out, analysis of //:openroad fails: the master Docker build
failed that way on 2026-11-03 ("Connect timed out" for
m4-1.4.18.tar.xz).
Rewrite both to GNU's redirector to a nearby mirror, then a second
mirror, keeping each original URL as the last fallback. Every download
is still verified against its pinned hash.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Bazel downloader configuration in bazel/downloader.cfg by adding rewrite rules for GNU downloads from mirrors.kernel.org and ftp.gnu.org to use ftpmirror.gnu.org and ftp.fau.de as mirrors, preventing build timeouts. The feedback suggests adding the ftp.fau.de mirror fallback to the ftp.gnu.org rewrite rules as well to ensure consistency and redundancy, matching the strategy used for mirrors.kernel.org.
The BCR's m4 and bison modules list ftp.gnu.org among their mirror URLs; give them the same second mirror as mirrors.kernel.org. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
maliberty
requested changes
Nov 4, 2026
maliberty
left a comment
Member
There was a problem hiding this comment.
Builds run in the US so German mirrors should be a last resort. Please reorder.
Builds run in the US, so the German mirror goes after the original mirrors.kernel.org and ftp.gnu.org URLs rather than before them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Collaborator
Author
Fixed. |
vvbandeira
approved these changes
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rules_m4 fetches m4 from mirrors.kernel.org, then ftp.gnu.org. When
both time out, analysis of //:openroad fails: the master Docker build
failed that way on 2026-11-03 ("Connect timed out" for
m4-1.4.18.tar.xz).
Rewrite both to GNU's redirector to a nearby mirror, then a second
mirror, keeping each original URL as the last fallback. Every download
is still verified against its pinned hash.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Signed-off-by: Øyvind Harboe oyvind.harboe@zylin.com