Skip to content

[Bazel CI] Error migrate to Bzlmod  #67

@sgowroji

Description

@sgowroji

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions