Build of python-wrapt with android toolchain

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

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

SLOCLanguage
4,498 python
2,003 ansic
300 sh
143 makefile
6,944 total

The process tree of the build process is here.

List of Errors

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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: python-wrapt 1.10.8-1 (Tue Apr 4 22:02:50 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/wrapt
# copying src/wrapt/decorators.py -> build/lib.linux-x86_64-3.5/wrapt
# copying src/wrapt/importer.py -> build/lib.linux-x86_64-3.5/wrapt
# copying src/wrapt/__init__.py -> build/lib.linux-x86_64-3.5/wrapt
# copying src/wrapt/arguments.py -> build/lib.linux-x86_64-3.5/wrapt
# copying src/wrapt/wrappers.py -> build/lib.linux-x86_64-3.5/wrapt
# running build_ext
# building 'wrapt._wrappers' extension
# creating build/temp.linux-x86_64-3.5
# creating build/temp.linux-x86_64-3.5/src
# creating build/temp.linux-x86_64-3.5/src/wrapt
# arm-linux-androideabi-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python3.5m -c src/wrapt/_wrappers.c -o build/temp.linux-x86_64-3.5/src/wrapt/_wrappers.o
# In file included from /usr/include/python3.5m/Python.h:50:0,
# from src/wrapt/_wrappers.c:3:
# /usr/include/python3.5m/pyport.h:811:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
# #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
# ^
# ***************************************************************************
#
# WARNING: The C extension component for wrapt could not be compiled.
#
# INFO: Trying to build without extensions.
#
# ***************************************************************************
# running build
# running build_py
# creating build/lib
# creating build/lib/wrapt
# copying src/wrapt/decorators.py -> build/lib/wrapt
# copying src/wrapt/importer.py -> build/lib/wrapt
# copying src/wrapt/__init__.py -> build/lib/wrapt
# copying src/wrapt/arguments.py -> build/lib/wrapt
# copying src/wrapt/wrappers.py -> build/lib/wrapt
# ***************************************************************************
#
# WARNING: The C extension component for wrapt could not be compiled.
#
# INFO: Only pure Python version of package installed.
#
# ***************************************************************************
# /tmp/python-wrapt/PKGBUILD: line 26: cd: /tmp/python-wrapt/src/wrapt-py2: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...