Build of perl-mail-transport-dbx with musl toolchain

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

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

SLOCLanguage
2,307 ansic
1,227 makefile
188 pascal
90 perl
3,812 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-mail-transport-dbx 0.07-12 (Tue Apr 4 23:38:08 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 Mail::Transport::Dbx::libdbx
# Writing MYMETA.yml and MYMETA.json
# Generating a Unix-style Makefile
# Writing Makefile for Mail::Transport::Dbx
# Writing MYMETA.yml and MYMETA.json
# cd libdbx && make "CCFLAGS=-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" "CC=cc" "OPTIMIZE=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
# make[1]: Entering directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# 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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DDBX_LITTLE_ENDIAN libdbx.c
# Running Mkbootstrap for Mail::Transport::Dbx ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Dbx.xs > Dbx.xsc && mv Dbx.xsc Dbx.c
# chmod 644 "Dbx.bs"
# 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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DDBX_LITTLE_ENDIAN timeconv.c
# cp Dbx.pm blib/lib/Mail/Transport/Dbx.pm
# AutoSplitting blib/lib/Mail/Transport/Dbx.pm (blib/lib/auto/Mail/Transport/Dbx)
# cc -c -I. -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.07\" -DXS_VERSION=\"0.07\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Dbx.c
# ar cr libdbx.a libdbx.o timeconv.o
# : libdbx.a
# make[1]: Leaving directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# make[1]: Entering directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# In file included from Dbx.xs:5:
# ./ppport.h:227:11: warning: 'PERL_UNUSED_DECL' macro redefined [-Wmacro-redefined]
# # define PERL_UNUSED_DECL
# ^
# /usr/lib/perl5/core_perl/CORE/perl.h:313:13: note: previous definition is here
# # define PERL_UNUSED_DECL __attribute__unused__
# ^
# 1 warning generated.
# rm -f blib/arch/auto/Mail/Transport/Dbx/Dbx.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Dbx.o -o blib/arch/auto/Mail/Transport/Dbx/Dbx.so libdbx/libdbx.a \
# \
#
# chmod 755 blib/arch/auto/Mail/Transport/Dbx/Dbx.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Dbx.bs blib/arch/auto/Mail/Transport/Dbx/Dbx.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Mail::Transport::Dbx ()
# make[1]: Entering directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/perl-mail-transport-dbx/src/Mail-Transport-Dbx-0.07/libdbx'
# chmod 644 "Dbx.bs"
# Manifying 1 pod document
# Appending installation info to /tmp/perl-mail-transport-dbx/pkg/perl-mail-transport-dbx/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-mail-transport-dbx/pkg/perl-mail-transport-dbx/usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/Dbx.so
# Installing /tmp/perl-mail-transport-dbx/pkg/perl-mail-transport-dbx/usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/autosplit.ix
# Installing /tmp/perl-mail-transport-dbx/pkg/perl-mail-transport-dbx/usr/lib/perl5/vendor_perl/Mail/Transport/Dbx.pm
# Installing /tmp/perl-mail-transport-dbx/pkg/perl-mail-transport-dbx/usr/share/man/man3/Mail::Transport::Dbx.3pm
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-mail-transport-dbx"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-mail-transport-dbx 0.07-12 (Tue Apr 4 23:38:12 UTC 2017)

CMD: pacman --query --file perl-mail-transport-dbx-0.07-12-x86_64.pkg.tar.xz
# perl-mail-transport-dbx 0.07-12

Creating hybrid package for 'perl-mail-transport-dbx'

Trying to find vanilla package 'perl-mail-transport-dbx'...

CMD: pacman --query --file /mirror/perl-mail-transport-dbx-0.07-12.pkg.tar.xz
# perl-mail-transport-dbx 0.07-12

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/Mail::Transport::Dbx.3pm.gz
# /usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/autosplit.ix
# /usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/Dbx.so
# /usr/lib/perl5/vendor_perl/Mail/Transport/Dbx.pm
# /sysroot/usr/lib/perl5/vendor_perl/Mail/Transport/Dbx.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/Dbx.so
# /sysroot/usr/lib/perl5/vendor_perl/auto/Mail/Transport/Dbx/autosplit.ix

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-mail-transport-dbx.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 2

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