Build of perl-compress-bzip2 with clang_glibc 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
8,539 ansic
1,098 perl
941 makefile
255 sh
242 pascal
11,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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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-compress-bzip2 2.24-2 (Thu Apr 13 19:22:31 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Parsing config.in...
# found bzip2 1.0.6, 6-Sept-2010 installed
# Looks Good.
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Compress::Bzip2
# Writing MYMETA.yml and MYMETA.json
# cp lib/Compress/Bzip2.pm blib/lib/Compress/Bzip2.pm
# AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2)
# Running Mkbootstrap for Compress::Bzip2 ()
# chmod 644 "Bzip2.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Bzip2.xs > Bzip2.xsc && mv Bzip2.xsc Bzip2.c
# 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=\"2.24\" -DXS_VERSION=\"2.24\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Bzip2.c
# rm -f blib/arch/auto/Compress/Bzip2/Bzip2.so
# LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so \
# -lbz2 \
#
# chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Compress::Bzip2 ()
# chmod 644 "Bzip2.bs"
# Manifying 1 pod document
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/Compress/Bzip2.pm
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix
# Installing /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/share/man/man3/Compress::Bzip2.3pm
# Appending installation info to /tmp/perl-compress-bzip2/pkg/perl-compress-bzip2/usr/lib/perl5/core_perl/perllocal.pod
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-compress-bzip2"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-compress-bzip2 2.24-2 (Thu Apr 13 19:22:38 UTC 2017)

CMD: pacman --query --file perl-compress-bzip2-2.24-2-x86_64.pkg.tar.xz
# perl-compress-bzip2 2.24-2

Creating hybrid package for 'perl-compress-bzip2'

Trying to find vanilla package 'perl-compress-bzip2'...

CMD: pacman --query --file /mirror/perl-compress-bzip2-2.24-2.pkg.tar.xz
# perl-compress-bzip2 2.24-2

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

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

Attempting to access local repository, attempt 2

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