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 failure due to missing android_binary definition in override_targets BUILD file #1258

Closed
sgowroji opened this issue Sep 28, 2024 · 2 comments

Comments

@sgowroji
Copy link

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4156#019236d0-9877-49a9-bded-dc70b68e5231

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-9dtz/bazel-org-repo-root/rules_jvm_external/tests/integration/override_targets/BUILD:10:1: name 'android_binary' is not defined
ERROR: �[0mSkipping '//tests/integration/override_targets:override_targets': no such target '//tests/integration/override_targets:override_targets': target 'override_targets' not declared in package 'tests/integration/override_targets' defined by /var/lib/buildkite-agent/builds/bk-docker-9dtz/bazel-org-repo-root/rules_jvm_external/tests/integration/override_targets/BUILD
ERROR: �[0mno such target '//tests/integration/override_targets:override_targets': target 'override_targets' not declared in package 'tests/integration/override_targets' defined by /var/lib/buildkite-agent/builds/bk-docker-9dtz/bazel-org-repo-root/rules_jvm_external/tests/integration/override_targets/BUILD

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_jvm_external
git reset 2deeda518cf1ccb847c6e188bb3bf7d3f6fb7496  --hard
export USE_BAZEL_VERSION=dfba96d081091e1e17c4f2b9970e8f79fca1dce6
bazel test //tests/integration/override_targets:override_targets 

CC Greenteam @mai93

@ahumesky
Copy link
Contributor

This is from the overall effort to remove the android rules from bazel, the work to update rules_jvm_external to Starlark rules_android is here: #1215

@jin
Copy link
Collaborator

jin commented Nov 25, 2024

Closing as duplicate of #1215

@jin jin closed this as completed Nov 25, 2024
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

3 participants