Skip to content

depending on @bazel_tools//src/main/protobuf:deps_java_proto fails in nightly 9.0.0-pre.20250714.1 #26579

@nickbreen

Description

@nickbreen

Description of the bug:

Between 9.0.0-pre.20250710.1 and 9.0.0-pre.20250714.1 depending on @bazel_tools//src/main/protobuf:deps_java_proto has started failing with:

ERROR: /home/nick/src/unused-deps/BUILD.bazel:20:12: error loading package '@@bazel_tools//src/main/protobuf': Unable to find package for @@[unknown repo 'com_github_grpc_grpc' requested from @@bazel_tools]//bazel:cc_grpc_library.bzl: The repository '@@[unknown repo 'com_github_grpc_grpc' requested from @@bazel_tools]' could not be resolved: No repository visible as '@com_github_grpc_grpc' from repository '@@bazel_tools'. and referenced by '//:unused-deps'

This is reproduced in https://github.com/nickbreen/rules_unused_deps/actions/runs/16381662043/job/46294255914

Which category does this issue belong to?

Java Rules

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

This is reproduced in https://github.com/nickbreen/rules_unused_deps/actions/runs/16381662043/job/46294255914

Which operating system are you running Bazel on?

Ubuntu Noble
default Ubuntu github action runner

What is the output of bazel info release?

release 9.0.0-pre.20250714.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

N/A

What's the output of git remote get-url origin; git rev-parse HEAD ?

N/A

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

bazelisk --bisect=9.0.0-pre.20250710.1..9.0.0-pre.20250714.1 test ...

first bad commit is https://github.com/bazelbuild/bazel/commit/e6979d3f878ddd663f15a10b09407ecbb9380fee

e6979d3

Have you found anything relevant by searching the web?

No.

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

No

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions