Build of floyd with android toolchain

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

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

SLOCLanguage
1,789 ansic
129 makefile
51 sh
1,969 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: floyd 2.0.1-5 (Tue Apr 4 19:44:46 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file floyd.c
# patching file voodoo.c
# make PDEFS="-DPTHREAD -DPROCTHREAD -D_REENTRANT" pfloyd -kj6
# make[1]: warning: -jN forced in submake: disabling jobserver mode.
# make[1]: Entering directory '/tmp/floyd/src/floyd-2.0.1'
# arm-linux-androideabi-gcc -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o floyd.o floyd.c
# arm-linux-androideabi-gcc -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o packetload.o packetload.c
# arm-linux-androideabi-gcc -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o led.o led.c
# arm-linux-androideabi-gcc -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o jobmgr.o jobmgr.c
# arm-linux-androideabi-gcc -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o voodoo.o voodoo.c
# floyd.c:899:6: warning: return type of 'main' is not 'int' [-Wmain]
# void main(int ac, char **av) {
# ^
# cc -o floyd floyd.o packetload.o led.o jobmgr.o voodoo.o -lpthread
# c: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
# compilation terminated.
# make[1]: *** [Makefile:72: pfloyd] Error 1
# make[1]: Leaving directory '/tmp/floyd/src/floyd-2.0.1'
# make: *** [Makefile:75: pthread] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...