Build of libdv with android toolchain

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

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

SLOCLanguage
14,661 ansic
8,716 sh
7,250 asm
30,627 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: libdv 1.0.0-6 (Tue Apr 4 22:11:28 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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/libdv/src/libdv-1.0.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.60. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --disable-gtk
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 4899936383c2
# 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:2001: checking build system type
# configure:2019: result: x86_64-unknown-linux-gnu
# configure:2041: checking host system type
# configure:2050: error: /bin/sh ./config.sub arm-linux-androideabi failed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_env_CCASFLAGS_set=
# ac_cv_env_CCASFLAGS_value=
# ac_cv_env_CCAS_set=
# ac_cv_env_CCAS_value=
# 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_GTK_CFLAGS_set=
# ac_cv_env_GTK_CFLAGS_value=
# ac_cv_env_GTK_LIBS_set=
# ac_cv_env_GTK_LIBS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_XMKMF_set=
# ac_cv_env_XMKMF_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. ##
# ## ----------------- ##
#
# ACLOCAL=''
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR=''
# AR=''
# AUTOCONF=''
# AUTOHEADER=''
# AUTOMAKE=''
# AWK=''
# CC='arm-linux-androideabi-gcc'
# CCAS=''
# CCASFLAGS=''
# CCDEPMODE=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CXX='arm-linux-androideabi-g++'
# CXXCPP=''
# CXXDEPMODE=''
# CXXFLAGS=''
# CYGPATH_W=''
# DEFS=''
# DEPDIR=''
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# F77=''
# FFLAGS=''
# GREP=''
# GTK_CFLAGS=''
# GTK_LIBS=''
# HAVE_GTK_FALSE=''
# HAVE_GTK_TRUE=''
# HOST_X86_64_FALSE=''
# HOST_X86_64_TRUE=''
# HOST_X86_FALSE=''
# HOST_X86_TRUE=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# INSTALL_STRIP_PROGRAM=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LN_S=''
# LTLIBOBJS=''
# MAINT=''
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE=''
# MAKEINFO=''
# OBJEXT=''
# PACKAGE=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PKG_CONFIG=''
# POPT_LIB=''
# PTHREAD_LIBS=''
# RANLIB=''
# REQUIRES_NOPKGCONFIG=''
# RPM_RELEASE='1'
# SDL_CFLAGS=''
# SDL_CONFIG=''
# SDL_LIBS=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP=''
# VERSION=''
# XMKMF=''
# XV_LIB=''
# ac_aux_dir='.'
# 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=''
# am__untar=''
# 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=''
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# 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=''
# 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