Build of sshguard 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
3,839 ansic
1,629 sh
231 lex
202 yacc
5,901 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: sshguard 1.6.4-1 (Tue Apr 4 21:30:58 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 make supports nested variables... (cached) yes
# checking for iptables... no
# configure: WARNING: iptables program not in path! Using /sbin as default unless --with-iptables specified
# ## -------------- ##
# ## Program Checks ##
# ## -------------- ##
# 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... 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 dependency style of arm-linux-androideabi-gcc... gcc3
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking minix/config.h usability... no
# checking minix/config.h presence... no
# checking for minix/config.h... no
# checking whether it is safe to define __EXTENSIONS__... yes
# checking for gawk... (cached) gawk
# checking for arm-linux-androideabi-gcc... (cached) arm-linux-androideabi-gcc
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether arm-linux-androideabi-gcc accepts -g... (cached) yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... (cached) none needed
# checking whether arm-linux-androideabi-gcc understands -c and -o together... (cached) yes
# checking dependency style of arm-linux-androideabi-gcc... (cached) gcc3
# checking for arm-linux-androideabi-gcc option to accept ISO C99... -std=gnu99
# checking for egrep... (cached) /usr/sbin/grep -E
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking for bison... bison -y
# checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
# checking the archiver (arm-linux-androideabi-ar) interface... ar
# 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/sshguard/src/sshguard-1.6.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 sshguard configure 1.6.4, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 21106e6a943c
# 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:2236: checking for a BSD-compatible install
# configure:2304: result: /usr/bin/install -c
# configure:2315: checking whether build environment is sane
# configure:2370: result: yes
# configure:2429: checking for arm-linux-androideabi-strip
# configure:2445: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2456: result: arm-linux-androideabi-strip
# configure:2521: checking for a thread-safe mkdir -p
# configure:2560: result: /usr/sbin/mkdir -p
# configure:2567: checking for gawk
# configure:2583: found /usr/sbin/gawk
# configure:2594: result: gawk
# configure:2605: checking whether make sets $(MAKE)
# configure:2627: result: yes
# configure:2656: checking whether make supports nested variables
# configure:2673: result: yes
# configure:2810: checking whether make supports nested variables
# configure:2827: result: yes
# configure:3003: checking for iptables
# configure:3019: found /usr/sbin/iptables
# configure:3033: result: no
# configure:3042: WARNING: iptables program not in path! Using /sbin as default unless --with-iptables specified
# configure:3182: checking for style of include used by make
# configure:3210: result: GNU
# configure:3241: checking for arm-linux-androideabi-gcc
# configure:3268: result: arm-linux-androideabi-gcc
# configure:3537: checking for C compiler version
# configure:3546: 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:3557: $? = 0
# configure:3546: 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:3557: $? = 0
# configure:3546: 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:3557: $? = 1
# configure:3546: 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:3557: $? = 1
# configure:3577: checking whether the C compiler works
# configure:3599: arm-linux-androideabi-gcc conftest.c >&5
# configure:3603: $? = 0
# configure:3651: result: yes
# configure:3654: checking for C compiler default output file name
# configure:3656: result: a.out
# configure:3662: checking for suffix of executables
# configure:3669: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3673: $? = 0
# configure:3695: result:
# configure:3717: checking whether we are cross compiling
# configure:3755: result: yes
# configure:3760: checking for suffix of object files
# configure:3782: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3786: $? = 0
# configure:3807: result: o
# configure:3811: checking whether we are using the GNU C compiler
# configure:3830: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3830: $? = 0
# configure:3839: result: yes
# configure:3848: checking whether arm-linux-androideabi-gcc accepts -g
# configure:3868: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3868: $? = 0
# configure:3909: result: yes
# configure:3926: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3989: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3989: $? = 0
# configure:4002: result: none needed
# configure:4027: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:4049: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:4052: $? = 0
# configure:4049: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:4052: $? = 0
# configure:4064: result: yes
# configure:4083: checking dependency style of arm-linux-androideabi-gcc
# configure:4194: result: gcc3
# configure:4215: checking how to run the C preprocessor
# configure:4246: arm-linux-androideabi-gcc -E conftest.c
# configure:4246: $? = 0
# configure:4260: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4260: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "sshguard"
# | #define PACKAGE_TARNAME "sshguard"
# | #define PACKAGE_VERSION "1.6.4"
# | #define PACKAGE_STRING "sshguard 1.6.4"
# | #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "sshguard"
# | #define VERSION "1.6.4"
# | /* end confdefs.h. */
# | #include
# configure:4285: result: arm-linux-androideabi-gcc -E
# configure:4305: arm-linux-androideabi-gcc -E conftest.c
# configure:4305: $? = 0
# configure:4319: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4319: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "sshguard"
# | #define PACKAGE_TARNAME "sshguard"
# | #define PACKAGE_VERSION "1.6.4"
# | #define PACKAGE_STRING "sshguard 1.6.4"
# | #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "sshguard"
# | #define VERSION "1.6.4"
# | /* end confdefs.h. */
# | #include
# configure:4348: checking for grep that handles long lines and -e
# configure:4406: result: /usr/sbin/grep
# configure:4411: checking for egrep
# configure:4473: result: /usr/sbin/grep -E
# configure:4478: checking for ANSI C header files
# configure:4498: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4498: $? = 0
# configure:4582: result: yes
# configure:4595: checking for sys/types.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for sys/stat.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for stdlib.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for string.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for memory.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for strings.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for inttypes.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for stdint.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4595: checking for unistd.h
# configure:4595: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4595: $? = 0
# configure:4595: result: yes
# configure:4608: checking minix/config.h usability
# configure:4608: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:54:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4608: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "sshguard"
# | #define PACKAGE_TARNAME "sshguard"
# | #define PACKAGE_VERSION "1.6.4"
# | #define PACKAGE_STRING "sshguard 1.6.4"
# | #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "sshguard"
# | #define VERSION "1.6.4"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:4608: result: no
# configure:4608: checking minix/config.h presence
# configure:4608: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:21:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4608: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "sshguard"
# | #define PACKAGE_TARNAME "sshguard"
# | #define PACKAGE_VERSION "1.6.4"
# | #define PACKAGE_STRING "sshguard 1.6.4"
# | #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "sshguard"
# | #define VERSION "1.6.4"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# configure:4608: result: no
# configure:4608: checking for minix/config.h
# configure:4608: result: no
# configure:4629: checking whether it is safe to define __EXTENSIONS__
# configure:4647: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4647: $? = 0
# configure:4654: result: yes
# configure:4673: checking for gawk
# configure:4700: result: gawk
# configure:4719: checking for arm-linux-androideabi-gcc
# configure:4746: result: arm-linux-androideabi-gcc
# configure:5015: checking for C compiler version
# configure:5024: 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:5035: $? = 0
# configure:5024: 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:5035: $? = 0
# configure:5024: 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:5035: $? = 1
# configure:5024: 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:5035: $? = 1
# configure:5039: checking whether we are using the GNU C compiler
# configure:5067: result: yes
# configure:5076: checking whether arm-linux-androideabi-gcc accepts -g
# configure:5137: result: yes
# configure:5154: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:5230: result: none needed
# configure:5255: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:5292: result: yes
# configure:5311: checking dependency style of arm-linux-androideabi-gcc
# configure:5422: result: gcc3
# configure:5437: checking for arm-linux-androideabi-gcc option to accept ISO C99
# configure:5586: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:76:29: error: expected ';', ',' or ')' before 'text'
# test_restrict (ccp restrict text)
# ^
# conftest.c: In function 'main':
# conftest.c:130:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
# char *restrict newvar = "Another string";
# ^
# conftest.c:130:18: error: 'newvar' undeclared (first use in this function)
# conftest.c:130:18: note: each undeclared identifier is reported only once for each function it appears in
# conftest.c:140:3: error: 'for' loop initial declarations are only allowed in C99 mode
# for (int i = 0; i < ia->datasize; ++i)
# ^
# conftest.c:140:3: note: use option -std=c99 or -std=gnu99 to compile your code
# configure:5586: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "sshguard"
# | #define PACKAGE_TARNAME "sshguard"
# | #define PACKAGE_VERSION "1.6.4"
# | #define PACKAGE_STRING "sshguard 1.6.4"
# | #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# | #define PACKAGE_URL ""
# | #define PACKAGE "sshguard"
# | #define VERSION "1.6.4"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | /* end confdefs.h. */
# | #include
# | #include
# | #include
# | #include
# | #include
# |
# | // Check varargs macros. These examples are taken from C99 6.10.3.5.
# | #define debug(...) fprintf (stderr, __VA_ARGS__)
# | #define showlist(...) puts (#__VA_ARGS__)
# | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
# | static void
# | test_varargs_macros (void)
# | {
# | int x = 1234;
# | int y = 5678;
# | debug ("Flag");
# | debug ("X = %d\n", x);
# | showlist (The first, second, and third items.);
# | report (x>y, "x is %d but y is %d", x, y);
# | }
# |
# | // Check long long types.
# | #define BIG64 18446744073709551615ull
# | #define BIG32 4294967295ul
# | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
# | #if !BIG_OK
# | your preprocessor is broken;
# | #endif
# | #if BIG_OK
# | #else
# | your preprocessor is broken;
# | #endif
# | static long long int bignum = -9223372036854775807LL;
# | static unsigned long long int ubignum = BIG64;
# |
# | struct incomplete_array
# | {
# | int datasize;
# | double data[];
# | };
# |
# | struct named_init {
# | int number;
# | const wchar_t *name;
# | double average;
# | };
# |
# | typedef const char *ccp;
# |
# | static inline int
# | test_restrict (ccp restrict text)
# | {
# | // See if C++-style comments work.
# | // Iterate through items via the restricted pointer.
# | // Also check for declarations in for loops.
# | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
# | continue;
# | return 0;
# | }
# |
# | // Check varargs and va_copy.
# | static void
# | test_varargs (const char *format, ...)
# | {
# | va_list args;
# | va_start (args, format);
# | va_list args_copy;
# | va_copy (args_copy, args);
# |
# | const char *str;
# | int number;
# | float fnumber;
# |
# | while (*format)
# | {
# | switch (*format++)
# | {
# | case 's': // string
# | str = va_arg (args_copy, const char *);
# | break;
# | case 'd': // int
# | number = va_arg (args_copy, int);
# | break;
# | case 'f': // float
# | fnumber = va_arg (args_copy, double);
# | break;
# | default:
# | break;
# | }
# | }
# | va_end (args_copy);
# | va_end (args);
# | }
# |
# | int
# | main ()
# | {
# |
# | // Check bool.
# | _Bool success = false;
# |
# | // Check restrict.
# | if (test_restrict ("String literal") == 0)
# | success = true;
# | char *restrict newvar = "Another string";
# |
# | // Check varargs.
# | test_varargs ("s, d' f .", "string", 65, 34.234);
# | test_varargs_macros ();
# |
# | // Check flexible array members.
# | struct incomplete_array *ia =
# | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
# | ia->datasize = 10;
# | for (int i = 0; i < ia->datasize; ++i)
# | ia->data[i] = i * 1.234;
# |
# | // Check named initializers.
# | struct named_init ni = {
# | .number = 34,
# | .name = L"Test wide string",
# | .average = 543.34343,
# | };
# |
# | ni.number = 58;
# |
# | int dynamic_array[ni.number];
# | dynamic_array[ni.number - 1] = 543;
# |
# | // work around unused variable warnings
# | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
# | || dynamic_array[ni.number - 1] != 543);
# |
# | ;
# | return 0;
# | }
# configure:5586: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
# configure:5586: $? = 0
# configure:5606: result: -std=gnu99
# configure:5614: checking for egrep
# configure:5676: result: /usr/sbin/grep -E
# configure:5684: checking for arm-linux-androideabi-ranlib
# configure:5700: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:5711: result: arm-linux-androideabi-ranlib
# configure:5777: checking for bison
# configure:5793: found /usr/sbin/bison
# configure:5804: result: bison -y
# configure:5821: checking for arm-linux-androideabi-ar
# configure:5837: found /sysroot/bin/arm-linux-androideabi-ar
# configure:5848: result: arm-linux-androideabi-ar
# configure:5918: checking the archiver (arm-linux-androideabi-ar) interface
# configure:5934: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
# configure:5934: $? = 0
# configure:5936: arm-linux-androideabi-ar cru libconftest.a conftest.o >&5
# configure:5939: $? = 0
# configure:5967: result: ar
# configure:5991: checking for flex
# configure:6007: found /usr/sbin/flex
# configure:6018: result: flex
# configure:6056: flex conftest.l
# flex: error writing output file lex.yy.c
# configure:6060: $? = 1
# configure:6062: checking lex output file root
# configure:6073: 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_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_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_minix_config_h=no
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AR=arm-linux-androideabi-ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# 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_c99=-std=gnu99
# ac_cv_prog_cc_g=yes
# ac_cv_prog_iptablespath=
# ac_cv_prog_make_make_set=yes
# ac_cv_safe_to_define___extensions__=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_ar_interface=ar
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR='arm-linux-androideabi-ar'
# AUTOCONF='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/missing automake-1.15'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc -std=gnu99'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# FWALL_AIX_FALSE=''
# FWALL_AIX_TRUE=''
# FWALL_HOSTS_FALSE=''
# FWALL_HOSTS_TRUE=''
# FWALL_IPFILTER_FALSE=''
# FWALL_IPFILTER_TRUE=''
# FWALL_IPFW_FALSE=''
# FWALL_IPFW_TRUE=''
# FWALL_IPTABLES_FALSE=''
# FWALL_IPTABLES_TRUE=''
# FWALL_NULL_FALSE=''
# FWALL_NULL_TRUE=''
# FWALL_PF_FALSE=''
# FWALL_PF_TRUE=''
# GREP='/usr/sbin/grep'
# 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=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='sshguard'
# PACKAGE_BUGREPORT='sshguard-users@lists.sourceforge.net'
# PACKAGE_NAME='sshguard'
# PACKAGE_STRING='sshguard 1.6.4'
# PACKAGE_TARNAME='sshguard'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.6.4'
# PATH_SEPARATOR=':'
# RANLIB='arm-linux-androideabi-ranlib'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='1.6.4'
# YACC='bison -y'
# YFLAGS=''
# 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 -'
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# genfiltpath=''
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/sshguard/src/sshguard-1.6.4/install-sh'
# ipfpath=''
# ipfwpath=''
# iptablespath='/sbin'
# 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}'
# pfctlpath=''
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "sshguard"
# #define PACKAGE_TARNAME "sshguard"
# #define PACKAGE_VERSION "1.6.4"
# #define PACKAGE_STRING "sshguard 1.6.4"
# #define PACKAGE_BUGREPORT "sshguard-users@lists.sourceforge.net"
# #define PACKAGE_URL ""
# #define PACKAGE "sshguard"
# #define VERSION "1.6.4"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define __EXTENSIONS__ 1
# #define _ALL_SOURCE 1
# #define _GNU_SOURCE 1
# #define _POSIX_PTHREAD_SEMANTICS 1
# #define _TANDEM_SOURCE 1
#
# configure: exit 1