Build of python-pyelftools with android toolchain

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

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

SLOCLanguage
8,898 python
142 ansic
12 makefile
9,052 total

The process tree of the build process is here.

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-pyelftools 0.23-3 (Tue Apr 4 21:54:26 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
# creating build/lib/elftools
# copying elftools/__init__.py -> build/lib/elftools
# creating build/lib/elftools/elf
# copying elftools/elf/structs.py -> build/lib/elftools/elf
# copying elftools/elf/dynamic.py -> build/lib/elftools/elf
# copying elftools/elf/descriptions.py -> build/lib/elftools/elf
# copying elftools/elf/__init__.py -> build/lib/elftools/elf
# copying elftools/elf/sections.py -> build/lib/elftools/elf
# copying elftools/elf/constants.py -> build/lib/elftools/elf
# copying elftools/elf/enums.py -> build/lib/elftools/elf
# copying elftools/elf/elffile.py -> build/lib/elftools/elf
# copying elftools/elf/relocation.py -> build/lib/elftools/elf
# copying elftools/elf/segments.py -> build/lib/elftools/elf
# copying elftools/elf/gnuversions.py -> build/lib/elftools/elf
# creating build/lib/elftools/common
# copying elftools/common/construct_utils.py -> build/lib/elftools/common
# copying elftools/common/__init__.py -> build/lib/elftools/common
# copying elftools/common/utils.py -> build/lib/elftools/common
# copying elftools/common/exceptions.py -> build/lib/elftools/common
# copying elftools/common/py3compat.py -> build/lib/elftools/common
# creating build/lib/elftools/dwarf
# copying elftools/dwarf/compileunit.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/die.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/dwarfinfo.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/structs.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/descriptions.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/__init__.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/constants.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/callframe.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/locationlists.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/dwarf_expr.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/abbrevtable.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/enums.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/ranges.py -> build/lib/elftools/dwarf
# copying elftools/dwarf/lineprogram.py -> build/lib/elftools/dwarf
# creating build/lib/elftools/construct
# copying elftools/construct/debug.py -> build/lib/elftools/construct
# copying elftools/construct/adapters.py -> build/lib/elftools/construct
# copying elftools/construct/__init__.py -> build/lib/elftools/construct
# copying elftools/construct/core.py -> build/lib/elftools/construct
# copying elftools/construct/macros.py -> build/lib/elftools/construct
# creating build/lib/elftools/construct/lib
# copying elftools/construct/lib/hex.py -> build/lib/elftools/construct/lib
# copying elftools/construct/lib/__init__.py -> build/lib/elftools/construct/lib
# copying elftools/construct/lib/binary.py -> build/lib/elftools/construct/lib
# copying elftools/construct/lib/container.py -> build/lib/elftools/construct/lib
# copying elftools/construct/lib/py3compat.py -> build/lib/elftools/construct/lib
# copying elftools/construct/lib/bitstream.py -> build/lib/elftools/construct/lib
# running build_scripts
# creating build/scripts-2.7
# copying and adjusting scripts/readelf.py -> build/scripts-2.7
# changing mode of build/scripts-2.7/readelf.py from 644 to 755
# /tmp/python-pyelftools/PKGBUILD: line 30: cd: pyelftools-0.23-py2: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...