Building weston for aarch64 fails
I've just tried to make an image for aarch64 but the install fails at compiling weston
**mtdev-dev-1.1.5-r1 - Multitouch Protocol Translation Library Development Package (development files)
libxft-2.3.2-r1 - FreeType-based font drawing library for X
graphite2-1.3.10-r0 - reimplementation of the SIL Graphite text processing engine
harfbuzz-1.4.6-r0 - Text shaping library
pango-1.40.5-r0 - A library for layout and rendering of text
icu-libs-58.2-r2 - International Components for Unicode library (libraries)
harfbuzz-icu-1.4.6-r0 - Harfbuzz ICU support library
graphite2-dev-1.3.10-r0 - reimplementation of the SIL Graphite text processing engine (development files)
icu-dev-58.2-r2 - International Components for Unicode library (development files)
harfbuzz-dev-1.4.6-r0 - Text shaping library (development files)
libxft-dev-2.3.2-r1 - FreeType-based font drawing library for X (development files)
pango-dev-1.40.5-r0 - A library for layout and rendering of text (development files)
wayland-protocols-1.7-r3 - Protocols and protocol extensions complementing the Wayland core protocol
xkeyboard-config-2.21-r0 - X keyboard configuration files
popt-1.16-r6 - A commandline option parser
distcc-3.1-r12 - A distributed C, C++, Obj C compiler
(008007) [22:53:08] (buildroot_aarch64) build aarch64/weston-9999-r0.apk
(008007) [22:53:08] (buildroot_aarch64) % rm -rf /home/user/build
(008007) [22:53:08] % sudo cp -r /home/martijn/Projects/Other/pmbootstrap/aports/weston/ /home/martijn/.local/var/pmbootstrap/chroot_buildroot_aarch64/home/user/build
(008007) [22:53:08] (buildroot_aarch64) % chown -R user:user /home/user/build
(008007) [22:53:08] (buildroot_aarch64) % cd /home/user/build && su user -c 'CARCH=aarch64 PATH=/usr/lib/distcc/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISTCC_HOSTS=127.0.0.1:33632 abuild -d'
>>> ERROR: weston: all failed
(008007) [22:53:08] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(008007) [22:53:08] NOTE: The failed command's output is above the ^^^ line in the logfile: /home/martijn/.local/var/pmbootstrap/log.txt
(008007) [22:53:08] ERROR: Command failed: (buildroot_aarch64) % cd /home/user/build && su user -c 'CARCH=aarch64 PATH=/usr/lib/distcc/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISTCC_HOSTS=127.0.0.1:33632 abuild -d'
(008007) [22:53:08] Run 'pmbootstrap log' for details.
(008007) [22:53:08] Traceback (most recent call last):
File "/home/martijn/Projects/Other/pmbootstrap/pmb/helpers/run.py", line 39, in core
stderr=args.logfd)
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '/usr/bin/sh', '-c', 'unset $(env | cut -d= -f1); CHARSET=UTF-8 PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/ash HISTFILE=~/.ash_history /usr/bin/chroot /home/martijn/.local/var/pmbootstrap/chroot_buildroot_aarch64 sh -c \'cd /home/user/build;su user -c \'"\'"\'CARCH=aarch64 PATH=/usr/lib/distcc/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISTCC_HOSTS=127.0.0.1:33632 abuild -d\'"\'"\'\'']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./pmbootstrap.py", line 74, in main
pmb.install.install(args)
File "/home/martijn/Projects/Other/pmbootstrap/pmb/install/install.py", line 100, in install
pmb.build.package(args, pkgname, args.deviceinfo["arch"])
File "/home/martijn/Projects/Other/pmbootstrap/pmb/build/package.py", line 59, in package
package(args, depend, carch)
File "/home/martijn/Projects/Other/pmbootstrap/pmb/build/package.py", line 107, in package
pmb.chroot.user(args, cmd, suffix, "/home/user/build")
File "/home/martijn/Projects/Other/pmbootstrap/pmb/chroot/user.py", line 32, in user
auto_init, return_stdout, check)
File "/home/martijn/Projects/Other/pmbootstrap/pmb/chroot/root.py", line 85, in root
return_stdout, check)
File "/home/martijn/Projects/Other/pmbootstrap/pmb/helpers/run.py", line 52, in core
raise RuntimeError("Command failed: " + log_message) from exc
RuntimeError: Command failed: (buildroot_aarch64) % cd /home/user/build && su user -c 'CARCH=aarch64 PATH=/usr/lib/distcc/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISTCC_HOSTS=127.0.0.1:33632 abuild -d'
**
My current branch: https://github.com/MartijnBraam/pmbootstrap/tree/device-raspi3