Build of clalsadrv with musl toolchain

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

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

SLOCLanguage
1,077 cpp
47 makefile
1,124 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: clalsadrv 2.0.0-2 (Tue Apr 4 23:27:22 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) clthreads-2.4.0-2
#
# Total Installed Size: 0.04 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing clthreads...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -Wall -I. -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o clalsadrv.o clalsadrv.cc
# In file included from clalsadrv.cc:21:
# ./clalsadrv.h:28:10: fatal error: 'alsa/asoundlib.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: clalsadrv.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...