Build of musicbrainz 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
8,767 sh
6,449 cpp
3,730 ansic
1,171 python
481 pascal
190 perl
20,788 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: musicbrainz 2.1.5-7 (Tue Apr 4 21:42:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file lib/c_wrapper.cpp
# patching file lib/comhttpsocket.cpp
# patching file lib/comsocket.cpp
# patching file lib/http.cpp
# Hunk #1 succeeded at 32 (offset 1 line).
# patching file lib/sigclient.cpp
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking whether to enable maintainer-specific portions of Makefiles... no
# 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/musicbrainz/src/libmusicbrainz-2.1.5/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.61. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = e7dde1b96bcd
# 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:1974: checking for a BSD-compatible install
# configure:2030: result: /usr/bin/install -c
# configure:2041: checking whether build environment is sane
# configure:2084: result: yes
# configure:2149: checking for gawk
# configure:2165: found /usr/sbin/gawk
# configure:2176: result: gawk
# configure:2187: checking whether make sets $(MAKE)
# configure:2208: result: yes
# configure:2284: checking for arm-linux-androideabi-strip
# configure:2300: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2311: result: arm-linux-androideabi-strip
# configure:2393: checking whether to enable maintainer-specific portions of Makefiles
# configure:2402: result: no
# configure:2424: checking build system type
# configure:2442: result: x86_64-unknown-linux-gnu
# configure:2464: checking host system type
# configure:2473: error: /bin/sh ./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_path_install='/usr/bin/install -c'
# 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/musicbrainz/src/libmusicbrainz-2.1.5/missing --run aclocal-1.9'
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/musicbrainz/src/libmusicbrainz-2.1.5/missing --run tar'
# AR=''
# AUTOCONF='${SHELL} /tmp/musicbrainz/src/libmusicbrainz-2.1.5/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/musicbrainz/src/libmusicbrainz-2.1.5/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/musicbrainz/src/libmusicbrainz-2.1.5/missing --run automake-1.9'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CXX='arm-linux-androideabi-g++'
# CXXCPP=''
# CXXDEPMODE=''
# CXXFLAGS=''
# CYGPATH_W='echo'
# DARWIN_FALSE=''
# DARWIN_TRUE=''
# DEFS=''
# DEPDIR=''
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# EXPAT_LIBS=''
# F77=''
# FFLAGS=''
# GREP=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIBTOOL_DEPS=''
# LN_S=''
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/musicbrainz/src/libmusicbrainz-2.1.5/missing --run makeinfo'
# OBJEXT=''
# PACKAGE='libmusicbrainz'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RANLIB=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='2.1.5'
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_F77=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__fastdepCXX_FALSE=''
# am__fastdepCXX_TRUE=''
# am__include=''
# 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}'
# 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'
# install_sh='/tmp/musicbrainz/src/libmusicbrainz-2.1.5/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='mkdir -p --'
# 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 ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE "libmusicbrainz"
# #define VERSION "2.1.5"
#
# configure: exit 1