Build of libvterm with android toolchain

The build took 00h 00m 43s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
5,574 ansic
261 sh
171 perl
105 makefile
6,111 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: libvterm 0.1.git1.c4317a6-2 (Tue Apr 4 19:51:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC src/state.c
# CC src/parser.c
# CC src/screen.c
# CC src/pen.c
# CC src/vterm.c
# CC src/mouse.c
# TBL src/encoding/DECdrawing.tbl
# TBL src/encoding/uk.tbl
# CC src/keyboard.c
# CC src/unicode.c
# src/unicode.c:217:12: warning: 'mk_wcswidth' defined but not used [-Wunused-function]
# static int mk_wcswidth(const wchar_t *pwcs, size_t n)
# ^
# src/unicode.c:308:12: warning: 'mk_wcswidth_cjk' defined but not used [-Wunused-function]
# static int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n)
# ^
# CC src/encoding.c
# LINK libvterm.la
# cc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
# compilation terminated.
# make: *** [Makefile:55: libvterm.la] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...