Hello, I am trying to set up a chroot build environment for my Raspberry Pi 3 to allow building from AUR.
I am running into snags with platform settings. Help!
Here I am following the regular process from the Wiki.
$this->bbcode_second_pass_code('', '
# pacman -Suy # System is up-to-date
# uname -a
Linux rpi 4.9.51-1-ARCH #1 SMP Sat Sep 23 00:35:12 UTC 2017 armv7l GNU/Linux
# mkarchroot chroot base
...
setarch: armv7h: Unrecognized architecture
#
# arch-nspawn chroot
setarch: armv7h: Unrecognized architecture
')
If I try some manual workarounds, I just seem to dig myself deeper.
$this->bbcode_second_pass_code('', '
# mkdir chroot1
# pacstrap -c -d chroot1/ base
#
# arch-nspawn chroot1
==> ERROR: '/root/chroot1' does not appear to be an Arch chroot.
# systemd-nspawn -D chroot1
Spawning container chroot1 on /root/chroot1.
Press ^] three times within 1s to kill container.
-bash: cannot set terminal process group (-1): Inappropriate ioctl for device
-bash: no job control in this shell
[root@chroot1 ~]#
')
(Note the container came up this way, but I am getting some scary warnings from bash)
I am going about this the "right" way?
Should I (gulp!) consider a X86_64->ARMv7h cross-compile environment instead? Where to start?