Skip to content

[Bazel CI] ERROR: Bazel Build Failure: android_split_transition.bzl transition inputs [//command_line_option:android_compiler] do not correspond to valid settings #544

Description

@TrigunTejaP

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5658#019fcaf8-6e93-4dfc-9742-305baf1d98a9

Platform : MaCos, Ubuntu, Windows


(06:21:39) ERROR: /Users/buildkite/Library/Caches/bazel/_bazel_buildkite/11ab2e286769cba637ee019a218ec936/external/rules_android+/rules/android_split_transition.bzl:116:38: transition inputs [//command_line_option:android_compiler] do not correspond to valid settings
--
  | (06:21:39) ERROR: /Users/buildkite/builds/bk-macos-arm64-ox8n/bazel-org-repo-root/rules_android_ndk/examples/basic/java/com/app/BUILD:4:15: on dependency edge //java/com/app:app (af88eab) -\|deps\|-> //java/com/app:applib: Errors encountered while applying Starlark transition
  | (06:21:39) ERROR: Analysis of target '//java/com/app:app' failed; build aborted
  | (06:21:39) INFO: Elapsed time: 27.791s, Critical Path: 0.01s
  | (06:21:39) INFO: 1 process: 1 internal.
  | (06:21:39) ERROR: Build did NOT complete successfully
  | (06:21:39) INFO: Build Event Protocol files produced successfully.
  | bazel build failed with exit code 1
  | 🚨 Error: The command exited with status 1
  | user command error: exit status 1

Culprit:

Steps:

git clone -v https://github.com/bazelbuild/rules_android_ndk.git /var/lib/buildkite-agent/builds/bk-docker-0x86/bazel-org-repo-root/rules_android_ndk
git reset 157fca490d822377974f6568a4bb4f4d599de3ad --hard
export USE_BAZEL_VERSION=909985a3b9a1f71106e7cba31eb862078e5bdebe
bazel build --enable_bzlmod=True --android_platforms=//:arm64-v8a,//:x86 -- //java/com/app:app

CC: Greenteam @fweikert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions