rules_foreign_cc icon indicating copy to clipboard operation
rules_foreign_cc copied to clipboard

[Bazel CI] Error: no native function or rule 'android_sdk_repository'

Open sgowroji opened this issue 4 months ago • 0 comments

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

sgowroji avatar Oct 17 '24 09:10 sgowroji