Skip to content

[ABLD-135] Make bazel retrieve bzip2 on AWS-hosted runners#40219

Merged
rdesgroppes merged 1 commit intomainfrom
regis.desgroppes/make-bazel-retrieve-bzip2-on-aws-hosted-runners
Aug 26, 2025
Merged

[ABLD-135] Make bazel retrieve bzip2 on AWS-hosted runners#40219
rdesgroppes merged 1 commit intomainfrom
regis.desgroppes/make-bazel-retrieve-bzip2-on-aws-hosted-runners

Conversation

@rdesgroppes
Copy link
Copy Markdown
Contributor

@rdesgroppes rdesgroppes commented Aug 25, 2025

What does this PR do?

The present change simply consists in switching the bazel_dep for bzip2 to a patch version of the module that uses a Bazel-hosted mirror:

-    "url": "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"
+    "url": "https://mirror.bazel.build/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"

Motivation

sourceware.org happens to blacklist some IP ranges, see:

... which prevents from successfully fetching bzip2 from our AWS-hosted macOS runners:

ERROR: no such package '@@bzip2+//': java.io.IOException: Error
 downloading [https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz] to
 /private/var/tmp/_bazel_ec2-user/a7472b478f70b5844f17194e8ea22363/external/bzip2+/temp4855649124641959474/bzip2-1.0.8.tar.gz:
  GET returned 403 Forbidden

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ask-review Ask required teams to review this PR changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants