Bazel build for rules_docker#java_image fails with "No matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type. Maybe --incompatible_use_cc_configure_from_rules_cc has been flipped and there is no default C++ toolchain added in the WORKSPACE file" #15629
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-CPP
Issues for C++ rules
type: bug
type: process
Description of the bug:
While resolving toolchains for target //cover:cover_app_image.binary: No matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type. Maybe --incompatible_use_cc_configure_from_rules_cc has been flipped and there is no default C++ toolchain added in the WORKSPACE file? See #10134 for details and migration instructions.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
bazel build ...
What is the output of
bazel info release
?5.1.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.INFO: Invocation ID: 3799285a-78e6-44e4-842b-138b573a0955
release 5.1.1-homebrew
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: