Build of iw 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
10,473 ansic
99 makefile
26 sh
10,598 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: iw 4.7-1 (Wed Apr 5 01:08:16 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC iw.o
# CC genl.o
# CC event.o
# CC info.o
# genl.c:5:10: fatal error: 'asm/errno.h' file not found
# #include
# ^
# In file included from info.c:3:
# In file included from /usr/include/libnl3/netlink/genl/genl.h:15:
# /usr/include/libnl3/netlink/netlink.h:25:10: fatal error: 'linux/netlink.h' file not found
# #include
# ^
# In file included from iw.c:17:
# In file included from /usr/include/libnl3/netlink/genl/genl.h:15:
# /usr/include/libnl3/netlink/netlink.h:25:10: fatal error: 'linux/netlink.h' file not found
# #include
# ^
# In file included from event.c:5:
# In file included from ./iw.h:5:
# /usr/include/libnl3/netlink/netlink.h:25:10: fatal error: 'linux/netlink.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:102: genl.o] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# 1 error generated.
# make: *** [Makefile:102: iw.o] Error 1
# make: *** [Makefile:102: info.o] Error 1
# 1 error generated.
# make: *** [Makefile:102: event.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...