Build of lrs with android toolchain

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

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

SLOCLanguage
10,694 ansic
418 cpp
86 makefile
11,198 total

The process tree of the build process is here.

List of Errors

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: lrs 062-1 (Tue Apr 4 21:15:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -c -O3 -DTIMES -DSIGNALS -DGMP -o lrslib-GMP.o lrslib.c
# arm-linux-androideabi-gcc -c -O3 -DTIMES -DSIGNALS -DGMP -o lrsgmp-GMP.o lrsgmp.c
# arm-linux-androideabi-gcc -c -O3 -DTIMES -DSIGNALS -DGMP -o 2nash-GMP.o 2nash.c
# arm-linux-androideabi-gcc -c -O3 -DTIMES -DSIGNALS -DGMP -o lrs-GMP.o lrs.c
# In file included from lrsgmp.c:16:0:
# lrsgmp.h:33:17: fatal error: gmp.h: No such file or directory
# #include "gmp.h"
# ^
# compilation terminated.
# In file included from lrslib.h:51:0,
# from lrslib.c:27:
# lrsgmp.h:33:17: fatal error: gmp.h: No such file or directory
# #include "gmp.h"
# ^
# compilation terminated.
# make: *** [makefile:72: lrsgmp-GMP.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [makefile:72: lrslib-GMP.o] Error 1
# In file included from lrslib.h:51:0,
# from lrs.c:3:
# lrsgmp.h:33:17: fatal error: gmp.h: No such file or directory
# #include "gmp.h"
# ^
# compilation terminated.
# make: *** [makefile:72: lrs-GMP.o] Error 1
# rm 2nash-GMP.o
# ==> ERROR: A failure occurred in build().
# Aborting...