Build of sslh with musl toolchain

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

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

SLOCLanguage
2,079 ansic
316 perl
115 sh
83 makefile
2,593 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: sslh 1.18-1 (Wed Apr 5 01:50:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) libconfig-1.5-3
#
# Total Installed Size: 0.19 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing libconfig...
# :: Running post-transaction hooks...
# (1/1) Updating the info directory file...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# ./genver.sh >version.h
# clang -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -c common.c
# clang -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -c sslh-main.c
# clang -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -c probe.c
# clang -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -c tls.c
# In file included from common.c:11:
# ./common.h:33:10: fatal error: 'sys/capability.h' file not found
# #include
# ^
# In file included from tls.c:33:
# In file included from ./tls.h:29:
# ./common.h:33:10: fatal error: 'sys/capability.h' file not found
# #include
# ^
# In file included from probe.c:32:
# In file included from ./probe.h:6:
# ./common.h:33:10: fatal error: 'sys/capability.h' file not found
# #include
# ^
# 1 error generated.
# 1 error generated.
# In file included from sslh-main.c:36:
# ./common.h:33:10: fatal error: 'sys/capability.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:63: common.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [Makefile:63: probe.o] Error 1
# make: *** [Makefile:63: tls.o] Error 1
# 1 error generated.
# make: *** [Makefile:63: sslh-main.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...