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 'android_sdk_repository' #1304

Open
sgowroji opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@sgowroji
Copy link
Contributor

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4205#019298aa-7900-4d3f-97de-6720b25ff88c

Platform: Ubuntu

Logs:

ERROR: �[0mTraceback (most recent call last):
Error: no native function or rule 'android_sdk_repository'
ERROR: �[0mError computing the main repository mapping: Encountered error while reading extension file 'defs.bzl': no such package '@@python3_10//': error loading package 'external': Could not load //external package
Error: The command exited with status 1�[0m
error: The plugin docker command hook exited with status 1

Culprit:

Steps:

git clone https://github.com/bazelbuild/rules_foreign_cc
git reset b25485b26d6ddf6be8bde2bc0c651b1a06ebe54c  --hard
export USE_BAZEL_VERSION=1d022f403d26505d6edda73a50e08da53109dd3b
bazel build  --noenable_bzlmod --enable_workspace -- //... //:third_party_examples_linux_tests 

CC Greenteam @meteorcloudy

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

1 participant