Build of mdds 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
21,360 cpp
1,115 sh
43 python
22,518 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: mdds 1.2.1-1 (Tue Apr 4 21:17:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether the C++ compiler works... yes
# checking for C++ compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... configure: error: in `/tmp/mdds/src/mdds-1.2.1':
# configure: error: cannot run C++ compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/mdds/src/mdds-1.2.1/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 mdds configure 1.2.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 1cc64462536c
# 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:1862: checking for a BSD-compatible install
# configure:1930: result: /usr/bin/install -c
# configure:1941: checking whether build environment is sane
# configure:1996: result: yes
# configure:2147: checking for a thread-safe mkdir -p
# configure:2186: result: /usr/sbin/mkdir -p
# configure:2193: checking for gawk
# configure:2209: found /usr/sbin/gawk
# configure:2220: result: gawk
# configure:2231: checking whether make sets $(MAKE)
# configure:2253: result: yes
# configure:2282: checking whether make supports nested variables
# configure:2299: result: yes
# configure:2426: checking whether to enable maintainer-specific portions of Makefiles
# configure:2435: result: no
# configure:2597: checking for C++ compiler version
# configure:2606: 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:2617: $? = 0
# configure:2606: 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:2617: $? = 0
# configure:2606: 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:2617: $? = 1
# configure:2606: arm-linux-androideabi-g++ -qversion >&5
# arm-linux-androideabi-g++: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-g++: fatal error: no input files
# compilation terminated.
# configure:2617: $? = 1
# configure:2637: checking whether the C++ compiler works
# configure:2659: arm-linux-androideabi-g++ -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# configure:2663: $? = 0
# configure:2711: result: yes
# configure:2714: checking for C++ compiler default output file name
# configure:2716: result: a.out
# configure:2722: checking for suffix of executables
# configure:2729: arm-linux-androideabi-g++ -o conftest -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# configure:2733: $? = 0
# configure:2755: result:
# configure:2777: checking whether we are cross compiling
# configure:2785: arm-linux-androideabi-g++ -o conftest -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# In file included from /usr/include/features.h:392:0,
# from /usr/include/stdio.h:27,
# from conftest.cpp:11:
# /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
# # include
# ^
# compilation terminated.
# configure:2789: $? = 1
# configure:2796: ./conftest
# ./configure: line 2798: ./conftest: No such file or directory
# configure:2800: $? = 127
# configure:2807: error: in `/tmp/mdds/src/mdds-1.2.1':
# configure:2809: error: cannot run C++ compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_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_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_make_make_set=yes
# am_cv_make_support_nested_variables=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing aclocal-1.15'
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# API_VERSION='1.2'
# AUTOCONF='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing automake-1.15'
# AWK='gawk'
# BUILD_DOCS_FALSE=''
# BUILD_DOCS_TRUE=''
# CPPFLAGS=' -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include'
# CPPFLAGS_NODEBUG=''
# CXX='arm-linux-androideabi-g++'
# CXXDEPMODE=''
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR=''
# DOXYGEN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INCDIR='include'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing makeinfo'
# MISCDIR='misc'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJDIR='obj'
# OBJEXT=''
# PACKAGE='mdds'
# PACKAGE_BUGREPORT='kohei.yoshida@gmail.com'
# PACKAGE_NAME='mdds'
# PACKAGE_STRING='mdds 1.2.1'
# PACKAGE_TARNAME='mdds'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.2.1'
# PATH_SEPARATOR=':'
# QUICKCHECKDIR='quickcheck'
# RUN_MEMORY_TESTS_FALSE=''
# RUN_MEMORY_TESTS_TRUE=''
# SET_MAKE=''
# SHELL='/bin/sh'
# SPHINX=''
# SRCDIR='src'
# STRIP=''
# VALGRIND=''
# VERSION='1.2.1'
# ac_ct_CXX=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCXX_FALSE=''
# am__fastdepCXX_TRUE=''
# am__include=''
# am__isrc=''
# am__leading_dot='.'
# am__nodep=''
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host_alias=''
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/mdds/src/mdds-1.2.1/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. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "mdds"
# #define PACKAGE_TARNAME "mdds"
# #define PACKAGE_VERSION "1.2.1"
# #define PACKAGE_STRING "mdds 1.2.1"
# #define PACKAGE_BUGREPORT "kohei.yoshida@gmail.com"
# #define PACKAGE_URL ""
# #define PACKAGE "mdds"
# #define VERSION "1.2.1"
#
# configure: exit 1