Build of rfkill 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
437 ansic
48 makefile
23 sh
508 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: rfkill 0.5-1 (Tue Apr 4 23:44:52 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC rfkill.o
# GEN version.c
# CC version.o
# In file included from rfkill.c:14:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from rfkill.c:17:
# ./rfkill.h:22:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# 1 warning and 1 error generated.
# make: *** [Makefile:39: rfkill.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...