bazelbuild/bazel

query "@bazel_tools/..." fails

Open

#19,668 建立於 2023年9月28日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Java (4,465 fork)batch import
P2help wantedteam-ExternalDepstype: bug

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

Description of the bug:

bazel query "@bazel_tools//tools/..." works fine and lists a number of labels

However:

$ bazel query  "@bazel_tools//..."
ERROR: error loading package under directory '': error loading package '@bazel_tools//src/main/protobuf': Unable to find package for @com_google_protobuf//:protobuf.bzl: The repository '@com_google_protobuf' could not be resolved: Repository '@com_google_protobuf' is not defined.\

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

set up any simple workspace and run bazel query "@bazel_tools/..."

Which operating system are you running Bazel on?

Debian GNU/Linux rodete

What is the output of bazel info release?

release 6.3.2

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

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

貢獻者指南