-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected builtin dependencies being loaded #24871
Comments
The dependency path that led to
|
Looks like what actually needs rules_foriegn_cc is only |
Why is |
bazelbuild/bazel-central-registry#3472 may help cut the dependency on grpc. |
gRPC doesn't use a separate testing module. IIRC The problem was parsing BUILD files loading google_benchmark fails without this dependency. |
Checking where it is used in https://github.com/search?q=repo%3Agrpc%2Fgrpc+google_benchmark&type=code, doesn't yield any results. Maybe this dependency could just be removed? |
@mering Indeed, I guess so. At least for building the targets listed in the presubmit.yml file. |
Description of the bug:
I noticed on bazelbuild/rules_rust#3077 that one of the extensions fails with references to
rules_foreign_cc
whichrules_rust
does not use (to my knowledge) for any dependencies.https://buildkite.com/bazel/rules-rust-rustlang/builds/13675#0194496d-7d43-4239-a8b9-bf9b265ad98d
Note that
rules_rust
uses--incompatible_autoload_externally=
I ran
bazel build --experimental_repository_resolved_file=resolved.json //...
and found the following entry:Why would this be showing up at all?
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.
extensions/prost
bazel test //...
Which operating system are you running Bazel on?
Linux, Macos, Windows
What is the output of
bazel info release
?8.0.0
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 HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
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
The text was updated successfully, but these errors were encountered: