Build of perl-json with musl toolchain

The build took 00h 01m 16s and was SUCCESSFUL.

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

SLOCLanguage
2,419 perl
607 makefile
3,026 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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-json 2.90-1 (Wed Apr 5 00:06:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Welcome to JSON (v.2.90)
# =============================
#
#
# *************************** CAUTION **************************************
# * *
# * INCOMPATIBLE CHANGE (JSON::XS version 2.90) *
# * *
# * JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally *
# * on loading time for making these modules inherit JSON::Boolean. *
# * But since JSON::XS v3.0 it use Types::Serialiser as boolean class. *
# * Then now JSON.pm breaks boolean classe overload features and *
# * -support_by_pp if JSON::XS v3.0 or later is installed. *
# * *
# * JSON::true and JSON::false returned JSON::Boolean objects. *
# * For workaround, they return JSON::PP::Boolean objects in this version. *
# * *
# * isa_ok(JSON::true, 'JSON::PP::Boolean'); *
# * *
# * And it discards a feature: *
# * *
# * ok(JSON::true eq 'true'); *
# * *
# * In other word, JSON::PP::Boolean overload numeric only. *
# * *
# * ok( JSON::true == 1 ); *
# * *
# **************************************************************************
#
#
# ************************** CAUTION **************************
# * This is 'JSON version 2' and there are many differences *
# * to version 1.xx *
# * Please check your applications useing old version. *
# * See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' *
# *************************************************************
#
#
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for JSON
# Writing MYMETA.yml and MYMETA.json
# cp lib/JSON.pm blib/lib/JSON.pm
# cp lib/JSON/backportPP.pm blib/lib/JSON/backportPP.pm
# cp lib/JSON/backportPP/Compat5005.pm blib/lib/JSON/backportPP/Compat5005.pm
# cp lib/JSON/backportPP/Compat5006.pm blib/lib/JSON/backportPP/Compat5006.pm
# cp lib/JSON/backportPP/Boolean.pm blib/lib/JSON/backportPP/Boolean.pm
# Manifying 5 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Manifying 5 pod documents
# Appending installation info to /tmp/perl-json/pkg/perl-json/usr/lib/perl5/core_perl/perllocal.pod
# Installing /tmp/perl-json/pkg/perl-json/usr/share/perl5/vendor_perl/JSON.pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/perl5/vendor_perl/JSON/backportPP.pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/perl5/vendor_perl/JSON/backportPP/Compat5005.pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/perl5/vendor_perl/JSON/backportPP/Compat5006.pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/perl5/vendor_perl/JSON/backportPP/Boolean.pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/man/man3/JSON.3pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/man/man3/JSON::backportPP.3pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/man/man3/JSON::backportPP::Boolean.3pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/man/man3/JSON::backportPP::Compat5005.3pm
# Installing /tmp/perl-json/pkg/perl-json/usr/share/man/man3/JSON::backportPP::Compat5006.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-json"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-json 2.90-1 (Wed Apr 5 00:06:06 UTC 2017)

CMD: pacman --query --file perl-json-2.90-1-any.pkg.tar.xz
# perl-json 2.90-1

Creating hybrid package for 'perl-json'

Trying to find vanilla package 'perl-json'...

CMD: pacman --query --file /mirror/perl-json-2.90-1.pkg.tar.xz
# perl-json 2.90-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/man/man3/JSON.3pm.gz
# /usr/share/man/man3/JSON::backportPP.3pm.gz
# /usr/share/man/man3/JSON::backportPP::Compat5006.3pm.gz
# /usr/share/man/man3/JSON::backportPP::Boolean.3pm.gz
# /usr/share/man/man3/JSON::backportPP::Compat5005.3pm.gz
# /usr/share/perl5/vendor_perl/JSON.pm
# /usr/share/perl5/vendor_perl/JSON/backportPP.pm
# /usr/share/perl5/vendor_perl/JSON/backportPP/Compat5006.pm
# /usr/share/perl5/vendor_perl/JSON/backportPP/Boolean.pm
# /usr/share/perl5/vendor_perl/JSON/backportPP/Compat5005.pm

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf perl-json.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-json.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-json.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-json.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'