Build of i2c-tools with android toolchain

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

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

SLOCLanguage
3,417 ansic
2,489 perl
28 makefile
11 python
5,945 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: i2c-tools 3.1.1-2 (Tue Apr 4 19:33:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdetect.c -o tools/i2cdetect.o
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cbusses.c -o tools/i2cbusses.o
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdump.c -o tools/i2cdump.o
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/util.c -o tools/util.o
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cset.c -o tools/i2cset.o
# arm-linux-androideabi-gcc -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cget.c -o tools/i2cget.o
# arm-linux-androideabi-gcc -o tools/i2cdetect tools/i2cdetect.o tools/i2cbusses.o
# arm-linux-androideabi-gcc -o tools/i2cdump tools/i2cdump.o tools/i2cbusses.o tools/util.o
# arm-linux-androideabi-gcc -o tools/i2cget tools/i2cget.o tools/i2cbusses.o tools/util.o
# arm-linux-androideabi-gcc -o tools/i2cset tools/i2cset.o tools/i2cbusses.o tools/util.o
# make: Entering directory '/tmp/i2c-tools/src/i2c-tools-3.1.1/eepromer'
# arm-linux-androideabi-gcc -I../include -c -o eepromer.o eepromer.c
# arm-linux-androideabi-gcc -I../include -c -o eeprom.o eeprom.c
# arm-linux-androideabi-gcc -I../include -c -o eeprog.o eeprog.c
# arm-linux-androideabi-gcc -I../include -c -o 24cXX.o 24cXX.c
# arm-linux-androideabi-gcc eepromer.o -o eepromer
# arm-linux-androideabi-gcc eeprog.o 24cXX.o -o eeprog
# arm-linux-androideabi-gcc eeprom.o -o eeprom
# make: Leaving directory '/tmp/i2c-tools/src/i2c-tools-3.1.1/eepromer'
# running build
# running build_ext
# building 'smbus' extension
# creating build
# creating build/temp.linux-x86_64-2.7
# arm-linux-androideabi-gcc -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -I../include -fPIC -I/sysroot/include/python2.7 -c smbusmodule.c -o build/temp.linux-x86_64-2.7/smbusmodule.o
# In file included from /sysroot/include/python2.7/Python.h:58:0,
# from smbusmodule.c:19:
# /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?)."
# ^
# smbusmodule.c: In function 'initsmbus':
# smbusmodule.c:696:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
# Py_INCREF(&SMBus_type);
# ^
# error: command 'arm-linux-androideabi-gcc' failed with exit status 1
# ==> ERROR: A failure occurred in build().
# Aborting...