Build of lame with android toolchain

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

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

SLOCLanguage
33,092 ansic
11,110 sh
8,104 cpp
215 pascal
33 perl
14 makefile
52,568 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: lame 3.99.5-3 (Tue Apr 4 21:52:52 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) nasm-2.11.08-2
#
# Total Installed Size: 2.01 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 nasm...
# :: Running post-transaction hooks...
# (1/2) Updating manpage index...
# (2/2) Updating the info directory file...
# ==> 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/lame/src/lame-3.99.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 lame configure 3.99.5, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --enable-nasm --enable-shared
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 612f1fd4fcc3
# 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:2555: checking build system type
# configure:2569: result: x86_64-unknown-linux-gnu
# configure:2589: checking host system type
# configure:2598: 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=
# 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_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_SNDFILE_CFLAGS_set=
# ac_cv_env_SNDFILE_CFLAGS_value=
# ac_cv_env_SNDFILE_LIBS_set=
# ac_cv_env_SNDFILE_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. ##
# ## ----------------- ##
#
# ACLOCAL=''
# ALLOCA=''
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR=''
# ANSI2KNR=''
# AR=''
# AUTOCONF=''
# AUTOHEADER=''
# AUTOMAKE=''
# AWK=''
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CFLAGS=''
# CONFIG_DEFS=''
# CONFIG_MATH_LIB=''
# CPP=''
# CPPFLAGS=''
# CPUCCODE=''
# CPUTYPE=''
# CYGPATH_W=''
# DEFS=''
# DEPDIR=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FGREP=''
# FRONTEND_CFLAGS=''
# FRONTEND_LDADD=''
# FRONTEND_LDFLAGS=''
# GREP=''
# GTK_CFLAGS=''
# GTK_CONFIG=''
# GTK_LIBS=''
# HAVE_NASM_FALSE=''
# HAVE_NASM_TRUE=''
# INCLUDES=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# INSTALL_STRIP_PROGRAM=''
# LD=''
# LDADD=''
# LDFLAGS=''
# LIBICONV=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIBTOOL_DEPS=''
# LIB_MAJOR_VERSION=''
# LIB_MINOR_VERSION=''
# LIB_WITH_DECODER_FALSE=''
# LIB_WITH_DECODER_TRUE=''
# LIPO=''
# LN_S=''
# LTLIBICONV=''
# LTLIBOBJS=''
# MAINT=''
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE=''
# MAKEDEP=''
# MAKEINFO=''
# MKDIR_P=''
# NASM=''
# NASM_FORMAT=''
# NM=''
# NMEDIT=''
# OBJDUMP=''
# OBJEXT=''
# OTOOL64=''
# OTOOL=''
# PACKAGE=''
# PACKAGE_BUGREPORT='lame-dev@lists.sf.net'
# PACKAGE_NAME='lame'
# PACKAGE_STRING='lame 3.99.5'
# PACKAGE_TARNAME='lame'
# PACKAGE_URL=''
# PACKAGE_VERSION='3.99.5'
# PATH_SEPARATOR=':'
# PKG_CONFIG=''
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# RANLIB=''
# RM_F=''
# SED=''
# SET_MAKE=''
# SHELL='/bin/sh'
# SNDFILE_CFLAGS=''
# SNDFILE_LIBS=''
# STRIP=''
# U=''
# VERSION=''
# WITH_FRONTEND=''
# WITH_MP3RTP=''
# WITH_MP3X=''
# WITH_VECTOR_FALSE=''
# WITH_VECTOR_TRUE=''
# WITH_XMM_FALSE=''
# WITH_XMM_TRUE=''
# 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=''
# 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_TARNAME}'
# 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_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "lame"
# #define PACKAGE_TARNAME "lame"
# #define PACKAGE_VERSION "3.99.5"
# #define PACKAGE_STRING "lame 3.99.5"
# #define PACKAGE_BUGREPORT "lame-dev@lists.sf.net"
# #define PACKAGE_URL ""
#
# configure: exit 1