Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bzlmod Bazel build is failing in Downstream CI #18831

Closed
sgowroji opened this issue Jul 3, 2023 · 1 comment
Closed

Bzlmod Bazel build is failing in Downstream CI #18831

sgowroji opened this issue Jul 3, 2023 · 1 comment
Labels
area-Bzlmod Bzlmod-specific PRs, issues, and feature requests breakage team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug

Comments

@sgowroji
Copy link
Member

sgowroji commented Jul 3, 2023

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3141#01891980-9574-457b-aba6-d838f4ef2cdb

Platform : MacOS, Windows, Ubuntu

Logs :

ERROR: Error computing the main repository mapping: Yanked version detected in your resolved dependency graph: rules_go@0.34.0, for the reason: Obsolete experimental version that emits debug prints. Update to 0.38.1 or higher..
Yanked versions may contain serious vulnerabilities and should not be used. To fix this, use a bazel_dep on a newer version of this module. To continue using this version, allow it using the --allow_yanked_versions flag or the BZLMOD_ALLOW_YANKED_VERSIONS env variable.

Steps :

git clone -v https://github.com/bazelbuild/bazel.git
git reset 05c70d945f1248157326509b3d56bc5cd66216a6 --hard
export USE_BAZEL_VERSION=c886a6709a57cfc8258fbf06984a014b384a3b95
bazel build --config=bzlmod //src:bazel

CC Green Team @Wyverald

@sgowroji sgowroji added type: bug breakage team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. area-Bzlmod Bzlmod-specific PRs, issues, and feature requests labels Jul 3, 2023
@fmeum
Copy link
Collaborator

fmeum commented Jul 3, 2023

Should be fixed by merging bazelbuild/bazel-central-registry#734 and then updating to that version. Also see #18828 for an alternative temporary fix.

@keertk keertk closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Bzlmod Bzlmod-specific PRs, issues, and feature requests breakage team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug
Projects
None yet
Development

No branches or pull requests

3 participants