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] Errors loading package: 'android_library' and 'android_binary' are not defined #1262

Closed
sgowroji opened this issue Oct 4, 2024 · 2 comments

Comments

@sgowroji
Copy link

sgowroji commented Oct 4, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4170#019255c7-940b-46c8-a7a2-be39f08a181f

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-qpvh/bazel-org-repo-root/rules_jvm_external/examples/simple/BUILD:1:1: name 'android_library' is not defined
ERROR: �[0m/var/lib/buildkite-agent/builds/bk-docker-qpvh/bazel-org-repo-root/rules_jvm_external/examples/simple/BUILD:12:1: name 'android_binary' is not defined
ERROR: �[0mpackage contains errors: 
ERROR: �[0mpackage contains errors: : name 'android_library' is not defined
ERROR: �[0mSkipping '//...': Error evaluating '//...': error loading package '': Package '' contains errors

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_jvm_external
git reset 2deeda518cf1ccb847c6e188bb3bf7d3f6fb7496  --hard
export USE_BAZEL_VERSION=166eaa09f9cd31836df898ea236e1e0633a73b12
bazel build //... 

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