Build of dmapi with android toolchain

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

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

SLOCLanguage
9,461 sh
3,011 ansic
314 makefile
12,786 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: dmapi 2.2.12-2 (Tue Apr 4 20:38:45 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure.ac:9: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
# ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
# ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
# ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
# m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
# m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
# m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
# m4/libtool.m4:138: _LT_SETUP is expanded from...
# m4/libtool.m4:67: LT_INIT is expanded from...
# m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
# configure.ac:9: the top level
# configure.ac:9: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
# ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
# ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
# ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
# m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
# m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
# m4/libtool.m4:138: _LT_SETUP is expanded from...
# m4/libtool.m4:67: LT_INIT is expanded from...
# m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
# configure.ac:9: the top level
# 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 ./config.sub arm-linux-androideabi failed
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/dmapi/src/dmapi-2.2.12/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 dmapi configure 2.2.12, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = a6be8c46af24
# 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:2388: checking build system type
# configure:2402: result: x86_64-unknown-linux-gnu
# configure:2422: checking host system type
# configure:2431: error: /bin/sh ./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=' -fPIC'
# 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=
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR=''
# AWK=''
# CC='arm-linux-androideabi-gcc'
# CFLAGS=' -fPIC'
# CPP=''
# CPPFLAGS=''
# DEFS=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FGREP=''
# GREP=''
# LD=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIPO=''
# LN_S=''
# LTLIBOBJS=''
# MAKE=''
# MAKEDEPEND=''
# MSGFMT=''
# MSGMERGE=''
# NM=''
# NMEDIT=''
# OBJDUMP=''
# OBJEXT=''
# OTOOL64=''
# OTOOL=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='dmapi'
# PACKAGE_STRING='dmapi 2.2.12'
# PACKAGE_TARNAME='dmapi'
# PACKAGE_URL=''
# PACKAGE_VERSION='2.2.12'
# PATH_SEPARATOR=':'
# RANLIB=''
# RPM=''
# RPMBUILD=''
# SED=''
# SHELL='/bin/sh'
# SORT=''
# STRIP=''
# TAR=''
# ZIP=''
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# awk=''
# 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'
# cc=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# debug_build=''
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# echo=''
# enable_lib64=''
# enable_shared=''
# exec_prefix='NONE'
# have_zipped_manpages=''
# 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'
# libdirsuffix=''
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# lt_ECHO='echo'
# make=''
# makedepend=''
# malloc_lib=''
# mandir='${datarootdir}/man'
# msgfmt=''
# msgmerge=''
# oldincludedir='/usr/include'
# opt_build=''
# pdfdir='${docdir}'
# pkg_distribution=''
# pkg_group=''
# pkg_name=''
# pkg_platform=''
# pkg_release=''
# pkg_user=''
# pkg_version=''
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# rpm=''
# rpm_version=''
# rpmbuild=''
# sbindir='${exec_prefix}/sbin'
# sed=''
# sharedstatedir='${prefix}/com'
# sort=''
# sysconfdir='${prefix}/etc'
# tar=''
# target_alias=''
# zip=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "dmapi"
# #define PACKAGE_TARNAME "dmapi"
# #define PACKAGE_VERSION "2.2.12"
# #define PACKAGE_STRING "dmapi 2.2.12"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
#
# configure: exit 1