Skip to content
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

[Bazel CI] Build failed: undeclared inclusion(s) in rules //src/google/protobuf/util:field_mask_util and //src/google/protobuf/json:json with Bazel@HEAD #16589

Open
sgowroji opened this issue Apr 22, 2024 · 1 comment

Comments

@sgowroji
Copy link

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3807#018f03f8-f53a-4093-8e48-90ee26bd8b5c

Platform: Windows

Logs:

ERROR: �[0mC:/b/bk-windows-xd7b/bazel-org-repo-root/protobuf/src/google/protobuf/util/BUILD.bazel:112:11: Compiling src/google/protobuf/util/field_mask_util.cc failed: undeclared inclusion(s) in rule '//src/google/protobuf/util:field_mask_util':
ERROR: �[0mC:/b/bk-windows-xd7b/bazel-org-repo-root/protobuf/src/google/protobuf/json/BUILD.bazel:13:11: Compiling src/google/protobuf/json/json.cc failed: undeclared inclusion(s) in rule '//src/google/protobuf/json:json':

Culprit: bazelbuild/bazel@74c8ca4

Steps:

git clone https://github.com/google/protobuf
git reset d1cf09abcff7636101fd27e94ea5aa7b9f603f5e  --hard
export USE_BAZEL_VERSION=d37762b494a4e122d46a5a71e3a8cc77fa15aa25
bazel build //:protobuf //:protobuf_java 

CC Greenteam @Wyverald

@Wyverald
Copy link
Contributor

The culprit commit is actually a different one -- bazelbuild/bazel@74c8ca4 broke CI in a different way, unfortunately. I'll need to dig a bit deeper to actually root-cause this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants