Build of lrs with musl toolchain

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

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

SLOCLanguage
10,694 ansic
418 cpp
86 makefile
11,198 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: lrs 062-1 (Wed Apr 5 00:56:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -c -O3 -DTIMES -DSIGNALS -DGMP -o lrslib-GMP.o lrslib.c
# clang -c -O3 -DTIMES -DSIGNALS -DGMP -o lrsgmp-GMP.o lrsgmp.c
# clang -c -O3 -DTIMES -DSIGNALS -DGMP -o 2nash-GMP.o 2nash.c
# clang -c -O3 -DTIMES -DSIGNALS -DGMP -o lrs-GMP.o lrs.c
# In file included from lrslib.c:27:
# In file included from ./lrslib.h:51:
# ./lrsgmp.h:33:10: fatal error: 'gmp.h' file not found
# #include "gmp.h"
# ^
# In file included from lrs.c:3:
# In file included from ./lrslib.h:51:
# ./lrsgmp.h:33:10: fatal error: 'gmp.h' file not found
# #include "gmp.h"
# ^
# In file included from lrsgmp.c:16:
# ./lrsgmp.h:33:10: fatal error: 'gmp.h' file not found
# #include "gmp.h"
# ^
# 2nash.c:57:41: warning: data argument not used by format string [-Wformat-extra-args]
# printf("output file: out\n", argv[2], argv[1]);
# ~~~~~~~~~~~~~~~~~~~~ ^
# 1 error generated.
# 1 error generated.
# make: *** [makefile:72: lrs-GMP.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [makefile:72: lrsgmp-GMP.o] Error 1
# 1 warning generated.
# 1 error generated.
# make: *** [makefile:72: lrslib-GMP.o] Error 1
# rm 2nash-GMP.o
# ==> ERROR: A failure occurred in build().
# Aborting...