Build of sslsplit with musl toolchain

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

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

SLOCLanguage
32,544 ansic
189 python
3 sh
32,736 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: sslsplit 0.5.0-1 (Wed Apr 5 00:43:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# ------------------------------------------------------------------------------
# SSLsplit 0.5.0
# ------------------------------------------------------------------------------
# Report bugs at https://github.com/droe/sslsplit/issues/new
# Before reporting bugs, make sure to try the latest develop branch first:
# % git clone -b develop https://github.com/droe/sslsplit.git
# ------------------------------------------------------------------------------
# Via pkg-config: openssl libevent libevent_openssl libevent_pthreads
# Build options: -DHAVE_NETFILTER
# uname -a: Linux 664968bdcf5d 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux
# ------------------------------------------------------------------------------
# clang -c -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.5.0\"" -D"BUILD_DATE=\"2017-04-05\"" -D"FEATURES=\"-DHAVE_NETFILTER\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_NETFILTER -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c
# clang -c -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.5.0\"" -D"BUILD_DATE=\"2017-04-05\"" -D"FEATURES=\"-DHAVE_NETFILTER\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_NETFILTER -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c
# clang -c -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.5.0\"" -D"BUILD_DATE=\"2017-04-05\"" -D"FEATURES=\"-DHAVE_NETFILTER\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_NETFILTER -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c
# clang -c -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.5.0\"" -D"BUILD_DATE=\"2017-04-05\"" -D"FEATURES=\"-DHAVE_NETFILTER\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_NETFILTER -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cert.o cert.c
# In file included from cert.c:28:
# ./cert.h:33:10: fatal error: 'openssl/ssl.h' file not found
# #include
# ^
# In file included from pxyconn.c:28:
# In file included from ./pxyconn.h:31:
# In file included from ./opts.h:31:
# ./proc.h:36:10: fatal error: 'event2/util.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [GNUmakefile:398: cert.o] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# make: *** [GNUmakefile:398: pxyconn.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...