Build of incron with musl toolchain

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

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

SLOCLanguage
3,171 cpp
110 makefile
80 sh
3,361 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: incron 0.5.12-1 (Tue Apr 4 23:11:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o icd-main.o icd-main.cpp
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o incrontab.o incrontab.cpp
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o inotify-cxx.o inotify-cxx.cpp
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o usertable.o usertable.cpp
# In file included from icd-main.cpp:22:
# /sysroot/include/wait.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from icd-main.cpp:29:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from usertable.cpp:35:
# In file included from ./usertable.h:22:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from icd-main.cpp:34:
# ./inotify-cxx.h:250:17: warning: comparison of array 'pEvt->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
# if (pEvt->name != NULL) {
# ~~~~~~^~~~ ~~~~
# In file included from usertable.cpp:35:
# In file included from ./usertable.h:24:
# ./inotify-cxx.h:250:17: warning: comparison of array 'pEvt->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
# if (pEvt->name != NULL) {
# ~~~~~~^~~~ ~~~~
# In file included from icd-main.cpp:40:
# In file included from ./usertable.h:22:
# /sysroot/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from inotify-cxx.cpp:32:
# ./inotify-cxx.h:250:17: warning: comparison of array 'pEvt->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
# if (pEvt->name != NULL) {
# ~~~~~~^~~~ ~~~~
# 4 warnings generated.
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o strtok.o strtok.cpp
# 1 warning generated.
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o appinst.o appinst.cpp
# In file included from incrontab.cpp:26:
# ./inotify-cxx.h:250:17: warning: comparison of array 'pEvt->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
# if (pEvt->name != NULL) {
# ~~~~~~^~~~ ~~~~
# 1 warning generated.
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o incroncfg.o incroncfg.cpp
# 2 warnings generated.
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o appargs.o appargs.cpp
# clang++ -c -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -ffor-scope -o ict-main.o ict-main.cpp
# ict-main.cpp:22:10: fatal error: 'argp.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:43: ict-main.o] Error 1
# make: *** Waiting for unfinished jobs....
# ==> ERROR: A failure occurred in build().
# Aborting...