ehsanghaffar / ehsanghaffar/handbuilt-linux
buildx failed
- Dominant language
- Shell
- Stars
- 16
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c make oldconfig && make -j\"${BUILD_JOBS:-$(nproc)}\" && make CONFIG_PREFIX=/build/initramfs install && strip /build/initramfs/bin/busybox" did not complete successfully: exit code: 2
This occurs during the BusyBox build stage in the multi-stage Docker build. The job exits with code 2 when invoking BusyBox build/install and strip. Steps to reproduce: run the GitHub Actions build or `docker build` with the provided `Dockerfile` and default args. Potential causes: missing build dependencies, kernel headers, incompatible config in `busybox.config`, or insufficient disk/CPU in the runner.
Please investigate the BusyBox build step and provide a fix (e.g. add missing packages, adjust build flags, ensure correct `CONFIG_PREFIX`, or handle strip failures).
Contributor guide
Assessment
This issue has not been assessed yet.