Build of aiccu with musl toolchain

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

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

SLOCLanguage
4,660 ansic
372 makefile
369 sh
5,401 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: aiccu 20070115-6 (Wed Apr 5 01:00:59 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Building : aiccu - Automatic IPv6 Connectivity Configuration Utility
# Copyright : SixXS
# Version : 2007.01.15
# make[1]: Entering directory '/tmp/aiccu/src/aiccu/unix-console'
# In file included from In file included from ../common/hash_md5.c../common/aiccu.cIn file included from ::23main.c13:
# ::
# In file included from 13In file included from ../common/aiccu.h:
# In file included from ../common/aiccu.hIn file included from ::./../common/aiccu.h17../common/tun.c17::
# :../common/common.h:
# 1713:../common/common.h:
# :
# 97:./../common/common.hIn file included from :../common/tun.h97:11::97:1611: :
# :11fatal error ../common/common.h:: fatal error: 'linux/if_tun.h' file not found: 97fatal error
# 'linux/if_tun.h' file not found::
# 11'linux/if_tun.h' file not found:
# fatal error: 'linux/if_tun.h' file not found
# #include #include #include
#
# #include
# ^ ^
# ^
#
# ^
#
# 1 error generated.
# 1 error generated.
# 1 error generated.
# 1 error generated.
# make[1]: *** [: ../common/tun.o] Error 1
# make[1]: *** Waiting for unfinished jobs....
# make[1]: *** [: ../common/aiccu.o] Error 1
# make[1]: *** [: ../common/hash_md5.o] Error 1
# make[1]: *** [: main.o] Error 1
# make[1]: Leaving directory '/tmp/aiccu/src/aiccu/unix-console'
# make: *** [Makefile:70: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...