bazelbuild / rules_kotlin

Bazel rules for Kotlin
Apache License 2.0
328 stars 205 forks source link

[ Bazel ci] Error name 'aar_import' is not defined with Bazel@HEAD #1172

Open sgowroji opened 1 month ago

sgowroji commented 1 month ago

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3858#018f7a6e-1950-49f1-9151-af3cc2389a2e

Platform: Ubuntu

Logs:

ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/d15077c341827e73bf2d88b7f622d6f3/external/maven/BUILD:9:1: name 'aar_import' is not defined (did you mean 'cc_import'?)

Culprit: https://github.com/bazelbuild/bazel/commit/947c72d699321c97518dbebe0e8ca59621b5da21

Steps:

 git clone https://github.com/bazelbuild/rules_kotlin
git reset 42ea2e5539ec52ef93cf29607aa889b7d57ea320  --hard
export USE_BAZEL_VERSION=88a230f4cf28deec1455cb2caed4dc9f81e108c9
bazel test  //app:all 

CC Greenteam @fweikert

sgowroji commented 1 month ago

CC @ahumesky @ted-xie

restingbull commented 1 month ago

Should be fixed by https://github.com/bazelbuild/rules_jvm_external/pull/1149