Build of perl-crypt-openssl-dsa with musl toolchain

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

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

SLOCLanguage
1,123 ansic
724 makefile
20 perl
1,867 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: perl-crypt-openssl-dsa 0.15-3 (Wed Apr 5 00:40:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Crypt::OpenSSL::DSA
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Crypt::OpenSSL::DSA ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" DSA.xs > DSA.xsc && mv DSA.xsc DSA.c
# chmod 644 "DSA.bs"
# cp lib/Crypt/OpenSSL/DSA/Signature.pod blib/lib/Crypt/OpenSSL/DSA/Signature.pod
# cp lib/Crypt/OpenSSL/DSA.pm blib/lib/Crypt/OpenSSL/DSA.pm
# cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL5 DSA.c
# DSA.xs:11:10: fatal error: 'openssl/bn.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:343: DSA.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...