Build of net-tools with musl toolchain

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

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

SLOCLanguage
14,289 ansic
366 sh
291 makefile
14,946 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: net-tools 1.60.20130531git-1 (Wed Apr 5 00:32:10 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Configuring the Linux net-tools (NET-3 Base Utilities)...
#
#
# ######################################################
# Notice: ifconfig and route are now installed into /bin
# ######################################################
#
# *
# *
# * Internationalization
# *
# * The net-tools package has currently been translated to French,
# * German and Brazilian Portugese. Other translations are, of
# * course, welcome. Answer `n' here if you have no support for
# * internationalization on your system.
# *
# Does your system support GNU gettext? (I18N) [n] *
# *
# * Protocol Families.
# *
# UNIX protocol family (HAVE_AFUNIX) [y] INET (TCP/IP) protocol family (HAVE_AFINET) [y] INET6 (IPv6) protocol family (HAVE_AFINET6) [y] Novell IPX/SPX protocol family (HAVE_AFIPX) [y] Appletalk DDP protocol family (HAVE_AFATALK) [y] AX25 (packet radio) protocol family (HAVE_AFAX25) [y] NET/ROM (packet radio) protocol family (HAVE_AFNETROM) [y] Rose (packet radio) protocol family (HAVE_AFROSE) [y] X.25 (CCITT) protocol family (HAVE_AFX25) [y] Econet protocol family (HAVE_AFECONET) [y] DECnet protocol family (HAVE_AFDECnet) [n] Ash protocol family (HAVE_AFASH) [y] Bluetooth protocol family (HAVE_AFBLUETOOTH) [n] *
# *
# * Device Hardware types.
# *
# Ethernet (generic) support (HAVE_HWETHER) [y] ARCnet support (HAVE_HWARC) [y] SLIP (serial line) support (HAVE_HWSLIP) [y] PPP (serial line) support (HAVE_HWPPP) [y] IPIP Tunnel support (HAVE_HWTUNNEL) [y] STRIP (Metricom radio) support (HAVE_HWSTRIP) [n] Token ring (generic) support (HAVE_HWTR) [n] AX25 (packet radio) support (HAVE_HWAX25) [y] Rose (packet radio) support (HAVE_HWROSE) [y] NET/ROM (packet radio) support (HAVE_HWNETROM) [y] X.25 (generic) support (HAVE_HWX25) [y] DLCI/FRAD (frame relay) support (HAVE_HWFR) [y] SIT (IPv6-in-IPv4) support (HAVE_HWSIT) [y] FDDI (generic) support (HAVE_HWFDDI) [y] HIPPI (generic) support (HAVE_HWHIPPI) [y] Ash hardware support (HAVE_HWASH) [y] (Cisco)-HDLC/LAPB support (HAVE_HWHDLCLAPB) [y] IrDA support (HAVE_HWIRDA) [y] Econet hardware support (HAVE_HWEC) [y] Generic EUI-64 hardware support (HAVE_HWEUI64) [y] InfiniBand hardware support (HAVE_HWIB) [y] *
# *
# * Other Features.
# *
# IP Masquerading support (HAVE_FW_MASQUERADE) [y] Build iptunnel and ipmaddr (HAVE_IP_TOOLS) [y] Build mii-tool (HAVE_MII) [y] SELinux support (HAVE_SELINUX) [n] make[1]: Entering directory '/tmp/net-tools/src/net-tools/lib'
# clang -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/tmp/net-tools/src/net-tools/include -Ilib -c -o activate.o activate.c
# clang -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/tmp/net-tools/src/net-tools/include -Ilib -c -o af.o af.c
# clang -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/tmp/net-tools/src/net-tools/include -Ilib -c -o arcnet.o arcnet.c
# arcnet.c:22:10: fatal error: 'linux/if_ether.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [: arcnet.o] Error 1
# make[1]: Leaving directory '/tmp/net-tools/src/net-tools/lib'
# make: *** [Makefile:149: libdir] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...