Build of gptfdisk with musl toolchain

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

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

SLOCLanguage
8,294 cpp
244 sh
30 makefile
8,568 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: gptfdisk 1.0.1-2 (Wed Apr 5 00:51:36 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o crc32.o crc32.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o support.o support.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o guid.o guid.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o gptpart.o gptpart.cc
# g++ -Wall -D_FILE_OFFSET_BITS=64 -c -o mbrpart.o mbrpart.cc
# In file included from support.cc:21:
# ./support.h:44:10: fatal error: 'linux/fs.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: support.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from guid.cc:22:
# ./guid.h:29:10: fatal error: 'uuid/uuid.h' file not found
# #include
# ^
# In file included from mbrpart.cc:26:
# ./support.h:44:10: fatal error: 'linux/fs.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: mbrpart.o] Error 1
# In file included from gptpart.cc:27:
# In file included from ./gptpart.h:21:
# ./support.h:44:10: fatal error: 'linux/fs.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: gptpart.o] Error 1
# 1 error generated.
# make: *** [: guid.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...