Build of perl-gssapi with musl toolchain

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

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

SLOCLanguage
3,715 ansic
757 perl
741 makefile
5,213 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-gssapi 0.28-10 (Wed Apr 5 02:10:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
#
# Welcome to GSSAPI.pm setup!
#
# (Makefile.PL Version 0.03)
#
# run "perl Makefile.PL --help" to see further installation options
#
#
# ----------------------------------------------------------
# Searching krb5-config command...
#
# using krb5-config command '/usr/sbin/krb5-config'.
#
# ----------------------------------------------------------
# using GSSAPI implementation
# Kerberos 5 release 1.13.4
#
#
# ----------------------------------------------------------
# Using LIBS
#
# -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
#
# ----------------------------------------------------------
# Using INC includeconfiguration
#
#
#
#
# ----------------------------------------------------------
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for GSSAPI
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for GSSAPI ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" GSSAPI.xs > GSSAPI.xsc && mv GSSAPI.xsc GSSAPI.c
# chmod 644 "GSSAPI.bs"
# cp GSSAPI/OID/Set.pm blib/lib/GSSAPI/OID/Set.pm
# cp GSSAPI/Status.pm blib/lib/GSSAPI/Status.pm
# cp GSSAPI/OID.pm blib/lib/GSSAPI/OID.pm
# cp GSSAPI.pm blib/lib/GSSAPI.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.28\" -DXS_VERSION=\"0.28\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" GSSAPI.c
# GSSAPI.xs:32:10: fatal error: 'gssapi/gssapi.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:359: GSSAPI.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...