Build of gprolog with android toolchain

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

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

SLOCLanguage
53,910 ansic
17,941 perl
3,333 sh
248 makefile
20 asm
75,452 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: gprolog 1.4.4-1 (Tue Apr 4 19:42:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# 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... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... arm-unknown-linux-androideabi
# checking for arm-linux-androideabi-as... arm-linux-androideabi-as
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking for arm-linux-androideabi-windres... no
# checking for windres... no
# checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking whether make sets $(MAKE)... yes
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# configure: error: unsupported architecture
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/gprolog/src/gprolog-1.4.4/src/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 gprolog configure 1.4.4, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --sysconfdir=/etc --localstatedir=/var
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 2ad2f53a6042
# 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:2710: checking for arm-linux-androideabi-gcc
# configure:2737: result: arm-linux-androideabi-gcc
# configure:3006: checking for C compiler version
# configure:3015: arm-linux-androideabi-gcc --version >&5
# arm-linux-androideabi-gcc (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:3026: $? = 0
# configure:3015: arm-linux-androideabi-gcc -v >&5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-gcc
# 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:3026: $? = 0
# configure:3015: arm-linux-androideabi-gcc -V >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:3026: $? = 1
# configure:3015: arm-linux-androideabi-gcc -qversion >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:3026: $? = 1
# configure:3046: checking whether the C compiler works
# configure:3068: arm-linux-androideabi-gcc conftest.c >&5
# configure:3072: $? = 0
# configure:3120: result: yes
# configure:3123: checking for C compiler default output file name
# configure:3125: result: a.out
# configure:3131: checking for suffix of executables
# configure:3138: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3142: $? = 0
# configure:3164: result:
# configure:3186: checking whether we are cross compiling
# configure:3224: result: yes
# configure:3229: checking for suffix of object files
# configure:3251: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3255: $? = 0
# configure:3276: result: o
# configure:3280: checking whether we are using the GNU C compiler
# configure:3299: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3299: $? = 0
# configure:3308: result: yes
# configure:3317: checking whether arm-linux-androideabi-gcc accepts -g
# configure:3337: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3337: $? = 0
# configure:3378: result: yes
# configure:3395: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3459: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3459: $? = 0
# configure:3472: result: none needed
# configure:3526: checking build system type
# configure:3540: result: x86_64-unknown-linux-gnu
# configure:3560: checking host system type
# configure:3573: result: arm-unknown-linux-androideabi
# configure:3747: checking for arm-linux-androideabi-as
# configure:3763: found /sysroot/bin/arm-linux-androideabi-as
# configure:3774: result: arm-linux-androideabi-as
# configure:3839: checking for arm-linux-androideabi-ranlib
# configure:3855: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:3866: result: arm-linux-androideabi-ranlib
# configure:3936: checking for arm-linux-androideabi-windres
# configure:3966: result: no
# configure:3976: checking for windres
# configure:4006: result: no
# configure:4033: checking for arm-linux-androideabi-ar
# configure:4049: found /sysroot/bin/arm-linux-androideabi-ar
# configure:4060: result: arm-linux-androideabi-ar
# configure:4127: checking for arm-linux-androideabi-strip
# configure:4143: found /sysroot/bin/arm-linux-androideabi-strip
# configure:4154: result: arm-linux-androideabi-strip
# configure:4220: checking whether make sets $(MAKE)
# configure:4242: result: yes
# configure:4265: checking for a BSD-compatible install
# configure:4333: result: /usr/bin/install -c
# configure:4344: checking whether ln -s works
# configure:4348: result: yes
# configure:4470: error: unsupported architecture
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# 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_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=arm-unknown-linux-androideabi
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_AR=arm-linux-androideabi-ar
# ac_cv_prog_AS=arm-linux-androideabi-as
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='arm-linux-androideabi-ar'
# AR_RC='arm-linux-androideabi-ar rc '
# AR_SEP=' '
# AS='arm-linux-androideabi-as'
# ASFLAGS=''
# ASM_SUFFIX='.s'
# BIN_FILES=''
# CC='arm-linux-androideabi-gcc'
# CC_EXE_NAME_OPT='-o '
# CC_OBJ_NAME_OPT='-o '
# CFLAGS=''
# CFLAGS_MACHINE=''
# CFLAGS_PREFIX_REG=''
# CFLAGS_UNSIGNED_CHAR=''
# CPP=''
# CPPFLAGS=''
# DEFS=''
# DLL_W32GUICONS='w32guicons.dll'
# DOC_DIR=''
# DOC_FILES=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# ENV_VARIABLE='PL_PATH'
# EXAMPLES_DIR=''
# EXC_FILES=''
# EXEEXT=''
# EXE_SUFFIX=''
# EXFD_FILES=''
# EXPL_FILES=''
# GPLC='gplc'
# GREP=''
# HEXGPLC='hexgplc'
# HTML_DIR=''
# HTML_FILES=''
# INC_FILES=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_DIR=''
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LD='arm-linux-androideabi-gcc'
# LDFLAGS=''
# LDGUILIBS=''
# LDLIBS=''
# LD_DLL_OPT='-shared'
# LD_OUT_NAME_OPT='-o '
# LIBOBJS=''
# LIBS=''
# LIB_BIPS_FD='libbips_fd.a'
# LIB_BIPS_PL='libbips_pl.a'
# LIB_ENGINE_FD='libengine_fd.a'
# LIB_ENGINE_PL='libengine_pl.a'
# LIB_FILES=''
# LIB_LINEDIT='liblinedit.a'
# LINKS_DIR=''
# LN_S='ln -s'
# LTLIBOBJS=''
# MAKE_ENGINE1_SRC='engine1.c'
# MAKE_FD_DIRS=''
# MAKE_LE_DIRS=''
# MAKE_LE_INTERF_OBJS=''
# MAKE_SOCKETS_OBJS=''
# MAKE_W32GC_DIRS=''
# OBJEXT='o'
# OBJ_FILES=''
# OBJ_SUFFIX='.o'
# PACKAGE_BUGREPORT='bug-prolog@gnu.org'
# PACKAGE_NAME='gprolog'
# PACKAGE_STRING='gprolog 1.4.4'
# PACKAGE_TARNAME='gprolog'
# PACKAGE_URL='www.gprolog.org'
# PACKAGE_VERSION='1.4.4'
# PATH_SEPARATOR=':'
# PKG_NAME=''
# PROLOG_COPYRIGHT='Copyright (C) 1999-2013 Daniel Diaz'
# PROLOG_DATE='Apr 4 2017'
# PROLOG_DIALECT='gprolog'
# PROLOG_NAME='GNU Prolog'
# PROLOG_VERSION='1.4.4'
# RANLIB='arm-linux-androideabi-ranlib'
# RC=''
# RCFLAGS='-O coff'
# RC_OUT_NAME_OPT='-o '
# ROOT_DIR1=''
# ROOT_DIR=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# TOP_LEVEL='gprolog'
# TOP_LEVEL_FLAGS=''
# TXT_FILES=''
# WIN_AS_FOUND=''
# WIN_CC_VER=''
# WIN_CONF_OPT=' --host=arm-linux-androideabi --build=x86_64-unknown-linux'
# WIN_TMP_DIR=''
# WITH_MSVC='no'
# ac_ct_CC=''
# 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-unknown-linux-androideabi'
# host_alias='arm-linux-androideabi'
# host_cpu='arm'
# host_os='linux-androideabi'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "gprolog"
# #define PACKAGE_TARNAME "gprolog"
# #define PACKAGE_VERSION "1.4.4"
# #define PACKAGE_STRING "gprolog 1.4.4"
# #define PACKAGE_BUGREPORT "bug-prolog@gnu.org"
# #define PACKAGE_URL "www.gprolog.org"
# #define NO_USE_EBP 1
#
# configure: exit 1