Build of python-apsw with clang_glibc toolchain

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

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

SLOCLanguage
10,947 python
9,307 ansic
255 makefile
66 sh
20,575 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: python-apsw 3.12.2-1 (Thu Apr 13 13:26:08 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# running build
# running build_ext
# SQLite: Using system sqlite include/libraries
# building 'apsw' extension
# creating build
# creating build/temp.linux-x86_64-3.5
# creating build/temp.linux-x86_64-3.5/src
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/include/python3.5m -c src/apsw.c -o build/temp.linux-x86_64-3.5/src/apsw.o
# creating build/lib.linux-x86_64-3.5
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-3.5/src/apsw.o -L/usr/lib -lsqlite3 -lpython3.5m -o build/lib.linux-x86_64-3.5/apsw.cpython-35m-x86_64-linux-gnu.so
# /usr/lib/python3.5/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '3.12.2-r1' to '3.12.2.post1'
# normalized_version,
# running build
# running build_ext
# SQLite: Using system sqlite include/libraries
# building 'apsw' extension
# creating build
# creating build/temp.linux-x86_64-2.7
# creating build/temp.linux-x86_64-2.7/src
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/include/python2.7 -c src/apsw.c -o build/temp.linux-x86_64-2.7/src/apsw.o
# In file included from src/apsw.c:74:
# In file included from /usr/include/python2.7/Python.h:8:
# /usr/include/python2.7/pyconfig.h:1193:9: warning: '_POSIX_C_SOURCE' macro redefined [-Wmacro-redefined]
# #define _POSIX_C_SOURCE 200112L
# ^
# /usr/include/features.h:225:10: note: previous definition is here
# # define _POSIX_C_SOURCE 200809L
# ^
# 1 warning generated.
# 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/src/apsw.o -L/usr/lib -lsqlite3 -lpython2.7 -o build/lib.linux-x86_64-2.7/apsw.so
# ==> Entering fakeroot environment...
# ==> Starting package_python-apsw()...
# running install
# running build
# running build_ext
# SQLite: Using system sqlite include/libraries
# running install_lib
# creating /tmp/python-apsw/pkg/python-apsw/usr
# creating /tmp/python-apsw/pkg/python-apsw/usr/lib
# creating /tmp/python-apsw/pkg/python-apsw/usr/lib/python3.5
# creating /tmp/python-apsw/pkg/python-apsw/usr/lib/python3.5/site-packages
# copying build/lib.linux-x86_64-3.5/apsw.cpython-35m-x86_64-linux-gnu.so -> /tmp/python-apsw/pkg/python-apsw/usr/lib/python3.5/site-packages
# running install_egg_info
# running egg_info
# creating apsw.egg-info
# writing apsw.egg-info/PKG-INFO
# writing dependency_links to apsw.egg-info/dependency_links.txt
# writing top-level names to apsw.egg-info/top_level.txt
# writing manifest file 'apsw.egg-info/SOURCES.txt'
# reading manifest file 'apsw.egg-info/SOURCES.txt'
# reading manifest template 'MANIFEST.in'
# writing manifest file 'apsw.egg-info/SOURCES.txt'
# Copying apsw.egg-info to /tmp/python-apsw/pkg/python-apsw/usr/lib/python3.5/site-packages/apsw-3.12.2.post1-py3.5.egg-info
# running install_scripts
# /usr/lib/python3.5/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '3.12.2-r1' to '3.12.2.post1'
# normalized_version,
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python-apsw"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Starting package_python2-apsw()...
# running install
# running build
# running build_ext
# SQLite: Using system sqlite include/libraries
# running install_lib
# creating /tmp/python-apsw/pkg/python2-apsw/usr
# creating /tmp/python-apsw/pkg/python2-apsw/usr/lib
# creating /tmp/python-apsw/pkg/python2-apsw/usr/lib/python2.7
# creating /tmp/python-apsw/pkg/python2-apsw/usr/lib/python2.7/site-packages
# copying build/lib.linux-x86_64-2.7/apsw.so -> /tmp/python-apsw/pkg/python2-apsw/usr/lib/python2.7/site-packages
# running install_egg_info
# Writing /tmp/python-apsw/pkg/python2-apsw/usr/lib/python2.7/site-packages/apsw-3.12.2_r1-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python2-apsw"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: python-apsw 3.12.2-1 (Thu Apr 13 13:26:33 UTC 2017)

CMD: pacman --query --file python-apsw-3.12.2-1-x86_64.pkg.tar.xz
# python-apsw 3.12.2-1

Creating hybrid package for 'python-apsw'

Trying to find vanilla package 'python-apsw'...

CMD: pacman --query --file /mirror/python-apsw-3.12.2-1.pkg.tar.xz
# python-apsw 3.12.2-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python3.5/site-packages/apsw-3.12.2_r1-py3.5.egg-info
# /usr/lib/python3.5/site-packages/apsw.cpython-35m-x86_64-linux-gnu.so
# /usr/share/licenses/python-apsw/LICENSE
# /sysroot/usr/lib/python3.5/site-packages/apsw.cpython-35m-x86_64-linux-gnu.so
# /sysroot/usr/lib/python3.5/site-packages/apsw-3.12.2.post1-py3.5.egg-info/PKG-INFO
# /sysroot/usr/lib/python3.5/site-packages/apsw-3.12.2.post1-py3.5.egg-info/dependency_links.txt
# /sysroot/usr/lib/python3.5/site-packages/apsw-3.12.2.post1-py3.5.egg-info/top_level.txt
# /sysroot/usr/lib/python3.5/site-packages/apsw-3.12.2.post1-py3.5.egg-info/SOURCES.txt

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 python-apsw.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/python-apsw.pkg.tar.xz

CMD: pacman --query --file python2-apsw-3.12.2-1-x86_64.pkg.tar.xz
# python2-apsw 3.12.2-1

Creating hybrid package for 'python2-apsw'

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

CMD: pacman --query --file /mirror/python2-apsw-3.12.2-1.pkg.tar.xz
# python2-apsw 3.12.2-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python2.7/site-packages/apsw-3.12.2_r1-py2.7.egg-info
# /usr/lib/python2.7/site-packages/apsw.so
# /usr/share/licenses/python2-apsw/LICENSE
# /sysroot/usr/lib/python2.7/site-packages/apsw.so
# /sysroot/usr/lib/python2.7/site-packages/apsw-3.12.2_r1-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-apsw.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 1

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