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] Error: no native function or rule 'java_proto_library' #86

Closed
sgowroji opened this issue Nov 13, 2024 · 2 comments · Fixed by #95
Closed

[Bazel CI] Error: no native function or rule 'java_proto_library' #86

sgowroji opened this issue Nov 13, 2024 · 2 comments · Fixed by #95

Comments

@sgowroji
Copy link
Member

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4264#019323b6-0235-4d23-9341-d5deb434f9e4

Platform: Ubuntu

Logs:

Error: no native function or rule 'java_proto_library'

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_android_ndk
git reset cb776db8e671084669f141d2003e1b61c1a7d21b  --hard
export USE_BAZEL_VERSION=471aca124968977ecf1920711811c37ce19c1aa7
bazel build --incompatible_disallow_empty_glob --incompatible_enable_android_toolchain_resolution --android_platforms=//:arm64-v8a,//:x86 --enable_bzlmod=False --enable_workspace=True  //java/com/app:app 

CC Greenteam @fweikert

@ted-xie
Copy link
Collaborator

ted-xie commented Dec 3, 2024

This will be fixed in the near future, once rules_android 0.6 is out and we can bump up other dependencies simultaneously.

@sgowroji
Copy link
Member Author

@ted-xie Any update on the above issue?

meteorcloudy pushed a commit to bazelbuild/continuous-integration that referenced this issue Jan 23, 2025
Disabling rules_android and rules_android_ndk as there is no much
response and failures are seeing in the downstream from long period.

rules_android
bazelbuild/rules_android#261
bazelbuild/rules_android#266
bazelbuild/rules_android#328

rules_android_ndk
bazelbuild/rules_android_ndk#83
bazelbuild/rules_android_ndk#86
bazelbuild/rules_android_ndk#88
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

Successfully merging a pull request may close this issue.

2 participants