Build of multitail with musl toolchain

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

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

SLOCLanguage
14,783 ansic
61 makefile
25 perl
5 sh
14,874 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: multitail 6.4.2-1 (Wed Apr 5 00:29:34 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 -c -o utils.o utils.c
# clang -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 -c -o mt.o mt.c
# clang -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 -c -o error.o error.c
# clang -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 -c -o my_pty.o my_pty.c
# In file included from my_pty.c:24:
# ./mt.h:63:11: fatal error: 'panel.h' file not found
# #include
# ^
# 1 error generated.
# In file included from error.c:17:
# ./mt.h:63:11: fatal error: 'panel.h' file not found
# #include
# ^
# make: *** [: my_pty.o] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# make: *** [: error.o] Error 1
# In file included from utils.c:34:
# ./mt.h:63:11: fatal error: 'panel.h' file not found
# #include
# ^
# In file included from mt.c:26:
# /sysroot/include/sys/termios.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# In file included from mt.c:45:
# ./mt.h:63:11: fatal error: 'panel.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: utils.o] Error 1
# 1 warning and 1 error generated.
# make: *** [: mt.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...