Build of python2-cjson with clang_glibc toolchain

The build took 00h 04m 03s and was SUCCESSFUL.

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

SLOCLanguage
947 ansic
251 python
2 sh
1,200 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: python2-cjson 1.1.0-1 (Thu Apr 13 13:57:49 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# running install
# running build
# running build_ext
# building 'cjson' extension
# creating build
# creating build/temp.linux-x86_64-2.7
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_VERSION=1.1.0 -I/usr/include/python2.7 -c cjson.c -o build/temp.linux-x86_64-2.7/cjson.o
# creating build/lib.linux-x86_64-2.7
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/cjson.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/cjson.so
# running install_lib
# creating /tmp/python2-cjson/pkg/python2-cjson/usr
# creating /tmp/python2-cjson/pkg/python2-cjson/usr/lib
# creating /tmp/python2-cjson/pkg/python2-cjson/usr/lib/python2.7
# creating /tmp/python2-cjson/pkg/python2-cjson/usr/lib/python2.7/site-packages
# copying build/lib.linux-x86_64-2.7/cjson.so -> /tmp/python2-cjson/pkg/python2-cjson/usr/lib/python2.7/site-packages
# running install_egg_info
# Writing /tmp/python2-cjson/pkg/python2-cjson/usr/lib/python2.7/site-packages/python_cjson-1.1.0-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python2-cjson"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: python2-cjson 1.1.0-1 (Thu Apr 13 13:57:50 UTC 2017)

CMD: pacman --query --file python2-cjson-1.1.0-1-x86_64.pkg.tar.xz
# python2-cjson 1.1.0-1

Creating hybrid package for 'python2-cjson'

Trying to find vanilla package 'python2-cjson'...

CMD: pacman --query --file /mirror/python2-cjson-1.1.0-1.pkg.tar.xz
# python2-cjson 1.1.0-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python2.7/site-packages/cjson.so
# /usr/lib/python2.7/site-packages/python_cjson-1.1.0-py2.7.egg-info
# /sysroot/usr/lib/python2.7/site-packages/cjson.so
# /sysroot/usr/lib/python2.7/site-packages/python_cjson-1.1.0-py2.7.egg-info

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 python2-cjson.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/python2-cjson.pkg.tar.xz

Attempting to access local repository, attempt 1

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