Build of catdoc with android toolchain

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

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

SLOCLanguage
4,197 ansic
262 tcl
208 sh
4,667 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: catdoc 0.94.4-1 (Tue Apr 4 19:41:41 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for gcc... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking whether byte ordering is bigendian... configure: error: can not run test program while cross compiling
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/catdoc/src/catdoc-0.94.4/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:549: checking for gcc
# configure:662: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:678: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:704: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:709: checking whether we are using GNU C
# configure:718: arm-linux-androideabi-gcc -E conftest.c
# configure:737: checking whether arm-linux-androideabi-gcc accepts -g
# configure:776: checking whether byte ordering is bigendian
# configure:794: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure: In function 'main':
# configure:789:2: error: unknown type name 'bogus'
# bogus endian macros
# ^
# configure:789:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'macros'
# bogus endian macros
# ^
# configure: failed program was:
# #line 783 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
#
# #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
# bogus endian macros
# #endif
# ; return 0; }