Build of dos2unix with android toolchain

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

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

SLOCLanguage
3,868 ansic
569 makefile
396 perl
8 sh
4,841 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: dos2unix 7.3.4-1 (Tue Apr 4 19:52:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -DVER_REVISION=\"7.3.4\" -DVER_DATE=\"2016-05-24\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -Wall -Wextra -Wconversion -c dos2unix.c -o dos2unix.o
# arm-linux-androideabi-gcc -DVER_REVISION=\"7.3.4\" -DVER_DATE=\"2016-05-24\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -Wall -Wextra -Wconversion -c querycp.c -o querycp.o
# arm-linux-androideabi-gcc -DVER_REVISION=\"7.3.4\" -DVER_DATE=\"2016-05-24\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -Wall -Wextra -Wconversion -c common.c -o common.o
# arm-linux-androideabi-gcc -DVER_REVISION=\"7.3.4\" -DVER_DATE=\"2016-05-24\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -Wall -Wextra -Wconversion -c unix2dos.c -o unix2dos.o
# In file included from common.c:27:0:
# common.h:45:21: fatal error: libintl.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:373: common.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from dos2unix.c:66:0:
# common.h:45:21: fatal error: libintl.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from unix2dos.c:56:0:
# common.h:45:21: fatal error: libintl.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:379: dos2unix.o] Error 1
# make: *** [Makefile:382: unix2dos.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...