Build of python-cx_freeze with android toolchain

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

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

SLOCLanguage
46,358 ansic
3,493 python
49,851 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-cx_freeze 4.3.4-3 (Tue Apr 4 20:28:16 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package_python-cx_freeze()...
# adding base module named StringIO
# adding base module named UserDict
# adding base module named _abcoll
# adding base module named _weakrefset
# adding base module named abc
# adding base module named base64
# adding base module named codecs
# adding base module named copy
# adding base module named copy_reg
# adding base module named encodings
# adding base module named encodings.aliases
# adding base module named encodings.ascii
# adding base module named encodings.base64_codec
# adding base module named encodings.big5
# adding base module named encodings.big5hkscs
# adding base module named encodings.bz2_codec
# adding base module named encodings.charmap
# adding base module named encodings.cp037
# adding base module named encodings.cp1006
# adding base module named encodings.cp1026
# adding base module named encodings.cp1140
# adding base module named encodings.cp1250
# adding base module named encodings.cp1251
# adding base module named encodings.cp1252
# adding base module named encodings.cp1253
# adding base module named encodings.cp1254
# adding base module named encodings.cp1255
# adding base module named encodings.cp1256
# adding base module named encodings.cp1257
# adding base module named encodings.cp1258
# adding base module named encodings.cp424
# adding base module named encodings.cp437
# adding base module named encodings.cp500
# adding base module named encodings.cp720
# adding base module named encodings.cp737
# adding base module named encodings.cp775
# adding base module named encodings.cp850
# adding base module named encodings.cp852
# adding base module named encodings.cp855
# adding base module named encodings.cp856
# adding base module named encodings.cp857
# adding base module named encodings.cp858
# adding base module named encodings.cp860
# adding base module named encodings.cp861
# adding base module named encodings.cp862
# adding base module named encodings.cp863
# adding base module named encodings.cp864
# adding base module named encodings.cp865
# adding base module named encodings.cp866
# adding base module named encodings.cp869
# adding base module named encodings.cp874
# adding base module named encodings.cp875
# adding base module named encodings.cp932
# adding base module named encodings.cp949
# adding base module named encodings.cp950
# adding base module named encodings.euc_jis_2004
# adding base module named encodings.euc_jisx0213
# adding base module named encodings.euc_jp
# adding base module named encodings.euc_kr
# adding base module named encodings.gb18030
# adding base module named encodings.gb2312
# adding base module named encodings.gbk
# adding base module named encodings.hex_codec
# adding base module named encodings.hp_roman8
# adding base module named encodings.hz
# adding base module named encodings.idna
# adding base module named encodings.iso2022_jp
# adding base module named encodings.iso2022_jp_1
# adding base module named encodings.iso2022_jp_2
# adding base module named encodings.iso2022_jp_2004
# adding base module named encodings.iso2022_jp_3
# adding base module named encodings.iso2022_jp_ext
# adding base module named encodings.iso2022_kr
# adding base module named encodings.iso8859_1
# adding base module named encodings.iso8859_10
# adding base module named encodings.iso8859_11
# adding base module named encodings.iso8859_13
# adding base module named encodings.iso8859_14
# adding base module named encodings.iso8859_15
# adding base module named encodings.iso8859_16
# adding base module named encodings.iso8859_2
# adding base module named encodings.iso8859_3
# adding base module named encodings.iso8859_4
# adding base module named encodings.iso8859_5
# adding base module named encodings.iso8859_6
# adding base module named encodings.iso8859_7
# adding base module named encodings.iso8859_8
# adding base module named encodings.iso8859_9
# adding base module named encodings.johab
# adding base module named encodings.koi8_r
# adding base module named encodings.koi8_u
# adding base module named encodings.latin_1
# adding base module named encodings.mac_arabic
# adding base module named encodings.mac_centeuro
# adding base module named encodings.mac_croatian
# adding base module named encodings.mac_cyrillic
# adding base module named encodings.mac_farsi
# adding base module named encodings.mac_greek
# adding base module named encodings.mac_iceland
# adding base module named encodings.mac_latin2
# adding base module named encodings.mac_roman
# adding base module named encodings.mac_romanian
# adding base module named encodings.mac_turkish
# adding base module named encodings.mbcs
# adding base module named encodings.palmos
# adding base module named encodings.ptcp154
# adding base module named encodings.punycode
# adding base module named encodings.quopri_codec
# adding base module named encodings.raw_unicode_escape
# adding base module named encodings.rot_13
# adding base module named encodings.shift_jis
# adding base module named encodings.shift_jis_2004
# adding base module named encodings.shift_jisx0213
# adding base module named encodings.string_escape
# adding base module named encodings.tis_620
# adding base module named encodings.undefined
# adding base module named encodings.unicode_escape
# adding base module named encodings.unicode_internal
# adding base module named encodings.utf_16
# adding base module named encodings.utf_16_be
# adding base module named encodings.utf_16_le
# adding base module named encodings.utf_32
# adding base module named encodings.utf_32_be
# adding base module named encodings.utf_32_le
# adding base module named encodings.utf_7
# adding base module named encodings.utf_8
# adding base module named encodings.utf_8_sig
# adding base module named encodings.uu_codec
# adding base module named encodings.zlib_codec
# adding base module named genericpath
# adding base module named linecache
# adding base module named ntpath
# adding base module named os
# adding base module named posixpath
# adding base module named quopri
# adding base module named repr
# adding base module named stat
# adding base module named string
# adding base module named stringprep
# adding base module named struct
# adding base module named traceback
# adding base module named types
# adding base module named warnings
# adding base module named weakref
# running install
# running build
# running build_py
# creating build/lib.linux-x86_64-2.7
# creating build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/windist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/finder.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/dist.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/common.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/main.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-2.7/cx_Freeze
# creating build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# copying cx_Freeze/initscripts/ConsoleKeepPath.py -> build/lib.linux-x86_64-2.7/cx_Freeze/initscripts
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
# copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
# copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/simple
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
# copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
# copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/wx
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
# copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
# copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/matplotlib
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
# copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
# copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
# copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/service
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
# copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
# copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/PyQt4
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
# copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
# copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
# copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/advanced
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
# copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
# copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/zope
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
# copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
# copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/relimport
# creating build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
# copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
# copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-2.7/cx_Freeze/samples/Tkinter
# running build_ext
# building 'cx_Freeze.util' extension
# creating build/temp.linux-x86_64-2.7/source
# arm-linux-androideabi-gcc -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sysroot/include/python2.7 -c source/util.c -o build/temp.linux-x86_64-2.7/source/util.o
# In file included from /sysroot/include/python2.7/Python.h:58:0,
# from source/util.c:6:
# /sysroot/include/python2.7/pyport.h:1029: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?)."
# ^
# error: command 'arm-linux-androideabi-gcc' failed with exit status 1
# ==> ERROR: A failure occurred in package_python-cx_freeze().
# Aborting...