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

[Bazel CI] Error loading external package: Both '--enable_bzlmod' and '--enable_workspace' are disabled #539

Closed
sgowroji opened this issue Sep 13, 2024 · 0 comments · Fixed by #540

Comments

@sgowroji
Copy link
Member

sgowroji commented Sep 13, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4122#0191e992-e9e6-4d90-8662-7f5ef3aedd10

Platform: Ubuntu

Logs:

ERROR: �[0mError computing the main repository mapping: error loading package 'external': Both --enable_bzlmod and --enable_workspace are disabled, but one of them must be enabled to fetch external dependencies.
Error: The command exited with status 1�[0m
error: The plugin docker command hook exited with status 1

Culprit: bazelbuild/bazel@5881c38

Note : This issue is due to bazelbuild/bazel#23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.

CC Greenteam @meteorcloudy

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 a pull request may close this issue.

1 participant