Build of hashcash with musl toolchain

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

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

SLOCLanguage
8,563 ansic
925 perl
297 sh
215 makefile
41 python
10,041 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: hashcash 1.22-4 (Tue Apr 4 22:57:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make generic "CFLAGS= -DOPENSSL" "LDFLAGS= -lcrypto"
# make[1]: Entering directory '/tmp/hashcash/src/hashcash-1.22'
# make "CFLAGS=-DOPENSSL -DREGEXP_POSIX -O3 " build
# make[2]: Entering directory '/tmp/hashcash/src/hashcash-1.22'
# clang -DOPENSSL -DREGEXP_POSIX -O3 -c -o hashcash.o hashcash.c
# clang -DOPENSSL -DREGEXP_POSIX -O3 -c -o getopt.o getopt.c
# clang -DOPENSSL -DREGEXP_POSIX -O3 -c -o libhc.o libhc.c
# clang -DOPENSSL -DREGEXP_POSIX -O3 -c -o libsha1.o libsha1.c
# In file included from libsha1.c:19:
# ./sha1.h:21:10: fatal error: 'openssl/sha.h' file not found
# #include
# ^
# 1 error generated.
# make[2]: *** [: libsha1.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# In file included from libhc.c:22:
# ./sha1.h:21:10: fatal error: 'openssl/sha.h' file not found
# #include
# ^
# hashcash.c:39:10: fatal error: 'openssl/sha.h' file not found
# #include
# ^
# 1 error generated.
# make[2]: *** [: libhc.o] Error 1
# 1 error generated.
# make[2]: *** [: hashcash.o] Error 1
# make[2]: Leaving directory '/tmp/hashcash/src/hashcash-1.22'
# make[1]: *** [Makefile:65: generic] Error 2
# make[1]: Leaving directory '/tmp/hashcash/src/hashcash-1.22'
# make: *** [Makefile:106: generic-openssl] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...