Skip to content

Kleaf broken with Bazel 7.2.0-rc2 #22600

@oquenchil

Description

@oquenchil

Possible culprit is #22407

mkdir android-kernel && cd android-kernel
repo init -u https://android.googlesource.com/kernel/manifest -b common-android-mainline
repo sync # Around 15 minutes
bazel build //common:kernel_kythe --//common:kernel_kythe_corpus=android.googlesource.com/kernel/superproject//common-android-mainline

The above requires first replacing the bazel binary at prebuilts/kernel-build-tools/bazel/linux-x86_64/bazel-7.2.0rc1-linux-x86_64 with rc2, keep the same file name when replacing (i.e. bazel-7.2.0rc1-linux-x86_64), so that the symlinks don't break (or fix the symlinks).

More info about building the kernel: https://source.android.com/docs/setup/build/building-kernels.

Error log: https://ci.android.com/builds/submitted/11909039/kleaf_kythe/latest/view/logs%2Fbuild.log

Metadata

Metadata

Assignees

Labels

P0This is an emergency and more important than other current work. (Assignee required)team-Local-ExecIssues and PRs for the Execution (Local) teamtype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions