Build of perl-devel-leak with musl toolchain

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

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

SLOCLanguage
705 makefile
362 ansic
8 perl
1,075 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-devel-leak 0.03-3 (Tue Apr 4 23:34:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# This perl is not compiled with -DDEBUGGING - functions restricted
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Devel::Leak
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Devel::Leak ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Leak.xs > Leak.xsc && mv Leak.xsc Leak.c
# chmod 644 "Leak.bs"
# cp Leak.pm blib/lib/Devel/Leak.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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Leak.c
# Leak.xs:15:9: warning: 'sv_dump' macro redefined [-Wmacro-redefined]
# #define sv_dump(sv) PerlIO_printf(PerlIO_stderr(), "\n")
# ^
# /usr/lib/perl5/core_perl/CORE/embed.h:615:9: note: previous definition is here
# #define sv_dump(a) Perl_sv_dump(aTHX_ a)
# ^
# Leak.xs:80:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
# warn("Odd SvANY for %p @ %p[%d]",sv,sva,(sv-sva));
# ~~ ^~~~~~~~
# %ld
# Leak.xs:102:21: warning: comparison of constant 255 with expression of type 'svtype' is always true [-Wtautological-constant-out-of-range-compare]
# if (SvTYPE(sv) != SVTYPEMASK)
# ~~~~~~~~~~ ^ ~~~~~~~~~~
# 3 warnings generated.
# rm -f blib/arch/auto/Devel/Leak/Leak.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Leak.o -o blib/arch/auto/Devel/Leak/Leak.so \
# \
#
# chmod 755 blib/arch/auto/Devel/Leak/Leak.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Leak.bs blib/arch/auto/Devel/Leak/Leak.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Devel::Leak ()
# chmod 644 "Leak.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-devel-leak/pkg/perl-devel-leak/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-devel-leak/pkg/perl-devel-leak/usr/lib/perl5/vendor_perl/auto/Devel/Leak/Leak.so
# Installing /tmp/perl-devel-leak/pkg/perl-devel-leak/usr/lib/perl5/vendor_perl/Devel/Leak.pm
# Installing /tmp/perl-devel-leak/pkg/perl-devel-leak/usr/share/man/man3/Devel::Leak.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-devel-leak"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-devel-leak 0.03-3 (Tue Apr 4 23:34:27 UTC 2017)

CMD: pacman --query --file perl-devel-leak-0.03-3-x86_64.pkg.tar.xz
# perl-devel-leak 0.03-3

Creating hybrid package for 'perl-devel-leak'

Trying to find vanilla package 'perl-devel-leak'...

CMD: pacman --query --file /mirror/perl-devel-leak-0.03-3.pkg.tar.xz
# perl-devel-leak 0.03-3

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

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