Build of perl-proc-processtable with musl toolchain

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

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

SLOCLanguage
4,624 ansic
1,142 makefile
382 perl
6,148 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-proc-processtable 0.53-2 (Tue Apr 4 23:57:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Processing hints file hints/linux.pl
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Proc::ProcessTable::Process
# Writing MYMETA.yml and MYMETA.json
# Generating a Unix-style Makefile
# Writing Makefile for Proc::ProcessTable
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Proc::ProcessTable ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" ProcessTable.xs > ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c
# 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.53\" -DXS_VERSION=\"0.53\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" OS.c
# chmod 644 "ProcessTable.bs"
# make[1]: Entering directory '/tmp/perl-proc-processtable/src/Proc-ProcessTable-0.53/Process'
# OS.c:18:10: fatal error: 'obstack.h' file not found
# #include /* glibc's handy obstacks */
# ^
# cp Killfam.pm blib/lib/Proc/Killfam.pm
# cp example.pl blib/lib/Proc/example.pl
# cp Killall.pm blib/lib/Proc/Killall.pm
# cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm
# 1 error generated.
# make: *** [Makefile:357: OS.o] Error 1
# make: *** Waiting for unfinished jobs....
# cp Process.pm ../blib/lib/Proc/ProcessTable/Process.pm
# AutoSplitting ../blib/lib/Proc/ProcessTable/Process.pm (../blib/lib/auto/Proc/ProcessTable/Process)
# Manifying 1 pod document
# make[1]: Leaving directory '/tmp/perl-proc-processtable/src/Proc-ProcessTable-0.53/Process'
# ==> ERROR: A failure occurred in build().
# Aborting...