Build of python-pysqlite with clang_glibc toolchain

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

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

SLOCLanguage
4,930 ansic
3,080 python
52 makefile
8,062 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-pysqlite 2.8.2-1 (Thu Apr 13 20:19:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# running build
# running build_py
# creating build
# creating build/lib.linux-x86_64-2.7
# creating build/lib.linux-x86_64-2.7/pysqlite2
# copying lib/dump.py -> build/lib.linux-x86_64-2.7/pysqlite2
# copying lib/__init__.py -> build/lib.linux-x86_64-2.7/pysqlite2
# copying lib/dbapi2.py -> build/lib.linux-x86_64-2.7/pysqlite2
# creating build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/types.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/dump.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/transactions.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/factory.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/__init__.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/dbapi.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/userfunctions.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/hooks.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# copying lib/test/regression.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
# running build_ext
# building 'pysqlite2._sqlite' extension
# 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 -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/module.c -o build/temp.linux-x86_64-2.7/src/module.o
# In file included from src/module.c:277:
# src/sqlite_constants.h:743:19: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'sqlite3_destructor_type' (aka 'void (*)(void *)') [-Wint-conversion]
# {"SQLITE_STATIC", SQLITE_STATIC},
# ^~~~~~~~~~~~~
# /usr/include/sqlite3.h:4606:28: note: expanded from macro 'SQLITE_STATIC'
# #define SQLITE_STATIC ((sqlite3_destructor_type)0)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from src/module.c:277:
# src/sqlite_constants.h:746:22: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'sqlite3_destructor_type' (aka 'void (*)(void *)') [-Wint-conversion]
# {"SQLITE_TRANSIENT", SQLITE_TRANSIENT},
# ^~~~~~~~~~~~~~~~
# /usr/include/sqlite3.h:4607:28: note: expanded from macro 'SQLITE_TRANSIENT'
# #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2 warnings generated.
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/connection.c -o build/temp.linux-x86_64-2.7/src/connection.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/cursor.c -o build/temp.linux-x86_64-2.7/src/cursor.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/cache.c -o build/temp.linux-x86_64-2.7/src/cache.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/microprotocols.c -o build/temp.linux-x86_64-2.7/src/microprotocols.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/prepare_protocol.c -o build/temp.linux-x86_64-2.7/src/prepare_protocol.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/statement.c -o build/temp.linux-x86_64-2.7/src/statement.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/util.c -o build/temp.linux-x86_64-2.7/src/util.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include/python2.7 -c src/row.c -o build/temp.linux-x86_64-2.7/src/row.o
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/src/module.o build/temp.linux-x86_64-2.7/src/connection.o build/temp.linux-x86_64-2.7/src/cursor.o build/temp.linux-x86_64-2.7/src/cache.o build/temp.linux-x86_64-2.7/src/microprotocols.o build/temp.linux-x86_64-2.7/src/prepare_protocol.o build/temp.linux-x86_64-2.7/src/statement.o build/temp.linux-x86_64-2.7/src/util.o build/temp.linux-x86_64-2.7/src/row.o -L/usr/lib -lpython2.7 -lsqlite3 -o build/lib.linux-x86_64-2.7/pysqlite2/_sqlite.so
# ==> Entering fakeroot environment...
# ==> Starting package_python2-pysqlite()...
# running install
# running build
# running build_py
# running build_ext
# running install_lib
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2
# copying build/lib.linux-x86_64-2.7/pysqlite2/dump.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2
# copying build/lib.linux-x86_64-2.7/pysqlite2/__init__.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2
# copying build/lib.linux-x86_64-2.7/pysqlite2/dbapi2.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/types.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/dump.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/transactions.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/factory.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/__init__.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/dbapi.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/userfunctions.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/hooks.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/test/regression.py -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test
# copying build/lib.linux-x86_64-2.7/pysqlite2/_sqlite.so -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/dump.py to dump.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/__init__.py to __init__.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/dbapi2.py to dbapi2.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/types.py to types.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/dump.py to dump.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/transactions.py to transactions.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/factory.py to factory.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/__init__.py to __init__.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.py to dbapi.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.py to userfunctions.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/hooks.py to hooks.pyc
# byte-compiling /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite2/test/regression.py to regression.pyc
# writing byte-compilation script '/tmp/tmpoVSX5A.py'
# /usr/bin/python2 -O /tmp/tmpoVSX5A.py
# removing /tmp/tmpoVSX5A.py
# running install_data
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/pysqlite2-doc
# copying doc/docutils.css -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/pysqlite2-doc
# copying doc/default.css -> /tmp/python-pysqlite/pkg/python2-pysqlite/usr/pysqlite2-doc
# creating /tmp/python-pysqlite/pkg/python2-pysqlite/usr/pysqlite2-doc/code
# running install_egg_info
# Writing /tmp/python-pysqlite/pkg/python2-pysqlite/usr/lib/python2.7/site-packages/pysqlite-2.8.2-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python2-pysqlite"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: python-pysqlite 2.8.2-1 (Thu Apr 13 20:20:08 UTC 2017)

CMD: pacman --query --file python2-pysqlite-2.8.2-1-x86_64.pkg.tar.xz
# python2-pysqlite 2.8.2-1

Creating hybrid package for 'python2-pysqlite'

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

CMD: pacman --query --file /mirror/python2-pysqlite-2.8.2-1.pkg.tar.xz
# python2-pysqlite 2.8.2-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python2.7/site-packages/pysqlite-2.8.2-py2.7.egg-info
# /usr/lib/python2.7/site-packages/pysqlite2/__init__.py
# /usr/lib/python2.7/site-packages/pysqlite2/dbapi2.py
# /usr/lib/python2.7/site-packages/pysqlite2/dump.py
# /usr/lib/python2.7/site-packages/pysqlite2/__init__.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/dbapi2.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/dump.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/__init__.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/dbapi2.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/dump.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
# /usr/lib/python2.7/site-packages/pysqlite2/test/__init__.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/dump.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/factory.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/hooks.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/regression.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/transactions.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/types.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.py
# /usr/lib/python2.7/site-packages/pysqlite2/test/__init__.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/types.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/factory.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/transactions.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/hooks.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/regression.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/dump.pyc
# /usr/lib/python2.7/site-packages/pysqlite2/test/__init__.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/dump.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/factory.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/hooks.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/regression.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/transactions.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/types.pyo
# /usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.pyo
# /usr/share/licenses/python2-pysqlite/LICENSE
# /sysroot/usr/lib/python2.7/site-packages/pysqlite-2.8.2-py2.7.egg-info
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dump.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/__init__.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dbapi2.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/_sqlite.so
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dump.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/__init__.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dbapi2.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dump.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/__init__.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/dbapi2.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/types.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dump.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/transactions.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/factory.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/__init__.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/hooks.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/regression.py
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/types.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dump.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/transactions.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/factory.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/__init__.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/hooks.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/regression.pyc
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/types.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dump.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/transactions.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/factory.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/__init__.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/dbapi.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/userfunctions.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/hooks.pyo
# /sysroot/usr/lib/python2.7/site-packages/pysqlite2/test/regression.pyo

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

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