-
Notifications
You must be signed in to change notification settings - Fork 4.4k
[6.0.0rc1] cc_proto_library analysis failure #16577
Copy link
Copy link
Closed
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)awaiting-user-responseAwaiting a response from the authorAwaiting a response from the authorteam-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: bug
Description
Description of the bug:
in @_builtins//:common/cc/cc_proto_library.bzl%_cc_proto_aspect aspect on proto_library rule @bazel//src/main/protobuf:execution_statistics_proto:
Traceback (most recent call last):
File "/virtual_builtins_bzl/common/cc/cc_proto_library.bzl", line 99, column 48, in _aspect_impl
File "/virtual_builtins_bzl/common/cc/cc_helper.bzl", line 191, column 17, in _find_cpp_toolchain
Error in fail: In order to use find_cpp_toolchain, you must include the '//tools/cpp:toolchain_type' in the toolchains argument to your rule.
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?
Linux, macOS
What is the output of bazel info release?
6.0.0rc1
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
Relevant commits: c8b7ed3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)awaiting-user-responseAwaiting a response from the authorAwaiting a response from the authorteam-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: bug