The build took 00h 01m 03s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 2,484 | sh | 
| 1,878 | ansic | 
| 4,362 | total | 
The process tree of the build process is here.
    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:
        There were existing files in /sysroot, using those
        CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
        ==> Making package: tsocks 1.8beta5-7 (Wed Apr  5 01:42:19 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...creating cache ./config.cachechecking host system type... x86_64-unknown-linux-gnuchecking for gcc... clangchecking whether the C compiler (clang  ) works... yeschecking whether the C compiler (clang  ) is a cross-compiler... yeschecking whether we are using GNU C... yeschecking whether clang accepts -g... yeschecking for a BSD compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking if the C compiler accepts -Wall... yeschecking how to run the C preprocessor... clang -Echecking for ANSI C header files... yeschecking for dlfcn.h... yeschecking for sys/socket.h... yeschecking for arpa/inet.h... yeschecking for fcntl.h... yeschecking for sys/poll.h... noconfigure: error: sys/poll.h not 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 whilerunning configure, to aid debugging if configure makes a mistake.configure:624: checking host system typeconfigure:648: checking for gccconfigure:761: checking whether the C compiler (clang  ) worksconfigure:777: clang -o conftest    conftest.c  1>&5configure:774:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]main(){return(0);}^1 warning generated.configure:803: checking whether the C compiler (clang  ) is a cross-compilerconfigure:808: checking whether we are using GNU Cconfigure:817: clang -E conftest.cconfigure:836: checking whether clang accepts -gconfigure:879: checking for a BSD compatible installconfigure:932: checking whether ln -s worksconfigure:954: checking if the C compiler accepts -Wallconfigure:965: clang -c  -Wall  conftest.c 1>&5configure:979: checking how to run the C preprocessorconfigure:1000: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1059: checking for ANSI C header filesconfigure:1072: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1165: checking for dlfcn.hconfigure:1175: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1200: checking for sys/socket.hconfigure:1210: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1235: checking for arpa/inet.hconfigure:1245: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1270: checking for fcntl.hconfigure:1280: clang -E  conftest.c >/dev/null 2>conftest.outconfigure:1305: checking for sys/poll.hconfigure:1315: clang -E  conftest.c >/dev/null 2>conftest.outIn file included from configure:1311:/sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include  to  [-W#warnings]  #warning redirecting incorrect #include  to  ^1 warning generated.configure: failed program was:#line 1310 "configure"#include "confdefs.h"#include