Created attachment 846794 [details] build.log for armv7a-unknown-linux-gnueabihf Host: x86_64 Target: armv7a For some reason it compiles to aarch64 just fine.
Created attachment 846796 [details] armv7a-unknown-linux-gnueabihf --info
Are you using busybox[install-symlinks]?
(In reply to Sam James from comment #2) > Are you using busybox[install-symlinks]? armv7a-unknown-linux-gnueabihf --info busybox emerge --info busybox Both say no
(In reply to tgyt from comment #3) > (In reply to Sam James from comment #2) > > Are you using busybox[install-symlinks]? > > armv7a-unknown-linux-gnueabihf --info busybox > emerge --info busybox > > Both say no But for aarch64: sys-apps/busybox-1.34.1::gentoo was built with the following: USE="ipv6 pam -debug -livecd -make-symlinks -math -mdev -savedconfig (-selinux)" CFLAGS="-O3 -pipe -mcpu=cortex-a53+crypto+crc --param l1-cache-size=32 --param " CXXFLAGS="-O3 -pipe -mcpu=cortex-a53+crypto+crc --param l1-cache-size=32 --para"
It works fine here with the same tuple and profile. 🤷♂️
Tried with 1.9.12_p1, same result
(In reply to James Le Cuirot from comment #5) > It works fine here with the same tuple and profile. 🤷♂️ Providing log of successful build can be helpful.
Created attachment 847588 [details] Successful build.log I ran this: sudo env CROSS_CMD="ebuild" USE="-sendmail -nls -ssl" armv7a-unknown-linux-gnueabihf-emerge /usr/portage/app-admin/sudo/sudo-1.9.12_p1.ebuild clean install
(In reply to James Le Cuirot from comment #8) > Created attachment 847588 [details] > Successful build.log > > I ran this: > > sudo env CROSS_CMD="ebuild" USE="-sendmail -nls -ssl" > armv7a-unknown-linux-gnueabihf-emerge > /usr/portage/app-admin/sudo/sudo-1.9.12_p1.ebuild clean install Same failure. I see difference: in my log /bin/bash is called, but in yours /bin/sh, but I don't thinks this is why it fails.
Key error, as I forgot to paste it in earlier: ``` Usage: install-sh [flags] source destination make[1]: *** [Makefile:359: install] Error 1 make[1]: Leaving directory '/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/app-admin/sudo-1.9.11_p3-r1/work/sudo-1.9.11p3/lib/util' make: *** [Makefile:190: install] Error 2 ```