Build of mkinitcpio-nfs-utils with android toolchain

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

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

SLOCLanguage
2,683 ansic
169 sh
61 makefile
2,913 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: mkinitcpio-nfs-utils 0.3-5 (Tue Apr 4 20:49:47 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file nfsmount/mount.c
# make -C ipconfig
# make -C nfsmount
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# arm-linux-androideabi-gcc -c bootp_proto.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# arm-linux-androideabi-gcc -c dhcp_proto.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# arm-linux-androideabi-gcc -c main.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# make[1]: Entering directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# arm-linux-androideabi-gcc -c dummypmap.c -D_GNU_SOURCE -Wall -Os
# main.c: In function 'configure_device':
# main.c:93:4: warning: implicit declaration of function 'sethostname' [-Wimplicit-function-declaration]
# sethostname(dev->hostname, strlen(dev->hostname)))
# ^
# dummypmap.c: In function 'dummy_portmap':
# dummypmap.c:207:13: warning: array subscript is below array bounds [-Warray-bounds]
# } else if (!(vrf = get_auth(cred)) ||
# ^
# arm-linux-androideabi-gcc -c netdev.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# arm-linux-androideabi-gcc -c packet.c -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
# arm-linux-androideabi-gcc -c main.c -D_GNU_SOURCE -Wall -Os
# arm-linux-androideabi-gcc -c mount.c -D_GNU_SOURCE -Wall -Os
# arm-linux-androideabi-gcc -c portmap.c -D_GNU_SOURCE -Wall -Os
# arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing -o ipconfig bootp_proto.o dhcp_proto.o main.o netdev.o packet.o
# main.o:main.c:function complete_device: error: undefined reference to 'sethostname'
# collect2: error: ld returned 1 exit status
# make[1]: *** [Makefile:20: ipconfig] Error 1
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/ipconfig'
# make: *** [Makefile:15: ipconfig] Error 2
# make: *** Waiting for unfinished jobs....
# arm-linux-androideabi-gcc -c sunrpc.c -D_GNU_SOURCE -Wall -Os
# sunrpc.c: In function 'tcp_client':
# sunrpc.c:169:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
# memset(clnt, 0, sizeof(clnt));
# ^
# sunrpc.c: In function 'udp_client':
# sunrpc.c:214:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
# memset(clnt, 0, sizeof(clnt));
# ^
# arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Os -o nfsmount dummypmap.o main.o mount.o portmap.o sunrpc.o
# make[1]: Leaving directory '/tmp/mkinitcpio-nfs-utils/src/mkinitcpio-nfs-utils-0.3/nfsmount'
# ==> ERROR: A failure occurred in build().
# Aborting...