Build of perl-io-dirent with musl toolchain

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

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

SLOCLanguage
705 makefile
209 ansic
57 perl
971 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-io-dirent 0.05-6 (Wed Apr 5 00:03:34 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 IO::Dirent
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for IO::Dirent ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Dirent.xs > Dirent.xsc && mv Dirent.xsc Dirent.c
# chmod 644 "Dirent.bs"
# cp Dirent.pm blib/lib/IO/Dirent.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.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Dirent.c
# Dirent.xs:42:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if( dent = (Direntry_t *)readdir(dirp) ) {
# ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Dirent.xs:42:18: note: place parentheses around the assignment to silence this warning
# if( dent = (Direntry_t *)readdir(dirp) ) {
# ^
# ( )
# Dirent.xs:42:18: note: use '==' to turn this assignment into an equality comparison
# if( dent = (Direntry_t *)readdir(dirp) ) {
# ^
# ==
# 1 warning generated.
# rm -f blib/arch/auto/IO/Dirent/Dirent.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Dirent.o -o blib/arch/auto/IO/Dirent/Dirent.so \
# \
#
# chmod 755 blib/arch/auto/IO/Dirent/Dirent.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Dirent.bs blib/arch/auto/IO/Dirent/Dirent.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for IO::Dirent ()
# chmod 644 "Dirent.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-io-dirent/pkg/perl-io-dirent//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-io-dirent/pkg/perl-io-dirent/usr/lib/perl5/vendor_perl/auto/IO/Dirent/Dirent.so
# Installing /tmp/perl-io-dirent/pkg/perl-io-dirent/usr/lib/perl5/vendor_perl/IO/Dirent.pm
# Installing /tmp/perl-io-dirent/pkg/perl-io-dirent/usr/share/man/man3/IO::Dirent.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-io-dirent"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-io-dirent 0.05-6 (Wed Apr 5 00:03:38 UTC 2017)

CMD: pacman --query --file perl-io-dirent-0.05-6-x86_64.pkg.tar.xz
# perl-io-dirent 0.05-6

Creating hybrid package for 'perl-io-dirent'

Trying to find vanilla package 'perl-io-dirent'...

CMD: pacman --query --file /mirror/perl-io-dirent-0.05-6.pkg.tar.xz
# perl-io-dirent 0.05-6

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

Created package at path /var/cache/pacman/pkg/perl-io-dirent.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-io-dirent.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 658

Attempting to access local repository, attempt 2

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