Build of pyalpm with clang_glibc toolchain

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

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

SLOCLanguage
1,919 ansic
1,681 python
3,600 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: pyalpm 0.8-1 (Thu Apr 13 18:08:16 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-3.5
# creating build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_deptest.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_remove.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/transaction.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/__init__.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/pkginfo.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_sync.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_database.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/config.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_upgrade.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_query.py -> build/lib.linux-x86_64-3.5/pycman
# copying pycman/action_version.py -> build/lib.linux-x86_64-3.5/pycman
# running build_ext
# building 'pyalpm' extension
# 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 -I/usr/include/python3.5m -c src/pyalpm.c -o build/temp.linux-x86_64-3.5/src/pyalpm.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/util.c -o build/temp.linux-x86_64-3.5/src/util.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/package.c -o build/temp.linux-x86_64-3.5/src/package.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# In file included from src/package.c:25:
# In file included from /usr/include/python3.5m/Python.h:65:
# /usr/include/python3.5m/pytime.h:136:56: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
# PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
# ^
# src/package.c:321:10: warning: missing field 'get' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# src/package.c:327:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# 3 warnings generated.
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/db.c -o build/temp.linux-x86_64-3.5/src/db.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# In file included from src/db.c:24:
# In file included from /usr/include/python3.5m/Python.h:65:
# /usr/include/python3.5m/pytime.h:136:56: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
# PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
# ^
# src/db.c:223:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
# { NULL },
# ^
# src/db.c:234:10: warning: missing field 'get' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# 3 warnings generated.
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/options.c -o build/temp.linux-x86_64-3.5/src/options.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/handle.c -o build/temp.linux-x86_64-3.5/src/handle.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# src/handle.c:335:10: warning: missing field 'get' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# 1 warning generated.
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/transaction.c -o build/temp.linux-x86_64-3.5/src/transaction.o -Wall -Wextra -Wconversion -Wno-unused-parameter -Wno-unused-function -Wno-format -Wdeclaration-after-statement -ansi -D_FILE_OFFSET_BITS=64 -DVERSION="0.8"
# In file included from src/transaction.c:25:
# In file included from /usr/include/python3.5m/Python.h:65:
# /usr/include/python3.5m/pytime.h:136:56: warning: declaration of 'struct timespec' will not be visible outside of this function [-Wvisibility]
# PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
# ^
# src/transaction.c:445:10: warning: missing field 'get' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# src/transaction.c:464:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
# { NULL }
# ^
# 3 warnings generated.
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-3.5/src/pyalpm.o build/temp.linux-x86_64-3.5/src/util.o build/temp.linux-x86_64-3.5/src/package.o build/temp.linux-x86_64-3.5/src/db.o build/temp.linux-x86_64-3.5/src/options.o build/temp.linux-x86_64-3.5/src/handle.o build/temp.linux-x86_64-3.5/src/transaction.o -L/usr/lib -lalpm -lpython3.5m -o build/lib.linux-x86_64-3.5/pyalpm.cpython-35m-x86_64-linux-gnu.so
# running build_scripts
# creating build/scripts-3.5
# copying and adjusting scripts/lsoptdepends -> build/scripts-3.5
# copying and adjusting scripts/pycman-database -> build/scripts-3.5
# copying and adjusting scripts/pycman-deptest -> build/scripts-3.5
# copying and adjusting scripts/pycman-query -> build/scripts-3.5
# copying and adjusting scripts/pycman-remove -> build/scripts-3.5
# copying and adjusting scripts/pycman-sync -> build/scripts-3.5
# copying and adjusting scripts/pycman-upgrade -> build/scripts-3.5
# copying and adjusting scripts/pycman-version -> build/scripts-3.5
# changing mode of build/scripts-3.5/lsoptdepends from 644 to 755
# changing mode of build/scripts-3.5/pycman-database from 644 to 755
# changing mode of build/scripts-3.5/pycman-deptest from 644 to 755
# changing mode of build/scripts-3.5/pycman-query from 644 to 755
# changing mode of build/scripts-3.5/pycman-remove from 644 to 755
# changing mode of build/scripts-3.5/pycman-sync from 644 to 755
# changing mode of build/scripts-3.5/pycman-upgrade from 644 to 755
# changing mode of build/scripts-3.5/pycman-version from 644 to 755
# ==> Entering fakeroot environment...
# ==> Starting package()...
# running install
# running build
# running build_py
# running build_ext
# running build_scripts
# running install_lib
# creating /tmp/pyalpm/pkg/pyalpm/usr
# creating /tmp/pyalpm/pkg/pyalpm/usr/lib
# creating /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5
# creating /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages
# creating /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_deptest.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_remove.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/transaction.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/__init__.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/pkginfo.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_sync.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_database.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/config.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_upgrade.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_query.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pycman/action_version.py -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman
# copying build/lib.linux-x86_64-3.5/pyalpm.cpython-35m-x86_64-linux-gnu.so -> /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_deptest.py to action_deptest.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_remove.py to action_remove.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/transaction.py to transaction.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/__init__.py to __init__.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/pkginfo.py to pkginfo.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_sync.py to action_sync.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_database.py to action_database.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/config.py to config.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_upgrade.py to action_upgrade.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_query.py to action_query.cpython-35.pyc
# byte-compiling /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pycman/action_version.py to action_version.cpython-35.pyc
# running install_scripts
# creating /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/lsoptdepends -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-database -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-deptest -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-query -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-remove -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-sync -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-upgrade -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# copying build/scripts-3.5/pycman-version -> /tmp/pyalpm/pkg/pyalpm/usr/bin
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/lsoptdepends to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-database to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-deptest to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-query to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-remove to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-sync to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-upgrade to 755
# changing mode of /tmp/pyalpm/pkg/pyalpm/usr/bin/pycman-version to 755
# running install_egg_info
# Writing /tmp/pyalpm/pkg/pyalpm/usr/lib/python3.5/site-packages/pyalpm-0.8-py3.5.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "pyalpm"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: pyalpm 0.8-1 (Thu Apr 13 18:08:25 UTC 2017)

CMD: pacman --query --file pyalpm-0.8-1-x86_64.pkg.tar.xz
# pyalpm 0.8-1

Creating hybrid package for 'pyalpm'

Trying to find vanilla package 'pyalpm'...

CMD: pacman --query --file /mirror/pyalpm-0.8-1.pkg.tar.xz
# pyalpm 0.8-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python3.5/site-packages/pyalpm-0.8-py3.5.egg-info
# /usr/lib/python3.5/site-packages/pyalpm.cpython-35m-x86_64-linux-gnu.so
# /usr/lib/python3.5/site-packages/pycman/__init__.py
# /usr/lib/python3.5/site-packages/pycman/action_database.py
# /usr/lib/python3.5/site-packages/pycman/action_deptest.py
# /usr/lib/python3.5/site-packages/pycman/action_query.py
# /usr/lib/python3.5/site-packages/pycman/action_remove.py
# /usr/lib/python3.5/site-packages/pycman/action_sync.py
# /usr/lib/python3.5/site-packages/pycman/action_upgrade.py
# /usr/lib/python3.5/site-packages/pycman/action_version.py
# /usr/lib/python3.5/site-packages/pycman/config.py
# /usr/lib/python3.5/site-packages/pycman/pkginfo.py
# /usr/lib/python3.5/site-packages/pycman/transaction.py
# /usr/lib/python3.5/site-packages/pycman/__pycache__/__init__.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_database.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_deptest.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_query.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_remove.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_sync.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_upgrade.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/action_version.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/config.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/pkginfo.cpython-35.pyc
# /usr/lib/python3.5/site-packages/pycman/__pycache__/transaction.cpython-35.pyc
# /usr/bin/lsoptdepends
# /usr/bin/pycman-database
# /usr/bin/pycman-deptest
# /usr/bin/pycman-query
# /usr/bin/pycman-remove
# /usr/bin/pycman-sync
# /usr/bin/pycman-upgrade
# /usr/bin/pycman-version
# /sysroot/usr/lib/python3.5/site-packages/pyalpm.cpython-35m-x86_64-linux-gnu.so
# /sysroot/usr/lib/python3.5/site-packages/pyalpm-0.8-py3.5.egg-info
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_deptest.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_remove.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/transaction.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/__init__.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/pkginfo.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_sync.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_database.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/config.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_upgrade.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_query.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/action_version.py
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_deptest.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_remove.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/transaction.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/__init__.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/pkginfo.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_sync.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_database.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/config.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_upgrade.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_query.cpython-35.pyc
# /sysroot/usr/lib/python3.5/site-packages/pycman/__pycache__/action_version.cpython-35.pyc

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

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

Attempting to access local repository, attempt 1

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