Build of perl-variable-magic with musl toolchain

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

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

SLOCLanguage
4,212 perl
1,868 ansic
766 makefile
6,846 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-variable-magic 0.59-2 (Tue Apr 4 23:51:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if this is ActiveState Perl 5.8.8 build 822 or higher... no
# Checking if this is gcc 3.4 on Windows trying to link against an import library... no
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Variable::Magic
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Variable::Magic ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" Magic.xs > Magic.xsc && mv Magic.xsc Magic.c
# chmod 644 "Magic.bs"
# cp lib/Variable/Magic.pm blib/lib/Variable/Magic.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.59\" -DXS_VERSION=\"0.59\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Magic.c
# Magic.xs:1353:12: warning: initializing 'const U8 *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const U8 *s = VOID2(const U8 *, VOID2(const void *, SvPV_const(sv, len)));
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 warning generated.
# rm -f blib/arch/auto/Variable/Magic/Magic.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Magic.o -o blib/arch/auto/Variable/Magic/Magic.so \
# \
#
# chmod 755 blib/arch/auto/Variable/Magic/Magic.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magic.bs blib/arch/auto/Variable/Magic/Magic.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Variable::Magic ()
# chmod 644 "Magic.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-variable-magic/pkg/perl-variable-magic/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-variable-magic/pkg/perl-variable-magic/usr/lib/perl5/vendor_perl/auto/Variable/Magic/Magic.so
# Installing /tmp/perl-variable-magic/pkg/perl-variable-magic/usr/lib/perl5/vendor_perl/Variable/Magic.pm
# Installing /tmp/perl-variable-magic/pkg/perl-variable-magic/usr/share/man/man3/Variable::Magic.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-variable-magic"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-variable-magic 0.59-2 (Tue Apr 4 23:51:42 UTC 2017)

CMD: pacman --query --file perl-variable-magic-0.59-2-x86_64.pkg.tar.xz
# perl-variable-magic 0.59-2

Creating hybrid package for 'perl-variable-magic'

Trying to find vanilla package 'perl-variable-magic'...

CMD: pacman --query --file /mirror/perl-variable-magic-0.59-2.pkg.tar.xz
# perl-variable-magic 0.59-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/Variable::Magic.3pm.gz
# /usr/lib/perl5/vendor_perl/auto/Variable/Magic/Magic.so
# /usr/lib/perl5/vendor_perl/Variable/Magic.pm
# /sysroot/usr/lib/perl5/vendor_perl/Variable/Magic.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Variable/Magic/Magic.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-variable-magic.pkg.tar.xz .PKGINFO
# .PKGINFO

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