bzip2: use mirror archive#3704
Merged
meteorcloudy merged 1 commit intobazelbuild:mainfrom Feb 5, 2025
Merged
Conversation
Member
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (bzip2) have been updated in this PR. |
307b308 to
e89dfb5
Compare
Contributor
|
Let's wait for bazelbuild/bazel#25163 instead - if there is a release archive, we should use it. |
Contributor
Author
There is not, but agreed. Happy to update this PR if there is a mirrored archive 👍 |
Contributor
Author
|
All the development has moved to gitlab afaik so maybe it should come from there |
meteorcloudy
requested changes
Feb 3, 2025
The sourceware HTTP repo is pretty consistently giving us 500s in our CI environment. Use a mirror to prevent this.
meteorcloudy
approved these changes
Feb 5, 2025
rdesgroppes
added a commit
to DataDog/datadog-agent
that referenced
this pull request
Aug 26, 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](bazelbuild/bazel-central-registry#3704): ```diff - "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: - conan-io/conan-center-index#26881 - https://sourceware.org/pipermail/overseers/2025q1/019931.html - https://lwn.net/Articles/1008897/ ... 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 ```
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.
The sourceware HTTP repo is pretty consistently giving us 500s in our
CI environment. Use a mirror to prevent flakes.