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 migrate to Bzlmod #67

Open
sgowroji opened this issue Sep 2, 2024 · 0 comments
Open

[Bazel CI] Error migrate to Bzlmod #67

sgowroji opened this issue Sep 2, 2024 · 0 comments

Comments

@sgowroji
Copy link

sgowroji commented Sep 2, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abc3-d65d-4cc0-8a3f-9c58dd1ccc5c

Platform: MacOS

Logs:

(06:08:08) ERROR: no such package '@@[unknown repo 'genhtml' requested from @@]//': The repository '@@[unknown repo 'genhtml' requested from @@]' could not be resolved: No repository visible as '@genhtml' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
(06:08:08) ERROR: /Users/buildkite/builds/bk-macos-pln3-xtfq/bazel-org-repo-root/rules_perl/examples/genhtml/BUILD:17:10: no such package '@@[unknown repo 'genhtml' requested from @@]//': The repository '@@[unknown repo 'genhtml' requested from @@]' could not be resolved: No repository visible as '@genhtml' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration. and referenced by '//examples/genhtml:genhtml_test'

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 @fweikert

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

No branches or pull requests

1 participant