Build of python-pycurl with clang_glibc toolchain

The build took 00h 00m 42s and was NOT successful.

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

SLOCLanguage
6,546 python
5,837 ansic
621 sh
144 makefile
53 php
13,201 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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-pycurl 7.43.0-1 (Thu Apr 13 21:13:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# python setup.py docstrings
# python setup.py build
# Using curl-config (libcurl 7.49.1)
# running build
# running build_py
# creating build
# creating build/lib.linux-x86_64-3.5
# creating build/lib.linux-x86_64-3.5/curl
# copying python/curl/__init__.py -> build/lib.linux-x86_64-3.5/curl
# running build_ext
# building 'pycurl' 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 -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/docstrings.c -o build/temp.linux-x86_64-3.5/src/docstrings.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/easy.c -o build/temp.linux-x86_64-3.5/src/easy.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/module.c -o build/temp.linux-x86_64-3.5/src/module.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/multi.c -o build/temp.linux-x86_64-3.5/src/multi.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/oscompat.c -o build/temp.linux-x86_64-3.5/src/oscompat.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/pythoncompat.c -o build/temp.linux-x86_64-3.5/src/pythoncompat.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/share.c -o build/temp.linux-x86_64-3.5/src/share.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/stringcompat.c -o build/temp.linux-x86_64-3.5/src/stringcompat.o
# clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.43.0" -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.5m -c src/threadsupport.c -o build/temp.linux-x86_64-3.5/src/threadsupport.o
# gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-3.5/src/docstrings.o build/temp.linux-x86_64-3.5/src/easy.o build/temp.linux-x86_64-3.5/src/module.o build/temp.linux-x86_64-3.5/src/multi.o build/temp.linux-x86_64-3.5/src/oscompat.o build/temp.linux-x86_64-3.5/src/pythoncompat.o build/temp.linux-x86_64-3.5/src/share.o build/temp.linux-x86_64-3.5/src/stringcompat.o build/temp.linux-x86_64-3.5/src/threadsupport.o -L/usr/lib -lcurl -lcrypto -lpython3.5m -o build/lib.linux-x86_64-3.5/pycurl.cpython-35m-x86_64-linux-gnu.so
# Using curl-config (libcurl 7.49.1)
# running build
# running build_py
# running build_ext
# /tmp/python-pycurl/PKGBUILD: line 40: cd: /tmp/python-pycurl/src/pycurl-py2: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...