Build of mtd-utils with android toolchain

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

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

SLOCLanguage
31,661 ansic
521 sh
248 makefile
32,430 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: mtd-utils 1.5.2-1 (Tue Apr 4 20:50:00 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/mtd-utils/src/mtd-utils-1.5.2'
# CHK include/version.h
# CC lib/libmtd.o
# CC ftl_format.o
# CC lib/libmtd_legacy.o
# CC lib/libcrc32.o
# ftl_format.c:39:23: fatal error: sys/types.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [common.mk:83: /tmp/mtd-utils/src/mtd-utils-1.5.2/ftl_format.o] Error 1
# make: *** Waiting for unfinished jobs....
# lib/libmtd.c:24:20: fatal error: limits.h: No such file or directory
# #include
# ^
# compilation terminated.
# lib/libmtd_legacy.c:26:20: fatal error: limits.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [common.mk:83: /tmp/mtd-utils/src/mtd-utils-1.5.2/lib/libmtd.o] Error 1
# make: *** [common.mk:83: /tmp/mtd-utils/src/mtd-utils-1.5.2/lib/libmtd_legacy.o] Error 1
# lib/libcrc32.c:40:20: fatal error: stdint.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [common.mk:83: /tmp/mtd-utils/src/mtd-utils-1.5.2/lib/libcrc32.o] Error 1
# make: Leaving directory '/tmp/mtd-utils/src/mtd-utils-1.5.2'
# ==> ERROR: A failure occurred in build().
# Aborting...