build issue due to busybox cpio being used despite cpio package being installed
On the Alpine builders, on certain architectures (x86, aarch64, ..), apenwarr-redo failed to build when being automatically being built.
The error message is the busybox cpio
usage message:
do docs/cookbook/container/libs.layer
BusyBox v1.31.0 (2019-10-26 11:16:16 UTC) multi-call binary.
Usage: cpio [-dmvu] [-F FILE] [-R USER[:GRP]] [-H newc] [-tio] [-p DIR] [EXTR_FILE]...
The log shows that the cpio
package is being installed:
(7/11) Installing cpio (2.12-r3)
The code in that file is:
sed -e 's/ [^ ]*$//' <$2.list |
(
cd "$2"
"$d/try_fakeroot.sh" "$d/$2.fakeroot" \
cpio -Hustar -o
) >$3
So it should just use whatever is in $PATH
.
When building manually on the builder (abuild -r
), it succeeds.