Build of perl-json-xs with musl toolchain

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

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

SLOCLanguage
2,345 ansic
735 makefile
606 perl
3,686 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-xs 3.02-3 (Wed Apr 5 01:44:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (3) perl-canary-stability-2011-2 perl-common-sense-3.74-1 perl-types-serialiser-1.0-1
#
# Total Installed Size: 0.15 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-common-sense...
# installing perl-types-serialiser...
# installing perl-canary-stability...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
#
# ***
# *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK
# *** =================================================
# ***
# *** Hi!
# ***
# *** I do my best to provide predictable and reliable software.
# ***
# *** However, in recent releases, P5P (who maintain perl) have been
# *** introducing regressions that are sometimes subtle and at other times
# *** catastrophic, often for personal preferences with little or no concern
# *** for existing code, most notably CPAN.
# ***
# *** For this reason, it has become very hard for me to maintain the level
# *** of reliability and support I have committed myself to in the past, at
# *** least with some perl versions: I simply can't keep up working around new
# *** bugs or gratituous incompatibilities, and in turn you might suffer from
# *** unanticipated problems.
# ***
# *** Therefore I have introduced a support and compatibility check, the results
# *** of which follow below, together with a FAQ and some recommendations.
# ***
# *** This check is just to let you know that there might be a risk, so you can
# *** make judgement calls on how to proceed - it will not keep the module from
# *** installing or working.
# ***
# *** The stability canary says: (nothing, it was driven away by harsh weather)
# ***
# *** It seems you are running perl version 5.024000, likely the "official" or
# *** "standard" version. While there is nothing wrong with doing that,
# *** standard perl versions 5.022 and up are not supported by JSON::XS.
# *** While this might be fatal, it might also be all right - if you run into
# *** problems, you might want to downgrade your perl or switch to the
# *** stability branch.
# ***
# *** If everything works fine, you can ignore this message.
# ***
# *** Stability canary mini-FAQ:
# ***
# *** Do I need to do anything?
# *** With luck, no. While some distributions are known to fail
# *** already, most should probably work. This message is here
# *** to alert you that your perl is not supported by JSON::XS,
# *** and if things go wrong, you either need to downgrade, or
# *** sidegrade to the stability variant of your perl version,
# *** or simply live with the consequences.
# ***
# *** What is this canary thing?
# *** It's purpose is to check support status of JSON::XS with
# *** respect to your perl version.
# ***
# *** What is this "stability branch"?
# *** It's a branch or fork of the official perl, by schmorp, to
# *** improve stability and compatibility with existing modules.
# ***
# *** How can I skip this prompt on automated installs?
# *** Set PERL_CANARY_STABILITY_NOPROMPT=1 in your environment.
# *** More info is in the Canary::Stability manpage.
# ***
# *** Long version of this FAQ: http://stableperl.schmorp.de/faq.html
# *** Stability Branch homepage: http://stableperl.schmorp.de/
# ***
#
# Continue anyways? [y] y
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for JSON::XS
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for JSON::XS ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" XS.xs > XS.xsc && mv XS.xsc XS.c
# chmod 644 "XS.bs"
# cp XS.pm blib/lib/JSON/XS.pm
# cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.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=\"3.02\" -DXS_VERSION=\"3.02\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" XS.c
# XS.xs:207:27: warning: passing 'char *' to parameter of type 'const U8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# ? utf8_distance (offset, SvPVX (sv))
# ^~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:717:53: note: expanded from macro 'utf8_distance'
# #define utf8_distance(a,b) Perl_utf8_distance(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:3373:53: note: passing argument to parameter 'a' here
# PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
# ^
# XS.xs:207:35: warning: passing 'char *' to parameter of type 'const U8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# ? utf8_distance (offset, SvPVX (sv))
# ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1240:23: note: expanded from macro 'SvPVX'
# # define SvPVX(sv) ((sv)->sv_u.svu_pv)
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:717:55: note: expanded from macro 'utf8_distance'
# #define utf8_distance(a,b) Perl_utf8_distance(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:3373:66: note: passing argument to parameter 'b' here
# PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b)
# ^
# XS.xs:321:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (*pv == '0')
# ^
# XS.xs:427:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# uch = decode_utf8 (str, end - str, &clen);
# ^~~
# XS.xs:165:29: note: passing argument to parameter 's' here
# decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen)
# ^
# XS.xs:480:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# enc->cur = encode_utf8 (enc->cur, uch);
# ^~~~~~~~
# XS.xs:182:29: note: passing argument to parameter 's' here
# encode_utf8 (unsigned char *s, UV ch)
# ^
# XS.xs:480:32: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# enc->cur = encode_utf8 (enc->cur, uch);
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# XS.xs:1112:25: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (hi < 0xe000)
# ^
# XS.xs:1119:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# cur = encode_utf8 (cur, hi);
# ^~~
# XS.xs:182:29: note: passing argument to parameter 's' here
# encode_utf8 (unsigned char *s, UV ch)
# ^
# XS.xs:1119:31: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# cur = encode_utf8 (cur, hi);
# ^ ~~~~~~~~~~~~~~~~~~~~~
# XS.xs:1139:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# decode_utf8 (dec_cur, dec->end - dec_cur, &clen);
# ^~~~~~~
# XS.xs:165:29: note: passing argument to parameter 's' here
# decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen)
# ^
# XS.xs:1298:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# XS.xs:1401:45: warning: comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
# if (p == e || *p < 0x20 || *p >= 0x80 || *p == '\\')
# ~~ ^ ~~~~
# XS.xs:1780:28: warning: passing 'char *' to parameter of type 'const U8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# pv_uni_display (uni, dec.cur, dec.end - dec.cur, 20, UNI_DISPLAY_QQ);
# ^~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:480:63: note: expanded from macro 'pv_uni_display'
# #define pv_uni_display(a,b,c,d,e) Perl_pv_uni_display(aTHX_ a,b,c,d,e)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2470:66: note: passing argument to parameter 'spv' here
# PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags);
# ^
# XS.xs:2137:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# XS.xs:2153:15: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# 15 warnings generated.
# rm -f blib/arch/auto/JSON/XS/XS.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong XS.o -o blib/arch/auto/JSON/XS/XS.so \
# \
#
# chmod 755 blib/arch/auto/JSON/XS/XS.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/JSON/XS/XS.bs 644
# cp bin/json_xs blib/script/json_xs
# "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/json_xs
# Manifying 1 pod document
# Manifying 2 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for JSON::XS ()
# chmod 644 "XS.bs"
# Manifying 1 pod document
# Manifying 2 pod documents
# Appending installation info to /tmp/perl-json-xs/pkg/perl-json-xs/usr/lib/perl5/core_perl/perllocal.pod
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/lib/perl5/vendor_perl/auto/JSON/XS/XS.so
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/lib/perl5/vendor_perl/JSON/XS.pm
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/lib/perl5/vendor_perl/JSON/XS/Boolean.pm
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/share/man/man1/json_xs.1p
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/share/man/man3/JSON::XS.3pm
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/share/man/man3/JSON::XS::Boolean.3pm
# Installing /tmp/perl-json-xs/pkg/perl-json-xs/usr/bin/vendor_perl/json_xs
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-json-xs"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-json-xs 3.02-3 (Wed Apr 5 01:44:28 UTC 2017)

CMD: pacman --query --file perl-json-xs-3.02-3-x86_64.pkg.tar.xz
# perl-json-xs 3.02-3

Creating hybrid package for 'perl-json-xs'

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

CMD: pacman --query --file /mirror/perl-json-xs-3.02-3.pkg.tar.xz
# perl-json-xs 3.02-3

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/perl5/vendor_perl/JSON/XS.pm
# /usr/lib/perl5/vendor_perl/JSON/XS/Boolean.pm
# /usr/lib/perl5/vendor_perl/auto/JSON/XS/XS.so
# /usr/bin/vendor_perl/json_xs
# /usr/share/man/man1/json_xs.1p.gz
# /usr/share/man/man3/JSON::XS.3pm.gz
# /usr/share/man/man3/JSON::XS::Boolean.3pm.gz
# /sysroot/usr/lib/perl5/vendor_perl/JSON/XS.pm
# /sysroot/usr/lib/perl5/vendor_perl/JSON/XS/Boolean.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/JSON/XS/XS.so

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

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

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

Created package at path /var/cache/pacman/pkg/perl-json-xs.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-xs.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-json-xs.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'