Build of dxpc with android toolchain

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

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

SLOCLanguage
12,036 cpp
2,823 sh
14,859 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: dxpc 3.9.2-6 (Tue Apr 4 22:16:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for arm-linux-androideabi-g++... arm-linux-androideabi-g++
# checking for C++ compiler default output file name... a.out
# checking whether the C++ compiler works... yes
# checking whether we are cross compiling... yes
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C++ compiler... yes
# checking whether arm-linux-androideabi-g++ accepts -g... yes
# checking for a BSD-compatible install... /usr/bin/install -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/dxpc/src/dxpc-3.9.2/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 --mandir=${prefix}/share/man
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 39369b54093a
# 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:1326: checking for arm-linux-androideabi-g++
# configure:1352: result: arm-linux-androideabi-g++
# configure:1410: checking for C++ compiler version
# configure:1413: arm-linux-androideabi-g++ --version &5
# arm-linux-androideabi-g++ (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:1416: $? = 0
# configure:1418: arm-linux-androideabi-g++ -v &5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-g++
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:1421: $? = 0
# configure:1423: arm-linux-androideabi-g++ -V &5
# arm-linux-androideabi-g++: error: unrecognized command line option '-V'
# arm-linux-androideabi-g++: fatal error: no input files
# compilation terminated.
# configure:1426: $? = 1
# configure:1449: checking for C++ compiler default output file name
# configure:1452: arm-linux-androideabi-g++ conftest.cc >&5
# configure:1455: $? = 0
# configure:1501: result: a.out
# configure:1506: checking whether the C++ compiler works
# configure:1532: result: yes
# configure:1539: checking whether we are cross compiling
# configure:1541: result: yes
# configure:1544: checking for suffix of executables
# configure:1546: arm-linux-androideabi-g++ -o conftest conftest.cc >&5
# configure:1549: $? = 0
# configure:1574: result:
# configure:1580: checking for suffix of object files
# configure:1601: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1604: $? = 0
# configure:1626: result: o
# configure:1630: checking whether we are using the GNU C++ compiler
# configure:1654: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1660: $? = 0
# configure:1664: test -z
# || test ! -s conftest.err
# configure:1667: $? = 0
# configure:1670: test -s conftest.o
# configure:1673: $? = 0
# configure:1686: result: yes
# configure:1692: checking whether arm-linux-androideabi-g++ accepts -g
# configure:1713: arm-linux-androideabi-g++ -c -g conftest.cc >&5
# configure:1719: $? = 0
# configure:1723: test -z
# || test ! -s conftest.err
# configure:1726: $? = 0
# configure:1729: test -s conftest.o
# configure:1732: $? = 0
# configure:1743: result: yes
# configure:1785: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1791: $? = 0
# configure:1795: test -z
# || test ! -s conftest.err
# configure:1798: $? = 0
# configure:1801: test -s conftest.o
# configure:1804: $? = 0
# configure:1830: arm-linux-androideabi-g++ -c conftest.cc >&5
# conftest.cc: In function 'int main()':
# conftest.cc:13:9: error: 'exit' was not declared in this scope
# exit (42);
# ^
# configure:1836: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: arm-linux-androideabi-g++ -c conftest.cc >&5
# conftest.cc:9:40: error: 'void std::exit(int)' should have been declared inside 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# In file included from conftest.cc:10:0:
# /sysroot/sysroot/usr/include/stdlib.h:45:32: error: declaration of 'void std::exit(int)' has a different exception specifier
# extern __noreturn void exit(int);
# ^
# conftest.cc:9:17: error: from previous declaration 'void std::exit(int) throw ()'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void std::exit (int) throw (); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: arm-linux-androideabi-g++ -c conftest.cc >&5
# conftest.cc:9:31: error: 'void std::exit(int)' should have been declared inside 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void std::exit (int); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: arm-linux-androideabi-g++ -c conftest.cc >&5
# In file included from conftest.cc:10:0:
# /sysroot/sysroot/usr/include/stdlib.h:45:32: error: declaration of 'void exit(int)' has a different exception specifier
# extern __noreturn void exit(int);
# ^
# conftest.cc:9:17: error: from previous declaration 'void exit(int) throw ()'
# extern "C" void exit (int) throw ();
# ^
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void exit (int) throw ();
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1791: $? = 0
# configure:1795: test -z
# || test ! -s conftest.err
# configure:1798: $? = 0
# configure:1801: test -s conftest.o
# configure:1804: $? = 0
# configure:1830: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1836: $? = 0
# configure:1840: test -z
# || test ! -s conftest.err
# configure:1843: $? = 0
# configure:1846: test -s conftest.o
# configure:1849: $? = 0
# configure:1916: checking for a BSD-compatible install
# configure:1971: result: /usr/bin/install -c
# configure:1989: checking build system type
# configure:2007: result: x86_64-unknown-linux-gnu
# configure:2015: checking host system type
# configure:2024: 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_cxx_compiler_gnu=yes
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_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_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_exeext=
# ac_cv_host=
# ac_cv_host_alias=arm-linux-androideabi
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CXX=arm-linux-androideabi-g++
# ac_cv_prog_cxx_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CPPFLAGS=''
# CXX='arm-linux-androideabi-g++'
# CXXCPP=''
# CXXFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MINGW32=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# X_CFLAGS=''
# X_EXTRA_LIBS=''
# X_LIBS=''
# X_PRE_LIBS=''
# ac_ct_CXX=''
# 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'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='${prefix}/share/man'
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# sbindir='${exec_prefix}/sbin'
# 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 ""
# #endif
# #ifdef __cplusplus
# extern "C" void exit (int);
#
# configure: exit 1