Build of elfutils with android toolchain

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

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

SLOCLanguage
95,139 ansic
20,244 sh
3,204 cpp
2,053 yacc
482 lex
34 awk
16 sed
121,172 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: elfutils 0.166-1 (Tue Apr 4 20:46:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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 whether make supports nested variables... yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether make supports nested variables... (cached) yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... arm-unknown-linux-androideabi
# 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 whether arm-linux-androideabi-gcc understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of arm-linux-androideabi-gcc... gcc3
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking for bison... bison -y
# checking for flex... flex
# checking lex output file root... configure: error: cannot find output from flex; giving up
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/elfutils/src/elfutils-0.166/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 elfutils configure 0.166, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --program-prefix=eu- --enable-deterministic-archives
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 2f20d92463a1
# 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:2440: checking for a BSD-compatible install
# configure:2508: result: /usr/bin/install -c
# configure:2519: checking whether build environment is sane
# configure:2574: result: yes
# configure:2633: checking for arm-linux-androideabi-strip
# configure:2649: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2660: result: arm-linux-androideabi-strip
# configure:2725: checking for a thread-safe mkdir -p
# configure:2764: result: /usr/sbin/mkdir -p
# configure:2771: checking for gawk
# configure:2787: found /usr/sbin/gawk
# configure:2798: result: gawk
# configure:2809: checking whether make sets $(MAKE)
# configure:2831: result: yes
# configure:2860: checking whether make supports nested variables
# configure:2877: result: yes
# configure:3004: checking whether to enable maintainer-specific portions of Makefiles
# configure:3013: result: no
# configure:3038: checking whether make supports nested variables
# configure:3055: result: yes
# configure:3085: checking build system type
# configure:3099: result: x86_64-unknown-linux-gnu
# configure:3119: checking host system type
# configure:3132: result: arm-unknown-linux-androideabi
# configure:3205: checking for arm-linux-androideabi-gcc
# configure:3232: result: arm-linux-androideabi-gcc
# configure:3501: checking for C compiler version
# configure:3510: 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:3521: $? = 0
# configure:3510: 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:3521: $? = 0
# configure:3510: 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:3521: $? = 1
# configure:3510: 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:3521: $? = 1
# configure:3541: checking whether the C compiler works
# configure:3563: arm-linux-androideabi-gcc -g conftest.c >&5
# configure:3567: $? = 0
# configure:3615: result: yes
# configure:3618: checking for C compiler default output file name
# configure:3620: result: a.out
# configure:3626: checking for suffix of executables
# configure:3633: arm-linux-androideabi-gcc -o conftest -g conftest.c >&5
# configure:3637: $? = 0
# configure:3659: result:
# configure:3681: checking whether we are cross compiling
# configure:3719: result: yes
# configure:3724: checking for suffix of object files
# configure:3746: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3750: $? = 0
# configure:3771: result: o
# configure:3775: checking whether we are using the GNU C compiler
# configure:3794: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3794: $? = 0
# configure:3803: result: yes
# configure:3812: checking whether arm-linux-androideabi-gcc accepts -g
# configure:3832: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3832: $? = 0
# configure:3873: result: yes
# configure:3890: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3953: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3953: $? = 0
# configure:3966: result: none needed
# configure:3991: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:4013: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:4016: $? = 0
# configure:4013: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:4016: $? = 0
# configure:4028: result: yes
# configure:4056: checking for style of include used by make
# configure:4084: result: GNU
# configure:4110: checking dependency style of arm-linux-androideabi-gcc
# configure:4221: result: gcc3
# configure:4239: checking for arm-linux-androideabi-ranlib
# configure:4255: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:4266: result: arm-linux-androideabi-ranlib
# configure:4332: checking for bison
# configure:4348: found /usr/sbin/bison
# configure:4359: result: bison -y
# configure:4376: checking for flex
# configure:4392: found /usr/sbin/flex
# configure:4403: result: flex
# configure:4441: flex conftest.l
# flex: error writing output file lex.yy.c
# configure:4445: $? = 1
# configure:4447: checking lex output file root
# configure:4458: error: cannot find output from flex; giving up
#
# ## ---------------- ##
# ## 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=' -g'
# 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_YACC_set=
# ac_cv_env_YACC_value=
# ac_cv_env_YFLAGS_set=
# ac_cv_env_YFLAGS_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_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_LEX=flex
# ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_YACC='bison -y'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/missing aclocal-1.15'
# ADD_STACK_USAGE_WARNING_FALSE=''
# ADD_STACK_USAGE_WARNING_TRUE=''
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR=''
# AUTOCONF='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/missing automake-1.15'
# AWK='gawk'
# BIARCH_FALSE=''
# BIARCH_TRUE=''
# BUILD_STATIC_FALSE=''
# BUILD_STATIC_TRUE=''
# BZ2_LIB=''
# BZLIB_FALSE=''
# BZLIB_TRUE=''
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE='depmode=gcc3'
# CC_BIARCH=''
# CFLAGS=' -g'
# CPP=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEBUGPRED=''
# DEFS=''
# DEMANGLE_FALSE=''
# DEMANGLE_TRUE=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FATAL_TEXTREL_FALSE=''
# FATAL_TEXTREL_TRUE=''
# GCOV_FALSE=''
# GCOV_TRUE=''
# GETTEXT_MACRO_VERSION=''
# GMSGFMT=''
# GMSGFMT_015=''
# GPROF_FALSE=''
# GPROF_TRUE=''
# GREP=''
# HAVE_BISON=''
# HAVE_BUNZIP2=''
# HAVE_DUPLICATED_COND_WARNING_FALSE=''
# HAVE_DUPLICATED_COND_WARNING_TRUE=''
# HAVE_FLEX=''
# HAVE_LIBASM_FALSE=''
# HAVE_LIBASM_TRUE=''
# HAVE_NULL_DEREFERENCE_WARNING_FALSE=''
# HAVE_NULL_DEREFERENCE_WARNING_TRUE=''
# HAVE_VALGRIND=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LEX='flex'
# LEXLIB=''
# LEX_OUTPUT_ROOT=''
# LIBEBL_SUBDIR=''
# LIBLZMA=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# LZMA_FALSE=''
# LZMA_TRUE=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# MODVERSION=''
# MSGFMT=''
# MSGFMT_015=''
# MSGMERGE=''
# NATIVE_LD_FALSE=''
# NATIVE_LD_TRUE=''
# NEVER_FALSE=''
# NEVER_TRUE=''
# NM=''
# OBJEXT='o'
# PACKAGE='elfutils'
# PACKAGE_BUGREPORT='https://bugzilla.redhat.com/'
# PACKAGE_NAME='elfutils'
# PACKAGE_STRING='elfutils 0.166'
# PACKAGE_TARNAME='elfutils'
# PACKAGE_URL=''
# PACKAGE_VERSION='0.166'
# PATH_SEPARATOR=':'
# RANLIB='arm-linux-androideabi-ranlib'
# READELF=''
# SANE_LOGICAL_OP_WARNING_FALSE=''
# SANE_LOGICAL_OP_WARNING_TRUE=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STANDALONE_FALSE=''
# STANDALONE_TRUE=''
# STRIP='arm-linux-androideabi-strip'
# SYMBOL_VERSIONING_FALSE=''
# SYMBOL_VERSIONING_TRUE=''
# TESTS_RPATH_FALSE=''
# TESTS_RPATH_TRUE=''
# USE_LOCKS_FALSE=''
# USE_LOCKS_TRUE='#'
# USE_NLS=''
# USE_VALGRIND_FALSE=''
# USE_VALGRIND_TRUE=''
# VERSION='0.166'
# XGETTEXT=''
# XGETTEXT_015=''
# XGETTEXT_EXTRA_OPTIONS=''
# YACC='bison -y'
# YFLAGS=''
# ZLIB_FALSE=''
# ZLIB_TRUE=''
# ac_ct_AR=''
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# argp_LDADD=''
# base_cpu=''
# 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}'
# eu_version=''
# 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'
# install_sh='${SHELL} /tmp/elfutils/src/elfutils-0.166/config/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&^&eu-&'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
# zip_LIBS=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "elfutils"
# #define PACKAGE_TARNAME "elfutils"
# #define PACKAGE_VERSION "0.166"
# #define PACKAGE_STRING "elfutils 0.166"
# #define PACKAGE_BUGREPORT "https://bugzilla.redhat.com/"
# #define PACKAGE_URL ""
# #define PACKAGE "elfutils"
# #define VERSION "0.166"
# #define DEFAULT_AR_DETERMINISTIC true
#
# configure: exit 1