bazelbuild / rules_kotlin

Bazel rules for Kotlin
Apache License 2.0
331 stars 206 forks source link

[Bazel CI] Build failed with errors in `rules_kotlin` and 'android_ndk_repository' is not defined` #1204

Open sgowroji opened 1 month ago

sgowroji commented 1 month ago

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4045#01913553-7d45-48d7-8256-b0f56ad4aef2

Platform: Ubuntu

Logs:

ERROR: /var/lib/buildkite-agent/builds/bk-docker-00b7/bazel-org-repo-root/rules_kotlin/examples/jetpack_compose/WORKSPACE:89:1: name 'android_ndk_repository' is not defined (did you mean 'android_sdk_repository'?)
ERROR: error loading package '': Encountered error while reading extension file 'host/extension.bzl': no such package '@@internal_platforms_do_not_use//host': error loading package 'external': Could not load //external package
Error: Command '['bazel', '--nosystem_rc', '--nohome_rc', 'info']' returned non-zero exit status 1.

CC Greenteam @meteorcloudy

meteorcloudy commented 1 month ago

Should be caused by https://github.com/bazelbuild/bazel/commit/cd8a1551ad624c95d8f0f633fe4200be8593f175