Build of libdatrie with android toolchain

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

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

SLOCLanguage
11,373 sh
3,701 ansic
15,074 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: libdatrie 0.2.10-1 (Tue Apr 4 22:02:29 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 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 whether ln -s works... yes
# checking whether make sets $(MAKE)... (cached) yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... arm-unknown-linux-androideabi
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by arm-linux-androideabi-gcc... /sysroot/arm-linux-androideabi/bin/ld
# checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/arm-linux-androideabi-nm -B
# checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface... BSD nm
# checking the maximum length of command line arguments... 1572864
# checking whether the shell understands some XSI constructs... yes
# checking whether the shell understands "+="... yes
# checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files... -r
# checking for arm-linux-androideabi-objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for arm-linux-androideabi-dlltool... dlltool
# checking how to associate runtime and link libraries... printf %s\n
# checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
# checking for archiver @FILE support... @
# checking for arm-linux-androideabi-strip... (cached) arm-linux-androideabi-strip
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object... ok
# checking for sysroot... no
# checking for arm-linux-androideabi-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -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 for dlfcn.h... yes
# checking for objdir... .libs
# checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... no
# checking for arm-linux-androideabi-gcc option to produce PIC... -fPIC -DPIC
# checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works... yes
# checking if arm-linux-androideabi-gcc static flag -static works... yes
# checking if arm-linux-androideabi-gcc supports -c -o file.o... yes
# checking if arm-linux-androideabi-gcc supports -c -o file.o... (cached) yes
# checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... no
# checking whether linker supports -version-script... yes
# checking for iconv_open... no
# checking for libiconv_open in -liconv... no
# checking for iconv_open in -liconv... no
# configure: error: *** No usable iconv() implementation found
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libdatrie/src/libdatrie-0.2.10/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 libdatrie configure 0.2.10, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --disable-static
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 887757b1de5c
# 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:2337: checking for a BSD-compatible install
# configure:2405: result: /usr/bin/install -c
# configure:2416: checking whether build environment is sane
# configure:2471: result: yes
# configure:2530: checking for arm-linux-androideabi-strip
# configure:2546: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2557: result: arm-linux-androideabi-strip
# configure:2622: checking for a thread-safe mkdir -p
# configure:2661: result: /usr/sbin/mkdir -p
# configure:2668: checking for gawk
# configure:2684: found /usr/sbin/gawk
# configure:2695: result: gawk
# configure:2706: checking whether make sets $(MAKE)
# configure:2728: result: yes
# configure:2757: checking whether make supports nested variables
# configure:2774: result: yes
# configure:2923: checking for arm-linux-androideabi-gcc
# configure:2950: result: arm-linux-androideabi-gcc
# configure:3219: checking for C compiler version
# configure:3228: 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:3239: $? = 0
# configure:3228: 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:3239: $? = 0
# configure:3228: 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:3239: $? = 1
# configure:3228: 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:3239: $? = 1
# configure:3259: checking whether the C compiler works
# configure:3281: arm-linux-androideabi-gcc conftest.c >&5
# configure:3285: $? = 0
# configure:3333: result: yes
# configure:3336: checking for C compiler default output file name
# configure:3338: result: a.out
# configure:3344: checking for suffix of executables
# configure:3351: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3355: $? = 0
# configure:3377: result:
# configure:3399: checking whether we are cross compiling
# configure:3437: result: yes
# configure:3442: checking for suffix of object files
# configure:3464: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3468: $? = 0
# configure:3489: result: o
# configure:3493: checking whether we are using the GNU C compiler
# configure:3512: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3512: $? = 0
# configure:3521: result: yes
# configure:3530: checking whether arm-linux-androideabi-gcc accepts -g
# configure:3550: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3550: $? = 0
# configure:3591: result: yes
# configure:3608: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3671: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3671: $? = 0
# configure:3684: result: none needed
# configure:3709: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:3731: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3734: $? = 0
# configure:3731: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3734: $? = 0
# configure:3746: result: yes
# configure:3774: checking for style of include used by make
# configure:3802: result: GNU
# configure:3828: checking dependency style of arm-linux-androideabi-gcc
# configure:3939: result: gcc3
# configure:3955: checking whether ln -s works
# configure:3959: result: yes
# configure:3966: checking whether make sets $(MAKE)
# configure:3988: result: yes
# configure:4001: checking build system type
# configure:4015: result: x86_64-unknown-linux-gnu
# configure:4035: checking host system type
# configure:4048: result: arm-unknown-linux-androideabi
# configure:4417: checking how to print strings
# configure:4444: result: printf
# configure:4465: checking for a sed that does not truncate output
# configure:4529: result: /usr/sbin/sed
# configure:4547: checking for grep that handles long lines and -e
# configure:4605: result: /usr/sbin/grep
# configure:4610: checking for egrep
# configure:4672: result: /usr/sbin/grep -E
# configure:4677: checking for fgrep
# configure:4739: result: /usr/sbin/grep -F
# configure:4774: checking for ld used by arm-linux-androideabi-gcc
# configure:4841: result: /sysroot/arm-linux-androideabi/bin/ld
# configure:4848: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld
# configure:4863: result: yes
# configure:4875: checking for BSD- or MS-compatible name lister (nm)
# configure:4924: result: /sysroot/bin/arm-linux-androideabi-nm -B
# configure:5054: checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface
# configure:5061: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:5064: /sysroot/bin/arm-linux-androideabi-nm -B "conftest.o"
# configure:5067: output
# 00000000 B some_variable
# configure:5074: result: BSD nm
# configure:5078: checking the maximum length of command line arguments
# configure:5209: result: 1572864
# configure:5226: checking whether the shell understands some XSI constructs
# configure:5236: result: yes
# configure:5240: checking whether the shell understands "+="
# configure:5246: result: yes
# configure:5281: checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format
# configure:5321: result: func_convert_file_noop
# configure:5328: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5348: result: func_convert_file_noop
# configure:5355: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files
# configure:5362: result: -r
# configure:5396: checking for arm-linux-androideabi-objdump
# configure:5423: result: objdump
# configure:5492: checking how to recognize dependent libraries
# configure:5690: result: pass_all
# configure:5735: checking for arm-linux-androideabi-dlltool
# configure:5762: result: dlltool
# configure:5832: checking how to associate runtime and link libraries
# configure:5859: result: printf %s\n
# configure:5876: checking for arm-linux-androideabi-ar
# configure:5892: found /sysroot/bin/arm-linux-androideabi-ar
# configure:5903: result: arm-linux-androideabi-ar
# configure:5984: checking for archiver @FILE support
# configure:6001: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:6001: $? = 0
# configure:6004: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
# configure:6007: $? = 0
# configure:6012: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
# arm-linux-androideabi-ar: conftest.o: No such file or directory
# configure:6015: $? = 1
# configure:6027: result: @
# configure:6045: checking for arm-linux-androideabi-strip
# configure:6072: result: arm-linux-androideabi-strip
# configure:6144: checking for arm-linux-androideabi-ranlib
# configure:6160: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:6171: result: arm-linux-androideabi-ranlib
# configure:6313: checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object
# configure:6433: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:6436: $? = 0
# configure:6440: /sysroot/bin/arm-linux-androideabi-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:6443: $? = 0
# configure:6509: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o >&5
# configure:6512: $? = 0
# configure:6550: result: ok
# configure:6587: checking for sysroot
# configure:6617: result: no
# configure:6846: checking for arm-linux-androideabi-mt
# configure:6876: result: no
# configure:6886: checking for mt
# configure:6916: result: no
# configure:6936: checking if : is a manifest tool
# configure:6942: : '-?'
# configure:6950: result: no
# configure:7592: checking how to run the C preprocessor
# configure:7623: arm-linux-androideabi-gcc -E conftest.c
# configure:7623: $? = 0
# configure:7637: 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:7637: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libdatrie"
# | #define PACKAGE_TARNAME "libdatrie"
# | #define PACKAGE_VERSION "0.2.10"
# | #define PACKAGE_STRING "libdatrie 0.2.10"
# | #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libdatrie"
# | #define VERSION "0.2.10"
# | /* end confdefs.h. */
# | #include
# configure:7662: result: arm-linux-androideabi-gcc -E
# configure:7682: arm-linux-androideabi-gcc -E conftest.c
# configure:7682: $? = 0
# configure:7696: 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:7696: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libdatrie"
# | #define PACKAGE_TARNAME "libdatrie"
# | #define PACKAGE_VERSION "0.2.10"
# | #define PACKAGE_STRING "libdatrie 0.2.10"
# | #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libdatrie"
# | #define VERSION "0.2.10"
# | /* end confdefs.h. */
# | #include
# configure:7725: checking for ANSI C header files
# configure:7745: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7745: $? = 0
# configure:7829: result: yes
# configure:7842: checking for sys/types.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for sys/stat.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for stdlib.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for string.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for memory.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for strings.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for inttypes.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for stdint.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7842: checking for unistd.h
# configure:7842: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7842: $? = 0
# configure:7842: result: yes
# configure:7856: checking for dlfcn.h
# configure:7856: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:7856: $? = 0
# configure:7856: result: yes
# configure:8060: checking for objdir
# configure:8075: result: .libs
# configure:8346: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions
# configure:8364: arm-linux-androideabi-gcc -c -fno-rtti -fno-exceptions conftest.c >&5
# cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
# configure:8368: $? = 0
# configure:8381: result: no
# configure:8708: checking for arm-linux-androideabi-gcc option to produce PIC
# configure:8715: result: -fPIC -DPIC
# configure:8723: checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works
# configure:8741: arm-linux-androideabi-gcc -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8745: $? = 0
# configure:8758: result: yes
# configure:8787: checking if arm-linux-androideabi-gcc static flag -static works
# configure:8815: result: yes
# configure:8830: checking if arm-linux-androideabi-gcc supports -c -o file.o
# configure:8851: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c >&5
# configure:8855: $? = 0
# configure:8877: result: yes
# configure:8885: checking if arm-linux-androideabi-gcc supports -c -o file.o
# configure:8932: result: yes
# configure:8965: checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries
# configure:10122: result: yes
# configure:10159: checking whether -lc should be explicitly linked in
# configure:10167: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:10170: $? = 0
# configure:10185: arm-linux-androideabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10188: $? = 0
# configure:10202: result: no
# configure:10362: checking dynamic linker characteristics
# configure:10862: arm-linux-androideabi-gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:10862: $? = 0
# configure:11096: result: GNU/Linux ld.so
# configure:11203: checking how to hardcode library paths into programs
# configure:11228: result: immediate
# configure:11768: checking whether stripping libraries is possible
# configure:11773: result: yes
# configure:11808: checking if libtool supports shared libraries
# configure:11810: result: yes
# configure:11813: checking whether to build shared libraries
# configure:11834: result: yes
# configure:11837: checking whether to build static libraries
# configure:11841: result: no
# configure:11881: checking whether linker supports -version-script
# configure:11909: result: yes
# configure:11935: checking for iconv_open
# configure:11935: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# /tmp/ccwKDeS5.o:conftest.c:function main: error: undefined reference to 'iconv_open'
# collect2: error: ld returned 1 exit status
# configure:11935: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libdatrie"
# | #define PACKAGE_TARNAME "libdatrie"
# | #define PACKAGE_VERSION "0.2.10"
# | #define PACKAGE_STRING "libdatrie 0.2.10"
# | #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libdatrie"
# | #define VERSION "0.2.10"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | /* Define iconv_open to an innocuous variant, in case declares iconv_open.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define iconv_open innocuous_iconv_open
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char iconv_open (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef iconv_open
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char iconv_open ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_iconv_open || defined __stub___iconv_open
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return iconv_open ();
# | ;
# | return 0;
# | }
# configure:11935: result: no
# configure:11942: checking for libiconv_open in -liconv
# configure:11967: arm-linux-androideabi-gcc -o conftest conftest.c -liconv >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -liconv
# /tmp/cc4bMajb.o:conftest.c:function main: error: undefined reference to 'libiconv_open'
# collect2: error: ld returned 1 exit status
# configure:11967: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libdatrie"
# | #define PACKAGE_TARNAME "libdatrie"
# | #define PACKAGE_VERSION "0.2.10"
# | #define PACKAGE_STRING "libdatrie 0.2.10"
# | #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libdatrie"
# | #define VERSION "0.2.10"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char libiconv_open ();
# | int
# | main ()
# | {
# | return libiconv_open ();
# | ;
# | return 0;
# | }
# configure:11976: result: no
# configure:11985: checking for iconv_open in -liconv
# configure:12010: arm-linux-androideabi-gcc -o conftest conftest.c -liconv >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -liconv
# /tmp/ccGRSGEg.o:conftest.c:function main: error: undefined reference to 'iconv_open'
# collect2: error: ld returned 1 exit status
# configure:12010: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libdatrie"
# | #define PACKAGE_TARNAME "libdatrie"
# | #define PACKAGE_VERSION "0.2.10"
# | #define PACKAGE_STRING "libdatrie 0.2.10"
# | #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libdatrie"
# | #define VERSION "0.2.10"
# | #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 HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char iconv_open ();
# | int
# | main ()
# | {
# | return iconv_open ();
# | ;
# | return 0;
# | }
# configure:12019: result: no
# configure:12027: error: *** No usable iconv() implementation found
#
# ## ---------------- ##
# ## 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_func_iconv_open=no
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# 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_host=arm-unknown-linux-androideabi
# ac_cv_lib_iconv_iconv_open=no
# ac_cv_lib_iconv_libiconv_open=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# 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_DLLTOOL=dlltool
# ac_cv_prog_OBJDUMP=objdump
# 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
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# datrie_cv_have_version_script=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/arm-linux-androideabi/bin/ld
# lt_cv_path_NM='/sysroot/bin/arm-linux-androideabi-nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=no
# lt_cv_prog_compiler_static_works=yes
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AR='arm-linux-androideabi-ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/missing automake-1.15'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# DLLTOOL='dlltool'
# DOXYGEN=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# ENABLE_DOXYGEN_DOC_FALSE=''
# ENABLE_DOXYGEN_DOC_TRUE=''
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# ICONV_LIBS=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/arm-linux-androideabi/bin/ld'
# LDFLAGS=''
# LD_HAS_VERSION_SCRIPT_FALSE='#'
# LD_HAS_VERSION_SCRIPT_TRUE=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_AGE='3'
# LT_CURRENT='4'
# LT_REVISION='3'
# MAKEINFO='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/arm-linux-androideabi-nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='libdatrie'
# PACKAGE_BUGREPORT='theppitak@gmail.com'
# PACKAGE_NAME='libdatrie'
# PACKAGE_STRING='libdatrie 0.2.10'
# PACKAGE_TARNAME='libdatrie'
# PACKAGE_URL=''
# PACKAGE_VERSION='0.2.10'
# PATH_SEPARATOR=':'
# RANLIB='arm-linux-androideabi-ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='0.2.10'
# ac_ct_AR=''
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# 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='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}'
# htmldocdir=''
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/libdatrie/src/libdatrie-0.2.10/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,x,x,'
# psdir='${docdir}'
# runstatedir='${localstatedir}/run'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "libdatrie"
# #define PACKAGE_TARNAME "libdatrie"
# #define PACKAGE_VERSION "0.2.10"
# #define PACKAGE_STRING "libdatrie 0.2.10"
# #define PACKAGE_BUGREPORT "theppitak@gmail.com"
# #define PACKAGE_URL ""
# #define PACKAGE "libdatrie"
# #define VERSION "0.2.10"
# #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 HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
#
# configure: exit 1