Skip to content

rules_proto release build fails with wrong bazel-cache #16

@meteorcloudy

Description

@meteorcloudy

https://github.com/bazelbuild/rules_proto/actions/runs/9520256013/job/26245280441

ERROR: error loading package under directory '': error loading package '~/.cache/bazel-repo/bazel/_bazel_runner/43914acf8bee29fb1d82f3e3dee22a49/external/bazel_tools/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/jarhelper': Unable to find package for @@[unknown repo 'rules_java' requested from @@]//java:defs.bzl: The repository '@@[unknown repo 'rules_java' requested from @@]' could not be resolved: No repository visible as '@rules_java' from main repository.

This error is not reproducible locally from rules_proto @ bazelbuild/rules_proto@8df2b70

The previous run was with 7.1.1 and this one is with Bazel 7.2.0, therefore I suspect the wrong cache was used in the build.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions