Build of perl-berkeleydb with clang_glibc 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
16,062 ansic
11,228 perl
744 makefile
28,034 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-berkeleydb 0.55-2 (Thu Apr 13 17:01:33 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Parsing config.in...
# Looks Good.
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for BerkeleyDB
# Writing MYMETA.yml and MYMETA.json
# cp mkconsts.pl blib/lib/mkconsts.pl
# cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
# cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
# cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
# cp scan.pl blib/lib/scan.pl
# cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
# Running Mkbootstrap for BerkeleyDB ()
# chmod 644 "BerkeleyDB.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -noprototypes -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
# Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5856
# Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5884
# cc -c -I/usr/local/BerkeleyDB/include -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.55\" -DXS_VERSION=\"0.55\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" BerkeleyDB.c
# BerkeleyDB.xs:2337:18: warning: implicit declaration of function '__heap_exist' is invalid in C99 [-Wimplicit-function-declaration]
# RETVAL = __heap_exist() ;
# ^
# BerkeleyDB.xs:6069:74: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
# RETVAL = seq->seq->initial_value(seq->seq, (db_seq_t)(high << 32 + low));
# ~~ ~~~^~~~~
# BerkeleyDB.xs:6069:74: note: place parentheses around the '+' expression to silence this warning
# RETVAL = seq->seq->initial_value(seq->seq, (db_seq_t)(high << 32 + low));
# ^
# ( )
# 2 warnings generated.
# rm -f blib/arch/auto/BerkeleyDB/BerkeleyDB.so
# LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong BerkeleyDB.o -o blib/arch/auto/BerkeleyDB/BerkeleyDB.so \
# -ldb \
#
# chmod 755 blib/arch/auto/BerkeleyDB/BerkeleyDB.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- BerkeleyDB.bs blib/arch/auto/BerkeleyDB/BerkeleyDB.bs 644
# Manifying 1 pod document
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for BerkeleyDB ()
# chmod 644 "BerkeleyDB.bs"
# Manifying 1 pod document
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/auto/BerkeleyDB/BerkeleyDB.so
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/mkconsts.pl
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/BerkeleyDB.pod
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/BerkeleyDB.pm
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/scan.pl
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/BerkeleyDB/Hash.pm
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/lib/perl5/vendor_perl/BerkeleyDB/Btree.pm
# Installing /tmp/perl-berkeleydb/pkg/perl-berkeleydb/usr/share/man/man3/BerkeleyDB.3pm
# Appending installation info to /tmp/perl-berkeleydb/pkg/perl-berkeleydb/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-berkeleydb"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-berkeleydb 0.55-2 (Thu Apr 13 17:02:04 UTC 2017)

CMD: pacman --query --file perl-berkeleydb-0.55-2-x86_64.pkg.tar.xz
# perl-berkeleydb 0.55-2

Creating hybrid package for 'perl-berkeleydb'

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

CMD: pacman --query --file /mirror/perl-berkeleydb-0.55-2.pkg.tar.xz
# perl-berkeleydb 0.55-2

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

Created package at path /var/cache/pacman/pkg/perl-berkeleydb.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-berkeleydb.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-berkeleydb.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'