Build of cdbxx with clang_glibc toolchain

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

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

SLOCLanguage
702 cpp
80 makefile
782 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: cdbxx 0.0.1rc2-5 (Thu Apr 13 18:42:34 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) tinycdb-0.78-2
#
# Total Installed Size: 0.05 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing tinycdb...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# Making dependences for iterator.cc
# Making dependences for db.cc
# g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include -c -fpic db.cc -o db.so
# g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include -c -fpic iterator.cc -o iterator.so
# g++ -lcdb -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -shared -Wl,-soname,libcdbxx.so.0 -lc db.so iterator.so -o libcdbxx.so
# ln -sf libcdbxx.so libcdbxx.so.0
# g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include -c -o db.o db.cc
# g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include -c -o iterator.o iterator.cc
# ar rv libcdbxx.a db.o iterator.o
# ar: creating libcdbxx.a
# a - db.o
# a - iterator.o
# ranlib libcdbxx.a
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include -Wl,-rpath,/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite/../src/ -L../src/ -lcdbxx -lcdb test.cc -o test
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# install -d -m755 /tmp/cdbxx/pkg/cdbxx/usr/include/cdbxx
# install -pD -m755 libcdbxx.so /tmp/cdbxx/pkg/cdbxx/usr/lib/libcdbxx.so.0.0.1rc2
# install -pD -m644 libcdbxx.a /tmp/cdbxx/pkg/cdbxx/usr/lib/libcdbxx.a
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'
# make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# make[1]: Nothing to be done for 'install'.
# make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "cdbxx"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: cdbxx 0.0.1rc2-5 (Thu Apr 13 18:42:50 UTC 2017)

CMD: pacman --query --file cdbxx-0.0.1rc2-5-x86_64.pkg.tar.xz
# cdbxx 0.0.1rc2-5

Creating hybrid package for 'cdbxx'

Trying to find vanilla package 'cdbxx'...

CMD: pacman --query --file /mirror/cdbxx-0.0.1rc2-5.pkg.tar.xz
# cdbxx 0.0.1rc2-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/cdbxx/data.hh
# /usr/include/cdbxx/data_adapters.hh
# /usr/include/cdbxx/db.hh
# /usr/include/cdbxx/iterator.hh
# /usr/include/cdbxx/map.hh
# /usr/lib/libcdbxx.so.0
# /usr/lib/libcdbxx.so
# /usr/lib/libcdbxx.so.0.0.1rc2
# /sysroot/usr/lib/libcdbxx.so.0.0.1rc2
# /sysroot/usr/lib/libcdbxx.a
# /sysroot/usr/lib/libcdbxx.so.0
# /sysroot/usr/lib/libcdbxx.so
# /sysroot/usr/include/cdbxx/data.hh
# /sysroot/usr/include/cdbxx/data_adapters.hh
# /sysroot/usr/include/cdbxx/db.hh
# /sysroot/usr/include/cdbxx/iterator.hh
# /sysroot/usr/include/cdbxx/map.hh

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf cdbxx.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/cdbxx.pkg.tar.xz

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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