Build of curseofwar with musl toolchain

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

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

SLOCLanguage
3,305 ansic
91 makefile
3,396 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: curseofwar 1.2.0-2 (Wed Apr 5 00:28:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c grid.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c state.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c king.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c network.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c client.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c server.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c output-common.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c path.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c main-common.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c output.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c main.c
# output.c:22:10: fatal error: 'curses.h' file not found
# #include
# ^
# 1 error generated.
# main-common.c:206:34: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# op->map_seed = abs(strtol(optarg, &endptr, 10));
# ^
# main-common.c:206:34: note: use function 'labs' instead
# op->map_seed = abs(strtol(optarg, &endptr, 10));
# ^~~
# labs
# make: *** [Makefile:76: output.o] Error 1
# make: *** Waiting for unfinished jobs....
# main.c:22:10: fatal error: 'curses.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:76: main.o] Error 1
# 1 warning generated.
# make: Leaving directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# ==> ERROR: A failure occurred in build().
# Aborting...