Error : no such target '@rules_jvm_external~4.5~maven~rules_android_maven//:androidx_privacysandbox_tools_tools' with Bazel 6.3.2
sgowroji opened this issue · 2 comments
sgowroji commented
https://buildkite.com/bazel/rules-android/builds/1752#018a07ce-d624-41ea-8a8b-a685f6cf8aba
Platform : MacOS, Ubuntu, Windows
Logs :
ERROR: /private/var/tmp/_bazel_buildkite/eb92e29f69f5c678104346ca075b72a2/external/rules_jvm_external~4.5~maven~rules_android_maven/BUILD: no such target '@rules_jvm_external~4.5~maven~rules_android_maven//:androidx_privacysandbox_tools_tools': target 'androidx_privacysandbox_tools_tools' not declared in package '' defined by /private/var/tmp/_bazel_buildkite/eb92e29f69f5c678104346ca075b72a2/external/rules_jvm_external~4.5~maven~rules_android_maven/BUILD (Tip: use `query "@rules_android_maven//:*"` to see all the targets in that package)
(10:42:33) ERROR: /Users/buildkite/builds/bk-imacpro-3/bazel/rules-android/src/tools/javatests/com/google/devtools/build/android/sandboxedsdktoolbox/apidescriptors/testlibrary/BUILD:12:16: no such target '@rules_jvm_external~4.5~maven~rules_android_maven//:androidx_privacysandbox_tools_tools': target 'androidx_privacysandbox_tools_tools' not declared in package '' defined by /private/var/tmp/_bazel_buildkite/eb92e29f69f5c678104346ca075b72a2/external/rules_jvm_external~4.5~maven~rules_android_maven/BUILD (Tip: use `query "@rules_android_maven//:*"` to see all the targets in that package) and referenced by '//src/tools/javatests/com/google/devtools/build/android/sandboxedsdktoolbox/apidescriptors/testlibrary:testlibrary'
(10:42:34) ERROR: Analysis of target '//src/tools/javatests/com/google/devtools/build/android/sandboxedsdktoolbox/apidescriptors/testlibrary:testlibrary' failed; build aborted: Analysis failed
Steps :
git clone https://github.com/bazelbuild/rules_android.git && cd
export USE_BAZEL_VERSION=6.3.2
bazel build --enable_bzlmod //src/... //test/... //android/... //rules/... -//src/java/com/example/sampleapp/... //toolchains/... //tools/... -//tools/android/...
CC Greenteam @SalmaSamy
ted-xie commented
OK, I guess this isn't actually fixed yet. Will look at it again.