Remote Build Failure with Kleaf on Android Common Kernel (14-6.1): Missing libcrypto-host.so

27 views
Skip to first unread message

Dhanalakshmi Durairaj

unread,
Aug 21, 2025, 5:41:30 AMAug 21
to bazel-...@googlegroups.com
Hi everyone,

I am trying to build the Android Common Kernel (repo: `common-android14-6.1`) using Kleaf with Remote Build Execution (RBE). I'm using our own cluster setup with Buildfarm.

- **Host platform**: Ubuntu 20.04
- **Cluster machines**: Ubuntu 20.04
- **Reference**: [Android Kernel Build Guide](https://source.android.com/docs/setup/build/building-kernels)

The command I am running is:

```bash
tools/bazel run //common:kernel_aarch64_dist \
  --config=remote \
  --remote_executor=grpc://<IP_ADDRESS>:<PORT> \
  -- --destdir=out_dir

I got this error:
/path/android-kernel/build/kernel/BUILD.bazel:31:15: Creating wrapper for tar: @//build/kernel:hermetic-tools [for tool] failed: (Exit 127): bash failed: error executing HermeticToolsTar command (from target //build/kernel:hermetic-tools) /bin/bash -c ... (remaining 1 argument skipped)
realpath: error while loading shared libraries: libcrypto-host.so: cannot open shared object file: No such file or directory
Target //common:kernel_aarch64_dist failed to build

Is there a recommended way to resolve this, especially when using Buildfarm for remote execution?

Any help or suggestions would be greatly appreciated!

Thanks & Regards,
Dhanalakshmi Durairaj
Reply all
Reply to author
Forward
0 new messages