bazel-contrib / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazel-contrib.github.io/rules_foreign_cc
Apache License 2.0
680 stars 249 forks source link

[Bazel CI] Error name 'aar_import' is not defined with Bazel@HEAD #1203

Open sgowroji opened 6 months ago

sgowroji commented 6 months ago

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3858#018f7a6e-1214-44e1-9c74-8643685e427a

Platform: Ubuntu

Logs:


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

Culprit: bazelbuild/bazel@947c72d

Steps:

 git clone https://github.com/bazelbuild/rules_foreign_cc
git reset 7ce62009557d73da9aa0d2a1ca7eded49078b3cf  --hard
export USE_BAZEL_VERSION=88a230f4cf28deec1455cb2caed4dc9f81e108c9
bazel build /... //:third_party_examples_linux_tests 

CC Greenteam @fweikert

sgowroji commented 6 months ago

CC  @ahumesky @ted-xie