Build of perl-guard with clang_glibc toolchain

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

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

SLOCLanguage
704 makefile
278 ansic
12 perl
994 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-guard 1.023-3 (Thu Apr 13 20:41:20 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 Guard
# Writing MYMETA.yml and MYMETA.json
# cp Guard.pm blib/lib/Guard.pm
# Running Mkbootstrap for Guard ()
# chmod 644 "Guard.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" Guard.xs > Guard.xsc && mv Guard.xsc Guard.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=\"1.023\" -DXS_VERSION=\"1.023\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Guard.c
# rm -f blib/arch/auto/Guard/Guard.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Guard.o -o blib/arch/auto/Guard/Guard.so \
# \
#
# chmod 755 blib/arch/auto/Guard/Guard.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Guard.bs blib/arch/auto/Guard/Guard.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Guard ()
# chmod 644 "Guard.bs"
# Manifying 1 pod document
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-guard/pkg/perl-guard/usr/lib/perl5/vendor_perl/auto/Guard/Guard.so
# Installing /tmp/perl-guard/pkg/perl-guard/usr/lib/perl5/vendor_perl/Guard.pm
# Installing /tmp/perl-guard/pkg/perl-guard/usr/share/man/man3/Guard.3pm
# Appending installation info to /tmp/perl-guard/pkg/perl-guard/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-guard"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-guard 1.023-3 (Thu Apr 13 20:41:24 UTC 2017)

CMD: pacman --query --file perl-guard-1.023-3-x86_64.pkg.tar.xz
# perl-guard 1.023-3

Creating hybrid package for 'perl-guard'

Trying to find vanilla package 'perl-guard'...

CMD: pacman --query --file /mirror/perl-guard-1.023-3.pkg.tar.xz
# perl-guard 1.023-3

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

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

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-guard.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 792

Attempting to access local repository, attempt 3

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