Extra Actions Proto Contains grep-includes.sh as though it were a C++ Header #12858
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
Description of the problem:
The sources_and_headers attribute of the @bazel_tools//src/main/protobuf:extra_actions_base_proto provided to CppCompile and ObjcCompile (mnemonic) actions contains 'external/bazel_tools/tools/cpp/grep-includes.sh'. This feels like it has to be a mistake, since that's an unimplemented tool, not a c-language family file.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
As in #12852, I think the fastest way to do that would be to grab Kythe's implementation of an extractor (https://github.com/kythe/kythe/blob/master/kythe/cxx/extractor/README.md) and examine the extra_actions_base_proto's sources_and_headers attribute.
What operating system are you running Bazel on?
macOS 11
What's the output of
bazel info release
?3.7.2
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?This is a private repo for now.
Have you found anything relevant by searching the web?
Yep. Results of learnings above.
The text was updated successfully, but these errors were encountered: