Build of hddtemp with android toolchain

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

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

SLOCLanguage
10,604 ansic
4,494 sh
288 yacc
72 makefile
19 perl
16 sed
15,493 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: hddtemp 0.3.beta15.52-2 (Tue Apr 4 20:48:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file README
# patching file debian/rules
# patching file debian/docs
# patching file debian/postrm
# patching file debian/changelog
# patching file debian/templates
# patching file debian/dirs
# patching file debian/copyright
# patching file debian/logcheck.ignore.server
# patching file debian/config
# patching file debian/postinst
# patching file debian/control
# patching file debian/init
# patching file debian/compat
# patching file debian/README.Debian
# patching file debian/hddtemp.db
# patching file debian/po/cs.po
# patching file debian/po/fr.po
# patching file debian/po/vi.po
# patching file debian/po/pt_BR.po
# patching file debian/po/ru.po
# patching file debian/po/sv.po
# patching file debian/po/da.po
# patching file debian/po/pt.po
# patching file debian/po/eu.po
# patching file debian/po/it.po
# patching file debian/po/de.po
# patching file debian/po/gl.po
# patching file debian/po/ar.po
# patching file debian/po/ja.po
# patching file debian/po/fi.po
# patching file debian/po/templates.pot
# patching file debian/po/es.po
# patching file debian/po/sk.po
# patching file debian/po/POTFILES.in
# patching file debian/po/nl.po
# patching file debian/po/nb.po
# patching file doc/hddtemp.8
# patching file po/fr.po
# patching file po/ru.po
# patching file po/sv.po
# patching file po/pt.po
# patching file po/de.po
# patching file po/LINGUAS
# patching file po/hddtemp.pot
# patching file src/sata.c
# patching file src/satacmds.c
# patching file src/backtrace.c
# patching file src/daemon.c
# patching file src/hddtemp.c
# patching file src/ata.c
# patching file src/hddtemp.h
# patching file src/scsicmds.c
# 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/hddtemp/src/hddtemp-0.3-beta15/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.59. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man --with-db-path=/usr/share/hddtemp/hddtemp.db
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = d0b391260373
# 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
# 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:1352: checking build system type
# configure:1370: result: x86_64-unknown-linux-gnu
# configure:1378: checking host system type
# configure:1387: error: /bin/sh ./config.sub arm-linux-androideabi failed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux
# 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_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_host_alias=arm-linux-androideabi
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL=''
# ALLOCA=''
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR=''
# AUTOCONF=''
# AUTOHEADER=''
# AUTOMAKE=''
# AWK=''
# BUILD_INCLUDED_LIBINTL=''
# CATOBJEXT=''
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CYGPATH_W=''
# DATADIRNAME=''
# DEFS=''
# DEPDIR=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# GENCAT=''
# GLIBC21=''
# GLIBC2=''
# GMSGFMT=''
# HAVE_ASPRINTF=''
# HAVE_POSIX_PRINTF=''
# HAVE_SNPRINTF=''
# HAVE_WPRINTF=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# INSTALL_STRIP_PROGRAM=''
# INSTOBJEXT=''
# INTLBISON=''
# INTLLIBS=''
# INTLOBJS=''
# INTL_LIBTOOL_SUFFIX_PREFIX=''
# INTL_MACOSX_LIBS=''
# LDFLAGS=''
# LIBICONV=''
# LIBINTL=''
# LIBOBJS=''
# LIBS=''
# LTLIBICONV=''
# LTLIBINTL=''
# LTLIBOBJS=''
# MAKEINFO=''
# MKINSTALLDIRS=''
# MSGFMT=''
# MSGMERGE=''
# OBJEXT=''
# PACKAGE=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# POSUB=''
# RANLIB=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP=''
# USE_INCLUDED_LIBINTL=''
# USE_NLS=''
# VERSION=''
# XGETTEXT=''
# ac_ct_CC=''
# ac_ct_RANLIB=''
# ac_ct_STRIP=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__include=''
# am__leading_dot=''
# am__quote=''
# 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='${prefix}/share'
# exec_prefix='NONE'
# host='arm-linux-androideabi'
# host_alias='arm-linux-androideabi'
# host_cpu=''
# host_os=''
# host_vendor=''
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# install_sh=''
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
#
# configure: exit 1