Build of synce-libmimedir with android toolchain

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

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

SLOCLanguage
2,852 ansic
207 lex
207 yacc
153 sh
3,419 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: synce-libmimedir 0.4-7 (Tue Apr 4 21:13:34 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 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-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ANSI C... none needed
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking whether make sets $(MAKE)... yes
# checking for bison... bison -y
# checking for flex... flex
# checking for yywrap in -lfl... no
# checking for yywrap in -ll... no
# 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/synce-libmimedir/src/libmimedir-0.4/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 --with-pic
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 25fdc0bd86e1
# 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:1298: checking for arm-linux-androideabi-gcc
# configure:1324: result: arm-linux-androideabi-gcc
# configure:1606: checking for C compiler version
# configure:1609: 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:1612: $? = 0
# configure:1614: 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:1617: $? = 0
# configure:1619: 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:1622: $? = 1
# configure:1645: checking for C compiler default output file name
# configure:1648: arm-linux-androideabi-gcc conftest.c >&5
# configure:1651: $? = 0
# configure:1697: result: a.out
# configure:1702: checking whether the C compiler works
# configure:1728: result: yes
# configure:1735: checking whether we are cross compiling
# configure:1737: result: yes
# configure:1740: checking for suffix of executables
# configure:1742: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:1745: $? = 0
# configure:1770: result:
# configure:1776: checking for suffix of object files
# configure:1797: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:1800: $? = 0
# configure:1822: result: o
# configure:1826: checking whether we are using the GNU C compiler
# configure:1850: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:1856: $? = 0
# configure:1860: test -z
# || test ! -s conftest.err
# configure:1863: $? = 0
# configure:1866: test -s conftest.o
# configure:1869: $? = 0
# configure:1882: result: yes
# configure:1888: checking whether arm-linux-androideabi-gcc accepts -g
# configure:1909: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:1915: $? = 0
# configure:1919: test -z
# || test ! -s conftest.err
# configure:1922: $? = 0
# configure:1925: test -s conftest.o
# configure:1928: $? = 0
# configure:1939: result: yes
# configure:1956: checking for arm-linux-androideabi-gcc option to accept ANSI C
# configure:2026: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2032: $? = 0
# configure:2036: test -z
# || test ! -s conftest.err
# configure:2039: $? = 0
# configure:2042: test -s conftest.o
# configure:2045: $? = 0
# configure:2063: result: none needed
# configure:2081: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:2:3: error: unknown type name 'choke'
# choke me
# ^
# conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
# configure:2087: $? = 1
# configure: failed program was:
# | #ifndef __cplusplus
# | choke me
# | #endif
# configure:2258: checking for a BSD-compatible install
# configure:2313: result: /usr/bin/install -c
# configure:2324: checking whether ln -s works
# configure:2328: result: yes
# configure:2335: checking whether make sets $(MAKE)
# configure:2355: result: yes
# configure:2368: checking for bison
# configure:2384: found /usr/sbin/bison
# configure:2394: result: bison -y
# configure:2410: checking for flex
# configure:2426: found /usr/sbin/flex
# configure:2436: result: flex
# configure:2449: checking for yywrap in -lfl
# configure:2479: arm-linux-androideabi-gcc -o conftest conftest.c -lfl >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfl
# /tmp/cc8Kd0PU.o:conftest.c:function main: error: undefined reference to 'yywrap'
# collect2: error: ld returned 1 exit status
# configure:2485: $? = 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. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char yywrap ();
# | int
# | main ()
# | {
# | yywrap ();
# | ;
# | return 0;
# | }
# configure:2511: result: no
# configure:2516: checking for yywrap in -ll
# configure:2546: arm-linux-androideabi-gcc -o conftest conftest.c -ll >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ll
# /tmp/ccw2ujWV.o:conftest.c:function main: error: undefined reference to 'yywrap'
# collect2: error: ld returned 1 exit status
# configure:2552: $? = 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. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char yywrap ();
# | int
# | main ()
# | {
# | yywrap ();
# | ;
# | return 0;
# | }
# configure:2578: result: no
# configure:2589: checking lex output file root
# configure:2600: flex conftest.l
# flex: error writing output file lex.yy.c
# configure:2603: $? = 1
# configure:2610: error: cannot find output from flex; giving up
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# 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_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_lib_fl_yywrap=no
# ac_cv_lib_l_yywrap=no
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_LEX=flex
# ac_cv_prog_YACC='bison -y'
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_make_make_set=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='arm-linux-androideabi-gcc'
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LEX='flex'
# LEXLIB=''
# LEX_OUTPUT_ROOT=''
# LIBOBJS=''
# LIBS=''
# LN_S='ln -s'
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RANLIB=''
# SET_MAKE=''
# SHELL='/bin/sh'
# YACC='bison -y'
# ac_ct_CC=''
# ac_ct_RANLIB=''
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${prefix}/share'
# exec_prefix='NONE'
# host_alias='arm-linux-androideabi'
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='${prefix}/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 ""
#
# configure: exit 1