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

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

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

SLOCLanguage
743 makefile
287 ansic
14 perl
1,044 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-random 0.11-2 (Wed Apr 5 01:45:33 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::Random
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Crypt::OpenSSL::Random ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" Random.xs > Random.xsc && mv Random.xsc Random.c
# chmod 644 "Random.bs"
# cp Random.pm blib/lib/Crypt/OpenSSL/Random.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.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Random.c
# Random.xs:5:10: fatal error: 'openssl/rand.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:364: Random.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...