Build of discid with musl toolchain

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

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

SLOCLanguage
418 cpp
55 makefile
1 sed
474 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: discid 0.1.3-7 (Tue Apr 4 23:09:57 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cd src/linux && make
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/discid/src/discid-0.1.3/src/linux'
# clang++ -Wall -W -I .. -DVERSIONINFO=\"i386-gcc-linux\" -c -o discid.o ../discid.cpp
# clang++ -Wall -W -I .. -DVERSIONINFO=\"i386-gcc-linux\" -c -o IoCtlDisc.o IoCtlDisc.cpp
# IoCtlDisc.cpp:6:10: fatal error: 'linux/cdrom.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [: IoCtlDisc.o] Error 1
# make[1]: Leaving directory '/tmp/discid/src/discid-0.1.3/src/linux'
# make: *** [Makefile:5: discid] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...