Build of python-pycurl with vanilla toolchain

The build took 00h 00m 23s 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.

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...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: python-pycurl 7.43.0-1 (Wed Aug 24 14:33:15 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# python setup.py docstrings
# 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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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
# gcc -pthread -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...