Build of cpanminus with musl toolchain

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

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

SLOCLanguage
12,975 perl
590 makefile
13,565 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: cpanminus 1.7040-1 (Tue Apr 4 23:10:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for App::cpanminus
# Writing MYMETA.yml and MYMETA.json
# cp lib/App/cpanminus.pm blib/lib/App/cpanminus.pm
# cp lib/App/cpanminus/fatscript.pm blib/lib/App/cpanminus/fatscript.pm
# cp bin/cpanm blib/script/cpanm
# "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpanm
# Manifying 1 pod document
# Manifying 2 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Manifying 1 pod document
# Manifying 2 pod documents
# Appending installation info to /tmp/cpanminus/pkg/cpanminus/usr/lib/perl5/core_perl/perllocal.pod
# Installing /tmp/cpanminus/pkg/cpanminus/usr/share/perl5/vendor_perl/App/cpanminus.pm
# Installing /tmp/cpanminus/pkg/cpanminus/usr/share/perl5/vendor_perl/App/cpanminus/fatscript.pm
# Installing /tmp/cpanminus/pkg/cpanminus/usr/share/man/man1/cpanm.1p
# Installing /tmp/cpanminus/pkg/cpanminus/usr/share/man/man3/App::cpanminus.3pm
# Installing /tmp/cpanminus/pkg/cpanminus/usr/share/man/man3/App::cpanminus::fatscript.3pm
# Installing /tmp/cpanminus/pkg/cpanminus/usr/bin/vendor_perl/cpanm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "cpanminus"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: cpanminus 1.7040-1 (Tue Apr 4 23:10:47 UTC 2017)

CMD: pacman --query --file cpanminus-1.7040-1-any.pkg.tar.xz
# cpanminus 1.7040-1

Creating hybrid package for 'cpanminus'

Trying to find vanilla package 'cpanminus'...

CMD: pacman --query --file /mirror/cpanminus-1.7040-1.pkg.tar.xz
# cpanminus 1.7040-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/vendor_perl/cpanm
# /usr/share/man/man1/cpanm.1p.gz
# /usr/share/man/man3/App::cpanminus::fatscript.3pm.gz
# /usr/share/man/man3/App::cpanminus.3pm.gz
# /usr/share/perl5/vendor_perl/App/cpanminus.pm
# /usr/share/perl5/vendor_perl/App/cpanminus/fatscript.pm

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 cpanminus.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/cpanminus.pkg.tar.xz

Attempting to access local repository, attempt 1

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