Build of python2-pysqlite-legacy with clang_glibc toolchain

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

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

SLOCLanguage
2,127 python
1,544 ansic
58 makefile
3,729 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-pysqlite-legacy 1.0.1-3 (Thu Apr 13 16:30:39 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) sqlite2-2.8.17-7
#
# Total Installed Size: 0.44 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 sqlite2...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# running install
# running build
# running build_py
# creating build
# creating build/lib.linux-x86_64-2.7
# creating build/lib.linux-x86_64-2.7/sqlite
# copying sqlite/__init__.py -> build/lib.linux-x86_64-2.7/sqlite
# copying sqlite/main.py -> build/lib.linux-x86_64-2.7/sqlite
# running build_ext
# building '_sqlite' extension
# creating build/temp.linux-x86_64-2.7
# creating build/temp.linux-x86_64-2.7/port
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include/sqlite -I/usr/include/python2.7 -c _sqlite.c -o build/temp.linux-x86_64-2.7/_sqlite.o
# _sqlite.c:976:26: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# sqlite_encode_binary(in, n, out);
# ^~
# _sqlite.c:152:47: note: passing argument to parameter 'in' here
# int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out);
# ^
# _sqlite.c:976:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# sqlite_encode_binary(in, n, out);
# ^~~
# _sqlite.c:152:73: note: passing argument to parameter 'out' here
# int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out);
# ^
# _sqlite.c:1003:30: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# n = sqlite_decode_binary(in, out);
# ^~
# _sqlite.c:153:47: note: passing argument to parameter 'in' here
# int sqlite_decode_binary(const unsigned char *in, unsigned char *out);
# ^
# _sqlite.c:1003:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# n = sqlite_decode_binary(in, out);
# ^~~
# _sqlite.c:153:66: note: passing argument to parameter 'out' here
# int sqlite_decode_binary(const unsigned char *in, unsigned char *out);
# ^
# 4 warnings generated.
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include/sqlite -I/usr/include/python2.7 -c encode.c -o build/temp.linux-x86_64-2.7/encode.o
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include/sqlite -I/usr/include/python2.7 -c port/strsep.c -o build/temp.linux-x86_64-2.7/port/strsep.o
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/_sqlite.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/port/strsep.o -L/usr/lib/ -L/usr/lib -lsqlite -lpython2.7 -o build/lib.linux-x86_64-2.7/_sqlite.so
# running install_lib
# creating /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr
# creating /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib
# creating /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7
# creating /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages
# creating /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/sqlite
# copying build/lib.linux-x86_64-2.7/sqlite/__init__.py -> /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/sqlite
# copying build/lib.linux-x86_64-2.7/sqlite/main.py -> /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/sqlite
# copying build/lib.linux-x86_64-2.7/_sqlite.so -> /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages
# byte-compiling /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/sqlite/__init__.py to __init__.pyc
# byte-compiling /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/sqlite/main.py to main.pyc
# writing byte-compilation script '/tmp/tmpMSmNqW.py'
# /usr/bin/python2 -O /tmp/tmpMSmNqW.py
# removing /tmp/tmpMSmNqW.py
# running install_egg_info
# Writing /tmp/python2-pysqlite-legacy/pkg/python2-pysqlite-legacy/usr/lib/python2.7/site-packages/pysqlite-1.0.1-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python2-pysqlite-legacy"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: python2-pysqlite-legacy 1.0.1-3 (Thu Apr 13 16:30:43 UTC 2017)

CMD: pacman --query --file python2-pysqlite-legacy-1.0.1-3-x86_64.pkg.tar.xz
# python2-pysqlite-legacy 1.0.1-3

Creating hybrid package for 'python2-pysqlite-legacy'

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

CMD: pacman --query --file /mirror/python2-pysqlite-legacy-1.0.1-3.pkg.tar.xz
# python2-pysqlite-legacy 1.0.1-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/python2.7/site-packages/pysqlite-1.0.1-py2.7.egg-info
# /usr/lib/python2.7/site-packages/_sqlite.so
# /usr/lib/python2.7/site-packages/sqlite/main.py
# /usr/lib/python2.7/site-packages/sqlite/main.pyc
# /usr/lib/python2.7/site-packages/sqlite/main.pyo
# /usr/lib/python2.7/site-packages/sqlite/__init__.pyc
# /usr/lib/python2.7/site-packages/sqlite/__init__.pyo
# /usr/lib/python2.7/site-packages/sqlite/__init__.py
# /usr/share/licenses/python2-pysqlite-legacy/LICENSE
# /sysroot/usr/lib/python2.7/site-packages/_sqlite.so
# /sysroot/usr/lib/python2.7/site-packages/pysqlite-1.0.1-py2.7.egg-info
# /sysroot/usr/lib/python2.7/site-packages/sqlite/__init__.py
# /sysroot/usr/lib/python2.7/site-packages/sqlite/main.py
# /sysroot/usr/lib/python2.7/site-packages/sqlite/__init__.pyc
# /sysroot/usr/lib/python2.7/site-packages/sqlite/main.pyc
# /sysroot/usr/lib/python2.7/site-packages/sqlite/__init__.pyo
# /sysroot/usr/lib/python2.7/site-packages/sqlite/main.pyo

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

Created package at path /var/cache/pacman/pkg/python2-pysqlite-legacy.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-legacy.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 1746

Attempting to access local repository, attempt 2

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