Build of wireless_tools with musl toolchain

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

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

SLOCLanguage
13,803 ansic
137 makefile
13,940 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: wireless_tools 30.pre9-1 (Wed Apr 5 00:10:32 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cp wireless.22.h wireless.h
# gcc -I. -MMD -fPIC -c -o iwlib.so iwlib.c
# gcc -I. -MMD -c iwconfig.c
# gcc -I. -MMD -c iwlist.c
# gcc -I. -MMD -c iwpriv.c
# In file included from iwlib.c:14:
# In file included from ./iwlib-private.h:19:
# ./iwlib.h:52:10: fatal error: 'linux/types.h' file not found
# #include /* for "caddr_t" et al */
# ^
# In file included from In file included from iwpriv.ciwlist.c::1414:
# :
# In file included from In file included from ./iwlib-private.h./iwlib-private.h::1919:
# :
# ./iwlib.h./iwlib.h::5252::1010:: fatal errorfatal error: : 'linux/types.h' file not found'linux/types.h' file not found
#
# #include /* for "caddr_t" et al */#include /* for "caddr_t" et al */
#
# ^ ^
#
# In file included from iwconfig.c:14:
# In file included from ./iwlib-private.h:19:
# ./iwlib.h:52:10: fatal error: 'linux/types.h' file not found
# #include /* for "caddr_t" et al */
# ^
# 1 error generated.
# make: *** [Makefile:120: iwpriv.o] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# 1 error generated.
# 1 error generated.
# make: *** [Makefile:120: iwlist.o] Error 1
# make: *** [Makefile:120: iwconfig.o] Error 1
# make: *** [Makefile:122: iwlib.so] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...