Build of unzip with android toolchain

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

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

SLOCLanguage
55,062 ansic
4,084 cpp
2,454 makefile
1,789 asm
1,012 cs
111 sh
64,512 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: unzip 6.0-12 (Tue Apr 4 22:16:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT unzip.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT crc32.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT crypt.c
# cc -c -I. -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
# -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
# -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNOMEMCPY -DNO_WORKING_ISPRINT envargs.c
# In file included from unzpriv.h:561:0,
# from unzip.h:718,
# from unzip.c:68:
# unix/unxcfg.h:53:64: fatal error: sys/types.h: No such file or directory
# #include /* off_t, time_t, dev_t, ... */
# ^
# compilation terminated.
# In file included from unzpriv.h:561:0,
# from unzip.h:718,
# from envargs.c:33:
# unix/unxcfg.h:53:64: fatal error: sys/types.h: No such file or directory
# #include /* off_t, time_t, dev_t, ... */
# ^
# compilation terminated.
# make: *** [unix/Makefile:234: unzip.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [unix/Makefile:234: envargs.o] Error 1
# In file included from unzpriv.h:561:0,
# from unzip.h:718,
# from zip.h:18,
# from crc32.c:24:
# unix/unxcfg.h:53:64: fatal error: sys/types.h: No such file or directory
# #include /* off_t, time_t, dev_t, ... */
# ^
# compilation terminated.
# In file included from unzpriv.h:561:0,
# from unzip.h:718,
# from zip.h:18,
# from crypt.c:33:
# unix/unxcfg.h:53:64: fatal error: sys/types.h: No such file or directory
# #include /* off_t, time_t, dev_t, ... */
# ^
# compilation terminated.
# make: *** [unix/Makefile:234: crc32.o] Error 1
# make: *** [unix/Makefile:234: crypt.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...