Bazel 5: no matching toolchains found for types @bazel_tools//tools/jdk:runtime_toolchain_type #14864
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Rules-Java
Issues for Java rules
type: support / not a bug (process)
Description of the problem / feature request:
We override the
remotejdk11_macos
with on-prem URLs. The same works on Bazel 4 but errors out with the following message on Bazel 5. This is not an issue with Bazel but I would appreciate if someone can help with what extra steps are needed to make it work.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
repro.zip
repro directory
Steps:
./bazel-4.2.2-darwin-x86_64 build :ExampleLib
. The build will be successful../bazel-5.0.0-darwin-x86_64 build :ExampleLib
. The build will fail with the following error:What operating system are you running Bazel on?
OS: macOS Big Sur 11.6
Bazel 4.2.2, 5.0.0
What's the output of
bazel info release
?release 5.0.0
Any other information, logs, or outputs that you want to share?
NA
The text was updated successfully, but these errors were encountered: