Build of traceroute with musl toolchain

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

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

SLOCLanguage
3,562 ansic
390 sh
66 makefile
4,018 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: traceroute 2.1.0-1 (Wed Apr 5 01:03:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -D_GNU_SOURCE -c clif.c
# rm -f libsupp.a
# ar -rc libsupp.a clif.o
# ranlib libsupp.a
# gcc -D_GNU_SOURCE -c mod-icmp.c
# gcc -D_GNU_SOURCE -c time.c
# gcc -D_GNU_SOURCE -c mod-tcpconn.c
# gcc -D_GNU_SOURCE -c mod-raw.c
# gcc -D_GNU_SOURCE -c poll.c
# gcc -D_GNU_SOURCE -c extension.c
# gcc -D_GNU_SOURCE -c csum.c
# gcc -D_GNU_SOURCE -c mod-udp.c
# gcc -D_GNU_SOURCE -c module.c
# gcc -D_GNU_SOURCE -c traceroute.c
# gcc -D_GNU_SOURCE -c as_lookups.c
# gcc -D_GNU_SOURCE -c random.c
# gcc -D_GNU_SOURCE -c mod-tcp.c
# traceroute.c:24:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# gcc -D_GNU_SOURCE -c mod-dccp.c
# 1 error generated.
# make[1]: *** [/tmp/traceroute/src/traceroute-2.1.0/Make.rules:192: traceroute.o] Error 1
# make[1]: *** Waiting for unfinished jobs....
# mod-dccp.c:15:10: fatal error: 'linux/dccp.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [/tmp/traceroute/src/traceroute-2.1.0/Make.rules:192: mod-dccp.o] Error 1
# make: *** [Makefile:80: traceroute] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...