Build of libmilter with android toolchain

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

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

SLOCLanguage
94,648 ansic
3,296 perl
1,128 sh
586 makefile
99,658 total

The process tree of the build process is here.

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

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: libmilter 8.15.1-2 (Tue Apr 4 21:17:45 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Configuration: pfx=, os=Linux, rel=4.10.6-1-ARCH, rbase=4, rroot=4.10, arch=x86_64, sfx=, variant=optimized
# Using M4=/usr/sbin/m4
# Creating /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter using /tmp/libmilter/src/sendmail-8.15.1/devtools/OS/Linux
# Making dependencies in /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter
# ln -f -s ../../libsm/errstring.c .
# ln -f -s ../../libsm/strl.c .
# rm -f sm_os.h
# ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h
# cc -M -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT main.c engine.c listener.c worker.c handler.c comm.c smfi.c signal.c sm_gethost.c monitor.c errstring.c strl.c >> Makefile
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from main.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from engine.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from listener.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from worker.c:13:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from handler.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from comm.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from smfi.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from signal.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from sm_gethost.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from monitor.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from errstring.c:13:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from strl.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:312: depend] Error 1
# Making in /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o main.o main.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o engine.o engine.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o listener.o listener.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o worker.o worker.c
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from listener.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from engine.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from main.c:11:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [: listener.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from ../../include/sm/config.h:23:0,
# from ../../include/sm/gen.h:20,
# from worker.c:13:
# ./sm_os.h:19:27: fatal error: linux/version.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [: engine.o] Error 1
# make: *** [: main.o] Error 1
# make: *** [: worker.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...