Build of libfbclient with android toolchain

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

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

SLOCLanguage
521,559 ansic
468,842 cpp
25,279 sh
6,818 fortran
6,733 yacc
2,979 perl
1,148 pascal
792 makefile
98 sed
15 csh
1,034,263 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: libfbclient 2.5.5.26952-2 (Tue Apr 4 21:21:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking whether make sets $(MAKE)... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
# configure: error: /bin/sh builds/make.new/config/config.sub arm-linux-androideabi failed
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libfbclient/src/Firebird-2.5.5.26952-0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --with-system-icu --without-fbudf --without-fbsbin --without-fbconf --without-fbdoc --without-fbsample --without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp --without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog --without-fbglock --without-fbplugins
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 3e1d2ebd31f7
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2158: checking whether make sets $(MAKE)
# configure:2180: result: yes
# configure:2220: checking build system type
# configure:2238: result: x86_64-unknown-linux-gnu
# configure:2260: checking host system type
# configure:2269: error: /bin/sh builds/make.new/config/config.sub arm-linux-androideabi failed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=arm-linux-androideabi-gcc
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_CXXCPP_set=
# ac_cv_env_CXXCPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=arm-linux-androideabi-g++
# ac_cv_env_F77_set=
# ac_cv_env_F77_value=
# ac_cv_env_FFLAGS_set=
# ac_cv_env_FFLAGS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=set
# ac_cv_env_build_alias_value=x86_64-unknown-linux
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=arm-linux-androideabi
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_host=
# ac_cv_prog_make_make_set=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR=''
# ARCH_TYPE_SUFFIX=''
# AR_OPTIONS=''
# AS=''
# ATOMIC_OPTIONS=''
# AWK=''
# BINRELOC_CFLAGS=''
# BINRELOC_LIBS=''
# BUILD_ROOT_DIR=''
# CC='arm-linux-androideabi-gcc'
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CPU_TYPE=''
# CXX='arm-linux-androideabi-g++'
# CXXCPP=''
# CXXFLAGS=''
# DEFS=''
# DLLTOOL=''
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EDITLINE_FLG=''
# EGREP=''
# EXEEXT=''
# F77=''
# FB_BINDIR=''
# FB_BUILD_NUM=''
# FB_CONFDIR=''
# FB_DOCDIR=''
# FB_GUARDDIR=''
# FB_HELPDIR=''
# FB_INCDIR=''
# FB_INTLDIR=''
# FB_IPC_NAME=''
# FB_LIBDIR=''
# FB_LOGDIR=''
# FB_MISCDIR=''
# FB_MSGDIR=''
# FB_PIPE_NAME=''
# FB_PLUGDIR=''
# FB_SAMPLEDBDIR=''
# FB_SAMPLEDIR=''
# FB_SBINDIR=''
# FB_SECDBDIR=''
# FB_SERVICE_NAME=''
# FB_SERVICE_PORT=''
# FB_UDFDIR=''
# FFLAGS=''
# FIREBIRD_ARCH_TYPE=''
# FIREBIRD_PACKAGE_VERSION=''
# FIREBIRD_VERSION=''
# GPRE_LANGUAGE_MODULES=''
# GREP=''
# ICU_PLATFORM=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LN_S=''
# LTLIBOBJS=''
# MAKEFILE_PREFIX=''
# NEW_FIREBIRD_DIR=''
# OBJDUMP=''
# OBJEXT=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PLATFORM=''
# POSTFIX_INCLUDE=''
# PROD_BUILD_FLG=''
# PTHREAD_CC=''
# PTHREAD_CFLAGS=''
# PTHREAD_LIBS=''
# RANLIB=''
# READLINE=''
# RPM64=''
# SET_MAKE=''
# SFIO_DIR=''
# SFIO_EXAMPLES=''
# SFIO_FLAGS=''
# SFIO_LDFLAGS=''
# SHELL='/bin/sh'
# SHRLIB_EXT=''
# STATIC_CXXSUPPORT_LIB=''
# STD_EDITLINE=''
# STD_ICU=''
# STRIP=''
# TERMLIB=''
# TLS_OPTIONS=''
# UDF_COMMENT=''
# VOID_PTR_SIZE=''
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_F77=''
# acx_pthread_config=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias='x86_64-unknown-linux'
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host='arm-linux-androideabi'
# host_alias='arm-linux-androideabi'
# host_cpu=''
# host_os=''
# host_vendor=''
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target=''
# target_alias=''
# target_cpu=''
# target_os=''
# target_vendor=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
#
# configure: exit 1