Build of libiodbc with android toolchain

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

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

SLOCLanguage
58,911 ansic
11,061 sh
721 objc
134 makefile
70,827 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: libiodbc 3.52.10-1 (Tue Apr 4 20:01:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) chrpath-0.16-1
#
# Total Installed Size: 0.09 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing chrpath...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# 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 admin/config.sub arm-linux-androideabi failed
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libiodbc/src/libiodbc-3.52.10/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 iODBC Driver Manager configure 3.52.10, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --disable-static --includedir=/usr/include/libiodbc --disable-gui --disable-libodbc
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 2211f970827d
# 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: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2127: checking for a BSD-compatible install
# configure:2195: result: /usr/bin/install -c
# configure:2206: checking whether build environment is sane
# configure:2266: result: yes
# configure:2315: checking for arm-linux-androideabi-strip
# configure:2331: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2342: result: arm-linux-androideabi-strip
# configure:2407: checking for a thread-safe mkdir -p
# configure:2446: result: /usr/bin/mkdir -p
# configure:2459: checking for gawk
# configure:2475: found /usr/bin/gawk
# configure:2486: result: gawk
# configure:2497: checking whether make sets $(MAKE)
# configure:2519: result: yes
# configure:2607: checking build system type
# configure:2625: result: x86_64-unknown-linux-gnu
# configure:2647: checking host system type
# configure:2656: error: /bin/sh admin/config.sub arm-linux-androideabi failed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# 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_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_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_make_make_set=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run aclocal-1.11'
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run tar'
# AR=''
# AUTOCONF='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run automake-1.11'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DARWIN_FALSE=''
# DARWIN_TRUE=''
# DEFS=''
# DEPDIR=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FGREP=''
# GREP=''
# GTK_CFLAGS=''
# GTK_CONFIG=''
# GTK_FALSE=''
# GTK_LIBS=''
# GTK_TRUE=''
# GUI_FALSE=''
# GUI_TRUE=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_LIBODBC_FALSE=''
# INSTALL_LIBODBC_TRUE=''
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD=''
# LDFLAGS=''
# LIBADD_DL=''
# LIBADD_OS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIPO=''
# LN_S=''
# LTLIBOBJS=''
# MAINT=''
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE=''
# MAKEINFO='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/missing --run makeinfo'
# MKDIR_P='/usr/bin/mkdir -p'
# NM=''
# NMEDIT=''
# OBJDUMP=''
# OBJEXT=''
# OTOOL64=''
# OTOOL=''
# PACKAGE='libiodbc'
# PACKAGE_BUGREPORT='iodbc@openlinksw.com'
# PACKAGE_NAME='iODBC Driver Manager'
# PACKAGE_STRING='iODBC Driver Manager 3.52.10'
# PACKAGE_TARNAME='libiodbc'
# PACKAGE_VERSION='3.52.10'
# PATH_SEPARATOR=':'
# PKG_CONFIG=''
# RANLIB=''
# SED=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='3.52.10'
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__include=''
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} xf -'
# 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_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# filedsnpath=''
# host='arm-linux-androideabi'
# host_alias='arm-linux-androideabi'
# host_cpu=''
# host_os=''
# host_vendor=''
# htmldir='${docdir}'
# includedir='/usr/include/libiodbc'
# infodir='${datarootdir}/info'
# inidir=''
# install_sh='${SHELL} /tmp/libiodbc/src/libiodbc-3.52.10/admin/install-sh'
# lib_version=''
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# lt_ECHO='echo'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/bin/mkdir -p'
# odbcmode=''
# 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_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "iODBC Driver Manager"
# #define PACKAGE_TARNAME "libiodbc"
# #define PACKAGE_VERSION "3.52.10"
# #define PACKAGE_STRING "iODBC Driver Manager 3.52.10"
# #define PACKAGE_BUGREPORT "iodbc@openlinksw.com"
# #define PACKAGE "libiodbc"
# #define VERSION "3.52.10"
#
# configure: exit 1