Build of gf2x 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
11,112 sh
7,549 ansic
1,369 cpp
151 perl
20,181 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: gf2x 1.1-2 (Tue Apr 4 19:36:57 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... arm-unknown-linux-androideabi
# checking target system type... arm-unknown-linux-androideabi
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking how to print strings... printf
# checking for style of include used by make... GNU
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking whether the C compiler works... no
# configure: error: in `/tmp/gf2x/src/gf2x-1.1':
# configure: error: C compiler cannot create executables
# See `config.log' for more details
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/gf2x/src/gf2x-1.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 gf2x configure 1.1, 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-sse2 --disable-pclmul CFLAGS= -msse2
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 52a09c89a3b5
# 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:2461: checking build system type
# configure:2475: result: x86_64-unknown-linux-gnu
# configure:2495: checking host system type
# configure:2508: result: arm-unknown-linux-androideabi
# configure:2528: checking target system type
# configure:2541: result: arm-unknown-linux-androideabi
# configure:2594: checking for a BSD-compatible install
# configure:2662: result: /usr/bin/install -c
# configure:2673: checking whether build environment is sane
# configure:2723: result: yes
# configure:2772: checking for arm-linux-androideabi-strip
# configure:2788: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2799: result: arm-linux-androideabi-strip
# configure:2864: checking for a thread-safe mkdir -p
# configure:2903: result: /usr/sbin/mkdir -p
# configure:2916: checking for gawk
# configure:2932: found /usr/sbin/gawk
# configure:2943: result: gawk
# configure:2954: checking whether make sets $(MAKE)
# configure:2976: result: yes
# configure:3103: checking how to print strings
# configure:3130: result: printf
# configure:3163: checking for style of include used by make
# configure:3191: result: GNU
# configure:3221: checking for arm-linux-androideabi-gcc
# configure:3248: result: arm-linux-androideabi-gcc
# configure:3517: checking for C compiler version
# configure:3526: 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:3537: $? = 0
# configure:3526: 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:3537: $? = 0
# configure:3526: 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:3537: $? = 1
# configure:3526: 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:3537: $? = 1
# configure:3557: checking whether the C compiler works
# configure:3579: arm-linux-androideabi-gcc -msse2 conftest.c >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-msse2'
# configure:3583: $? = 1
# configure:3621: result: no
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "gf2x"
# | #define PACKAGE_TARNAME "gf2x"
# | #define PACKAGE_VERSION "1.1"
# | #define PACKAGE_STRING "gf2x 1.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gf2x"
# | #define VERSION "1.1"
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:3626: error: in `/tmp/gf2x/src/gf2x-1.1':
# configure:3628: error: C compiler cannot create executables
# See `config.log' for more details
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CC_FOR_BUILD_set=
# ac_cv_env_CC_FOR_BUILD_value=
# 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=' -msse2'
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_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_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_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_make_make_set=yes
# ac_cv_target=arm-unknown-linux-androideabi
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run aclocal-1.11'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run tar'
# AR=''
# AUTOCONF='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run automake-1.11'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CC_FOR_BUILD=''
# CFLAGS=' -msse2'
# CPP=''
# CPPFLAGS=''
# CXX='arm-linux-androideabi-g++'
# CXXCPP=''
# CXXDEPMODE=''
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# DLLTOOL=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# ENABLE_NTL_CHECKS_FALSE=''
# ENABLE_NTL_CHECKS_TRUE=''
# EXEEXT=''
# EXEEXT_FOR_BUILD=''
# FGREP=''
# GF2X_32BIT_SOURCES_FALSE=''
# GF2X_32BIT_SOURCES_TRUE=''
# GF2X_64BIT_SOURCES_FALSE=''
# GF2X_64BIT_SOURCES_TRUE=''
# GF2X_PCLMUL_AVAILABLE_FALSE=''
# GF2X_PCLMUL_AVAILABLE_TRUE=''
# GF2X_SSE2_AVAILABLE_FALSE=''
# GF2X_SSE2_AVAILABLE_TRUE=''
# GF2X_WORDSIZE=''
# GREP=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIPO=''
# LN_S=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/missing --run makeinfo'
# MANIFEST_TOOL=''
# MKDIR_P='/usr/sbin/mkdir -p'
# NM=''
# NMEDIT=''
# OBJDUMP=''
# OBJEXT=''
# OTOOL64=''
# OTOOL=''
# PACKAGE='gf2x'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='gf2x'
# PACKAGE_STRING='gf2x 1.1'
# PACKAGE_TARNAME='gf2x'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.1'
# PATH_SEPARATOR=':'
# RANLIB=''
# SED=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='1.1'
# ac_ct_AR=''
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__fastdepCXX_FALSE=''
# am__fastdepCXX_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} xf -'
# 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'
# gf2x_lib_version='1:0:0'
# 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'
# install_sh='${SHELL} /tmp/gf2x/src/gf2x-1.1/config/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/sbin/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='arm-unknown-linux-androideabi'
# target_alias=''
# target_cpu='arm'
# target_os='linux-androideabi'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "gf2x"
# #define PACKAGE_TARNAME "gf2x"
# #define PACKAGE_VERSION "1.1"
# #define PACKAGE_STRING "gf2x 1.1"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "gf2x"
# #define VERSION "1.1"
#
# configure: exit 77