Build of kaa-base 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
8,714 python
1,729 ansic
10,443 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: kaa-base 0.6.0-5 (Tue Apr 4 21:39:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# + glib >= 2.4.0 found; building kaa.db
# + inotify supported by glibc; good.
# running install
# running build
# running build_py
# creating build
# creating build/lib.linux-x86_64-2.7
# creating build/lib.linux-x86_64-2.7/kaa
# copying src/callback.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/async.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/event.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/nf_thread.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/io.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/ioctl.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/coroutine.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/xmlutils.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/process.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/sockets.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/saxutils.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/object.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/timer.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/version.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/__init__.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/rpc.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/weakref.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/utils.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/main.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/gobject.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/config.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/db.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/nf_wrapper.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/generator.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/reactor.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/dateutils.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/signals.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/thread.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/logger.py -> build/lib.linux-x86_64-2.7/kaa
# copying src/strutils.py -> build/lib.linux-x86_64-2.7/kaa
# creating build/lib.linux-x86_64-2.7/kaa/input
# copying src/input/lirc.py -> build/lib.linux-x86_64-2.7/kaa/input
# copying src/input/__init__.py -> build/lib.linux-x86_64-2.7/kaa/input
# copying src/input/stdin.py -> build/lib.linux-x86_64-2.7/kaa/input
# creating build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/svn2log.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/version.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/__init__.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/core.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/build_py.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/xmlconfig.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# copying src/distribution/sphinxext.py -> build/lib.linux-x86_64-2.7/kaa/distribution
# creating build/lib.linux-x86_64-2.7/kaa/inotify
# copying src/extensions/inotify/__init__.py -> build/lib.linux-x86_64-2.7/kaa/inotify
# creating build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/nf_generic.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/version.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/__init__.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/nf_gtk.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/dispatch.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/nf_twisted.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# copying src/pynotifier/log.py -> build/lib.linux-x86_64-2.7/kaa/pynotifier
# creating build/lib.linux-x86_64-2.7/kaa/net
# copying src/net/tls.py -> build/lib.linux-x86_64-2.7/kaa/net
# copying src/net/url.py -> build/lib.linux-x86_64-2.7/kaa/net
# copying src/net/__init__.py -> build/lib.linux-x86_64-2.7/kaa/net
# copying src/net/mdns.py -> build/lib.linux-x86_64-2.7/kaa/net
# running build_ext
# building 'kaa.shmmodule' extension
# creating build/temp.linux-x86_64-2.7
# creating build/temp.linux-x86_64-2.7/src
# creating build/temp.linux-x86_64-2.7/src/extensions
# arm-linux-androideabi-gcc -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sysroot/include/python2.7 -c src/extensions/shmmodule.c -o build/temp.linux-x86_64-2.7/src/extensions/shmmodule.o -Wall
# In file included from /sysroot/include/python2.7/Python.h:58:0,
# from src/extensions/shmmodule.c:120:
# /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?)."
# ^
# src/extensions/shmmodule.c:177:7: error: redefinition of 'union semun'
# union semun {
# ^
# In file included from /sysroot/sysroot/usr/include/sys/sem.h:32:0,
# from src/extensions/shmmodule.c:126:
# /sysroot/sysroot/usr/include/linux/sem.h:55:7: note: originally defined here
# union semun {
# ^
# src/extensions/shmmodule.c: In function 'check_memory_identity':
# src/extensions/shmmodule.c:229:2: warning: implicit declaration of function 'shmget' [-Wimplicit-function-declaration]
# new_shmid = shmget(old_key, 0, 0);
# ^
# src/extensions/shmmodule.c:235:5: warning: implicit declaration of function 'shmctl' [-Wimplicit-function-declaration]
# if ((shmctl(new_shmid, IPC_STAT, &(o->ds)) != -1) &&
# ^
# src/extensions/shmmodule.c: In function 'PyShmMemory_attach':
# src/extensions/shmmodule.c:277:5: warning: implicit declaration of function 'shmat' [-Wimplicit-function-declaration]
# addr = (void *)shmat(self->shmid, (void *)address, mode);
# ^
# src/extensions/shmmodule.c:286:5: warning: implicit declaration of function 'shmdt' [-Wimplicit-function-declaration]
# shmdt(old_addr);
# ^
# src/extensions/shmmodule.c: In function 'check_semaphore_identity':
# src/extensions/shmmodule.c:623:2: warning: implicit declaration of function 'semget' [-Wimplicit-function-declaration]
# new_semid = semget(old_key, 0, 0);
# ^
# src/extensions/shmmodule.c:630:5: warning: implicit declaration of function 'semctl' [-Wimplicit-function-declaration]
# if ((semctl(new_semid, 0, IPC_STAT, arg) != -1) &&
# ^
# src/extensions/shmmodule.c: In function 'PyShmSemaphore_P':
# src/extensions/shmmodule.c:665:5: warning: implicit declaration of function 'semop' [-Wimplicit-function-declaration]
# res = semop(self->semid, op, (size_t)1);
# ^
# error: command 'arm-linux-androideabi-gcc' failed with exit status 1
# ==> ERROR: A failure occurred in package().
# Aborting...