Build of perl-term-readkey with clang_glibc toolchain

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

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

SLOCLanguage
2,248 ansic
1,302 perl
727 makefile
4,277 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-term-readkey 2.33-2 (Thu Apr 13 18:33:50 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 Term::ReadKey
# Writing MYMETA.yml and MYMETA.json
# cp ReadKey.pm blib/lib/Term/ReadKey.pm
# AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
# Running Mkbootstrap for Term::ReadKey ()
# chmod 644 "ReadKey.bs"
# "/usr/bin/perl" -I. -I/usr/share/perl5/core_perl genchars.pl
#
# Writing termio/termios section of cchars.h... Done.
# Checking for sgtty...
# Sgtty NOT found.
# Writing sgtty section of cchars.h... Done.
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -noprototypes -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.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.33\" -DXS_VERSION=\"2.33\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" ReadKey.c
# rm -f blib/arch/auto/Term/ReadKey/ReadKey.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong ReadKey.o -o blib/arch/auto/Term/ReadKey/ReadKey.so \
# \
#
# chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Term::ReadKey ()
# chmod 644 "ReadKey.bs"
# Manifying 1 pod document
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-term-readkey/pkg/perl-term-readkey/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
# Installing /tmp/perl-term-readkey/pkg/perl-term-readkey/usr/lib/perl5/vendor_perl/Term/ReadKey.pm
# Installing /tmp/perl-term-readkey/pkg/perl-term-readkey/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/autosplit.ix
# Installing /tmp/perl-term-readkey/pkg/perl-term-readkey/usr/share/man/man3/Term::ReadKey.3pm
# Appending installation info to /tmp/perl-term-readkey/pkg/perl-term-readkey/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-term-readkey"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-term-readkey 2.33-2 (Thu Apr 13 18:34:02 UTC 2017)

CMD: pacman --query --file perl-term-readkey-2.33-2-x86_64.pkg.tar.xz
# perl-term-readkey 2.33-2

Creating hybrid package for 'perl-term-readkey'

Trying to find vanilla package 'perl-term-readkey'...

CMD: pacman --query --file /mirror/perl-term-readkey-2.33-2.pkg.tar.xz
# perl-term-readkey 2.33-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/licenses/perl-term-readkey/LICENSE
# /usr/share/man/man3/Term::ReadKey.3pm.gz
# /usr/lib/perl5/vendor_perl/Term/ReadKey.pm
# /usr/lib/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
# /usr/lib/perl5/vendor_perl/auto/Term/ReadKey/autosplit.ix
# /sysroot/usr/lib/perl5/vendor_perl/Term/ReadKey.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
# /sysroot/usr/lib/perl5/vendor_perl/auto/Term/ReadKey/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-term-readkey.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 2

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