On 05/10/2016 02:18 PM, Luke Shumaker wrote: > André Silva wrote: >>> ==> Starting to build the package... >>> | setarch: armv7h: Unrecognized architecture >> >> I tried use coadde solution [0] and now it has been solved, >> >> [0]:https://projects.parabola.nu/packages/devtools-par.git/commit/?id=c3819bb4224622c6d10ab7a3511472f314e026ba > > This should not be nescessary. Libretools arch-nspawn has the `-s` > flag to turn off setarch, and libre > > Can you stick a `set -x` in the function `hack_arch_nspawn_flags()` in > `/usr/bin/librechroot` to see why it isn't tacking on that flag to the > `arch_nspawn_flags` array? >
ok, it's the log: ==> Starting to build the package... | + getopts hC:M:c:f:s arg | + local CARCH | + [[ -f /mnt/libretools/chroot-armv7h/emulatorman/etc/makepkg.conf ]] | ++ grep '^CARCH=' /mnt/libretools/chroot-armv7h/emulatorman/etc/makepkg.conf | + eval 'CARCH="armv7h"' | ++ CARCH=armv7h | + [[ armv7h == armv7h ]] | + setarch armv7l | + grep -xF enabled /proc/sys/fs/binfmt_misc/arm | + grep -xF 'interpreter /usr/bin/qemu-arm-static' /proc/sys/fs/binfmt_misc/arm | + arch_nspawn_flags+=(-f /usr/bin/qemu-arm-static -s) | + /usr/lib/libretools/chroot/arch-nspawn -f /usr/bin/qemu-arm-static -s /mnt/libretools/chroot-armv7h/emulatorman --bind-ro=/home/emulatorman/parabola-projects/packages/abslibre/libre/pacman:/startdir_host --bind-ro=/home/emulatorman/parabola-projects/packages/abslibre/libre/pacman:/srcdest_host -- true | setarch: armv7h: Unrecognized architecture Maybe '-s' should be before than '/usr/bin/qemu-arm-static' to make effect and solve the issue, eg. arch_nspawn_flags+=(-f -s /usr/bin/qemu-arm-static)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
