Build of perl-crypt-ssleay with musl toolchain

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

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

SLOCLanguage
784 perl
7 ansic
791 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-ssleay 0.73_04-4 (Wed Apr 5 02:23:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (20) perl-encode-locale-1.05-1 perl-file-listing-6.04-2 perl-html-parser-3.72-2 perl-html-tagset-3.20-4 perl-http-cookies-6.01-2 perl-http-daemon-6.01-2 perl-http-date-6.02-2 perl-http-message-6.11-2 perl-http-negotiate-6.01-2 perl-io-html-1.001-1 perl-io-socket-ssl-2.027-1 perl-libwww-6.15-1 perl-lwp-mediatypes-6.02-2 perl-net-http-6.09-1 perl-net-ssleay-1.74-1 perl-uri-1.71-1 perl-www-robotrules-6.02-2 perl-lwp-protocol-https-6.06-2 perl-path-class-0.36-1 perl-try-tiny-0.24-1
#
# Total Installed Size: 2.76 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing perl-net-ssleay...
# installing perl-uri...
# installing perl-io-socket-ssl...
# installing perl-net-http...
# installing perl-encode-locale...
# installing perl-http-date...
# installing perl-file-listing...
# installing perl-html-tagset...
# installing perl-html-parser...
# installing perl-lwp-mediatypes...
# installing perl-io-html...
# installing perl-http-message...
# installing perl-http-cookies...
# installing perl-http-daemon...
# installing perl-http-negotiate...
# installing perl-www-robotrules...
# installing perl-libwww...
# Optional dependencies for perl-libwww
# perl-lwp-protocol-https: for https:// url schemes [pending]
# installing perl-lwp-protocol-https...
# installing perl-try-tiny...
# installing perl-path-class...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
#
# *** THIS IS NOT AN ERROR, JUST A MESSAGE FOR YOUR INFORMATION ***
#
# Do you really need Crypt::SSLeay?
#
# Starting with version 6.02 of LWP, https support was unbundled into
# LWP::Protocol::https. This module specifies as one of its prerequisites
# IO::Socket::SSL which is automatically used by LWP::UserAgent unless
# this preference is overridden separately. IO::Socket::SSL is a more
# complete implementation, and, crucially, it allows hostname
# verification. Crypt::SSLeay does not support this. At this point,
# Crypt::SSLeay is maintained to support existing software that already
# depends on it.
#
# However, it is possible that your software does not really depend on
# Crypt::SSLeay, only on the ability of LWP::UserAgent class to
# communicate with sites over SSL/TLS.
#
# If are using version LWP 6.02 or later, and therefore have installed
# LWP::Protocol::https and its dependencies, and do not explicitly use
# Net::SSL before loading LWP::UserAgent, or override the default socket
# class, you are probably using IO::Socket::SSL and do not really need
# Crypt::SSLeay.
#
# Before installing Crypt::SSLeay, you may want to try specifying a
# dependency on LWP::Protocol::https.
#
# openssl-version.c:2:10: fatal error: 'openssl/opensslv.h' file not found
# #include
# ^
# 1 error generated.
# Failed to build and link a simple executable using OpenSSL
# make: *** No targets specified and no makefile found. Stop.
# ==> ERROR: A failure occurred in build().
# Aborting...