External repository referring unexported files #15185
Labels
not stale
Issues or PRs that are inactive but not considered stale
P2
We'll consider working on this in future. (Assignee optional)
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: bug
Description of the problem / feature request:
When an external repository refers to an unexported files, builds can still succeed, only queries with
deps
would fail. This is inconsistent.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
bazel build @zlib//:all
, it would succeedbazel query 'deps(//external:zlib)'
, it would fail with:What operating system are you running Bazel on?
macOS
What's the output of
bazel info release
?release 5.1.0
Any other information, logs, or outputs that you want to share?
This bug has existed for a long time. #8175 is a symptom of it. #15134 fixed the symptom, but it doesn't prevent it from coming back.
The text was updated successfully, but these errors were encountered: