@bazel_tools references missing targets below tools/cpp/runfiles #15397
Labels
help wanted
Someone outside the Bazel team could own this
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: bug
Description of the bug:
The exported version of
@bazel_tools//tools/cpp:srcs
references a label that does not exist.This causes a cquery to fail:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Executing cquery:
Which operating system are you running Bazel on?
Windows 10 and ubuntu 20.04
What is the output of
bazel info release
?release 5.1.1
If
bazel info release
returnsdevelopment 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?
I searched the issues https://github.com/bazelbuild/bazel/issues for similar issues.
Any other information, logs, or outputs that you want to share?
I found a difference in https://github.com/bazelbuild/bazel/blob/5.1.1/tools/cpp/BUILD.tools#L487 .
As compared to: https://github.com/bazelbuild/bazel/blob/5.1.1/tools/cpp/BUILD#L24
I can't tell whether the referred target https://github.com/bazelbuild/bazel/blob/5.1.1/tools/cpp/runfiles/BUILD#L4 should be also included in https://github.com/bazelbuild/bazel/blob/5.1.1/tools/cpp/runfiles/BUILD.tools or if the dangling reference should be removed.
The text was updated successfully, but these errors were encountered: