Build of python2-subprocess32 with musl toolchain

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

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

SLOCLanguage
2,951 python
792 ansic
7 sh
3,750 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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-subprocess32 3.2.7-1 (Wed Apr 5 00:12:08 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
# copying subprocess32.py -> build/lib.linux-x86_64-2.7
# running build_ext
# building '_posixsubprocess' extension
# creating build/temp.linux-x86_64-2.7
# clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/_posixsubprocess.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/_posixsubprocess.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# running install
# running install_lib
# creating /tmp/python2-subprocess32/pkg/python2-subprocess32/usr
# creating /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib
# creating /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7
# creating /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7/site-packages
# copying build/lib.linux-x86_64-2.7/subprocess32.py -> /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7/site-packages
# copying build/lib.linux-x86_64-2.7/_posixsubprocess.so -> /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7/site-packages
# byte-compiling /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7/site-packages/subprocess32.py to subprocess32.pyc
# writing byte-compilation script '/tmp/tmpa_p3te.py'
# /usr/sbin/python2 -O /tmp/tmpa_p3te.py
# removing /tmp/tmpa_p3te.py
# running install_egg_info
# Writing /tmp/python2-subprocess32/pkg/python2-subprocess32/usr/lib/python2.7/site-packages/subprocess32-3.2.7-py2.7.egg-info
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "python2-subprocess32"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: python2-subprocess32 3.2.7-1 (Wed Apr 5 00:12:09 UTC 2017)

CMD: pacman --query --file python2-subprocess32-3.2.7-1-x86_64.pkg.tar.xz
# python2-subprocess32 3.2.7-1

Creating hybrid package for 'python2-subprocess32'

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

CMD: pacman --query --file /mirror/python2-subprocess32-3.2.7-1.pkg.tar.xz
# python2-subprocess32 3.2.7-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/python2.7/site-packages/subprocess32.pyo
# /usr/lib/python2.7/site-packages/subprocess32.pyc
# /usr/lib/python2.7/site-packages/_posixsubprocess.so
# /usr/lib/python2.7/site-packages/subprocess32-3.2.7-py2.7.egg-info
# /usr/lib/python2.7/site-packages/subprocess32.py
# /usr/share/licenses/python2-subprocess32/LICENSE
# /usr/share/doc/python2-subprocess32/README.md
# /usr/share/doc/python2-subprocess32/ChangeLog
# /sysroot/usr/lib/python2.7/site-packages/subprocess32.py
# /sysroot/usr/lib/python2.7/site-packages/_posixsubprocess.so
# /sysroot/usr/lib/python2.7/site-packages/subprocess32.pyc
# /sysroot/usr/lib/python2.7/site-packages/subprocess32.pyo
# /sysroot/usr/lib/python2.7/site-packages/subprocess32-3.2.7-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-subprocess32.pkg.tar.xz .PKGINFO
# .PKGINFO

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