Build of tsocks with android toolchain

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

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

SLOCLanguage
2,484 sh
1,894 ansic
4,378 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: tsocks 1.8beta5-7 (Tue Apr 4 21:54:41 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
#
# checking for gcc... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking if the C compiler accepts -Wall... yes
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for ANSI C header files... yes
# checking for dlfcn.h... yes
# checking for sys/socket.h... yes
# checking for arpa/inet.h... yes
# checking for fcntl.h... yes
# checking for sys/poll.h... yes
# checking for unistd.h... yes
# checking for strcspn... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for strspn... yes
# checking for strtol... yes
# checking for connect in -lc... yes
# checking for socket... yes
# checking for inet_aton... yes
# checking for gethostbyname... yes
# checking for dlsym in -ldl... yes
# checking for RTLD_NEXT from dlfcn.h... yes
# checking for correct select prototype... select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
# checking for correct connect prototype... connect(int __fd, const struct sockaddr * __addr, int len)
# checking for correct close prototype... close(int fd)
# checking for correct poll prototype... configure: error: no match found!
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/tsocks/src/tsocks-1.8/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:624: checking host system type
# configure:648: checking for gcc
# configure:761: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:777: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:803: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:808: checking whether we are using GNU C
# configure:817: arm-linux-androideabi-gcc -E conftest.c
# configure:836: checking whether arm-linux-androideabi-gcc accepts -g
# configure:879: checking for a BSD compatible install
# configure:932: checking whether ln -s works
# configure:954: checking if the C compiler accepts -Wall
# configure:965: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:979: checking how to run the C preprocessor
# configure:1000: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1059: checking for ANSI C header files
# configure:1072: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1165: checking for dlfcn.h
# configure:1175: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1200: checking for sys/socket.h
# configure:1210: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1235: checking for arpa/inet.h
# configure:1245: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1270: checking for fcntl.h
# configure:1280: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1305: checking for sys/poll.h
# configure:1315: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1342: checking for unistd.h
# configure:1352: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1382: checking for strcspn
# configure:1410: arm-linux-androideabi-gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strcspn' [enabled by default]
# char $ac_func();
# ^
# configure:1382: checking for strdup
# configure:1410: arm-linux-androideabi-gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strdup' [enabled by default]
# char $ac_func();
# ^
# configure:1382: checking for strerror
# configure:1410: arm-linux-androideabi-gcc -o conftest -Wall conftest.c 1>&5
# configure:1382: checking for strspn
# configure:1410: arm-linux-androideabi-gcc -o conftest -Wall conftest.c 1>&5
# configure:1394:6: warning: conflicting types for built-in function 'strspn' [enabled by default]
# char $ac_func();
# ^
# configure:1382: checking for strtol
# configure:1410: arm-linux-androideabi-gcc -o conftest -Wall conftest.c 1>&5
# configure:1441: checking for connect in -lc
# configure:1460: arm-linux-androideabi-gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1490: checking for socket
# configure:1518: arm-linux-androideabi-gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1588: checking for inet_aton
# configure:1616: arm-linux-androideabi-gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1739: checking for gethostbyname
# configure:1767: arm-linux-androideabi-gcc -o conftest -Wall conftest.c -lc 1>&5
# configure:1841: checking for dlsym in -ldl
# configure:1860: arm-linux-androideabi-gcc -o conftest -Wall conftest.c -ldl 1>&5
# configure:1890: checking for RTLD_NEXT from dlfcn.h
# configure:2101: checking for correct select prototype
# configure:2119: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:2139: checking for correct connect prototype
# configure:2162: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:2193: checking for correct close prototype
# configure:2210: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:2230: checking for correct poll prototype
# configure:2246: arm-linux-androideabi-gcc -c -Wall conftest.c 1>&5
# configure:2239:11: error: conflicting types for 'poll'
# int poll($testproto);
# ^
# In file included from /sysroot/sysroot/usr/include/sys/poll.h:1:0,
# from configure:2238:
# /sysroot/sysroot/usr/include/poll.h:41:12: note: previous declaration of 'poll' was here
# extern int poll(struct pollfd*, nfds_t, int);
# ^
# configure: failed program was:
# #line 2236 "configure"
# #include "confdefs.h"
#
# #include
# int poll(struct pollfd *ufds, unsigned long nfds, int timeout);
#
# int main() {
#
# ; return 0; }