Build of tsocks with musl toolchain

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

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

SLOCLanguage
2,484 sh
1,878 ansic
4,362 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

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.cache
# checking host system type... x86_64-unknown-linux-gnu
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether clang 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... clang -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... no
# configure: 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 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 (clang ) works
# configure:777: clang -o conftest conftest.c 1>&5
# configure: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-compiler
# configure:808: checking whether we are using GNU C
# configure:817: clang -E conftest.c
# configure:836: checking whether clang 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: clang -c -Wall conftest.c 1>&5
# configure:979: checking how to run the C preprocessor
# configure:1000: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1059: checking for ANSI C header files
# configure:1072: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1165: checking for dlfcn.h
# configure:1175: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1200: checking for sys/socket.h
# configure:1210: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1235: checking for arpa/inet.h
# configure:1245: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1270: checking for fcntl.h
# configure:1280: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1305: checking for sys/poll.h
# configure:1315: clang -E conftest.c >/dev/null 2>conftest.out
# In 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