-
Notifications
You must be signed in to change notification settings - Fork 4.4k
--enable_bzlmod breaks toolchain resolution for toolchains registered in WORKSPACE #17289
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requeststeam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug
Description
Description of the bug:
Setting the --enable_bzlmod flag (even with an empty MODULE.bazel file) breaks toolchain resolution for toolchains registered in the WORKSPACE file.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
https://github.com/gregmagolan/repro-enable_bzlmod_breaks_workspace
Which operating system are you running Bazel on?
MacOS
What is the output of bazel info release?
release 6.0.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
https://github.com/gregmagolan/repro-enable_bzlmod_breaks_workspace
Have you found anything relevant by searching the web?
Searched through Bazel issues and didn't see any duplicates.
Any other information, logs, or outputs that you want to share?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requeststeam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug