Build of libchewing with musl toolchain

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

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

SLOCLanguage
104,292 ansic
4,346 sh
113 python
17 makefile
108,768 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: libchewing 0.5.1-1 (Wed Apr 5 01:58:54 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 x86_64-unknown-linux-strip... no
# checking for strip... 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 build system type... x86_64-pc-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for style of include used by make... GNU
# checking for x86_64-unknown-linux-gcc... clang
# 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 clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking dependency style of clang... gcc3
# 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 clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... no
# checking for x86_64-unknown-linux-dumpbin... no
# checking for x86_64-unknown-linux-link... no
# checking for dumpbin... no
# checking for link... link -dump
# configure: WARNING: using cross tools not prefixed with host triplet
# checking the name lister (nm) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse nm output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) 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... yes
# checking for x86_64-unknown-linux-gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking for clang option to accept ISO C99... none needed
# checking whether byte ordering is bigendian... no
# checking for stdlib.h... (cached) yes
# checking for GNU libc compatible malloc... no
# checking for strtok_r... yes
# checking for asprintf... yes
# checking for library containing sqlite3_open... no
# configure: error: unable to find the sqlite3() function
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libchewing/src/libchewing-0.5.1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by libchewing configure 0.5.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 5de8621d8440
# 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: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2470: checking for a BSD-compatible install
# configure:2538: result: /usr/bin/install -c
# configure:2549: checking whether build environment is sane
# configure:2604: result: yes
# configure:2663: checking for x86_64-unknown-linux-strip
# configure:2693: result: no
# configure:2703: checking for strip
# configure:2719: found /sysroot/bin/strip
# configure:2730: result: strip
# configure:2755: checking for a thread-safe mkdir -p
# configure:2794: result: /usr/sbin/mkdir -p
# configure:2801: checking for gawk
# configure:2817: found /usr/sbin/gawk
# configure:2828: result: gawk
# configure:2839: checking whether make sets $(MAKE)
# configure:2861: result: yes
# configure:2890: checking whether make supports nested variables
# configure:2907: result: yes
# configure:3044: checking whether make supports nested variables
# configure:3061: result: yes
# configure:3105: checking build system type
# configure:3119: result: x86_64-pc-linux-gnu
# configure:3139: checking host system type
# configure:3152: result: x86_64-unknown-linux-gnu
# configure:3193: checking how to print strings
# configure:3220: result: printf
# configure:3253: checking for style of include used by make
# configure:3281: result: GNU
# configure:3312: checking for x86_64-unknown-linux-gcc
# configure:3339: result: clang
# configure:3608: checking for C compiler version
# configure:3617: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3628: $? = 0
# configure:3617: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3628: $? = 0
# configure:3617: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3628: $? = 1
# configure:3617: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3628: $? = 1
# configure:3648: checking whether the C compiler works
# configure:3670: clang conftest.c >&5
# configure:3674: $? = 0
# configure:3722: result: yes
# configure:3725: checking for C compiler default output file name
# configure:3727: result: a.out
# configure:3733: checking for suffix of executables
# configure:3740: clang -o conftest conftest.c >&5
# configure:3744: $? = 0
# configure:3766: result:
# configure:3788: checking whether we are cross compiling
# configure:3796: clang -o conftest conftest.c >&5
# configure:3800: $? = 0
# configure:3807: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3811: $? = 127
# configure:3826: result: yes
# configure:3831: checking for suffix of object files
# configure:3853: clang -c conftest.c >&5
# configure:3857: $? = 0
# configure:3878: result: o
# configure:3882: checking whether we are using the GNU C compiler
# configure:3901: clang -c conftest.c >&5
# configure:3901: $? = 0
# configure:3910: result: yes
# configure:3919: checking whether clang accepts -g
# configure:3939: clang -c -g conftest.c >&5
# configure:3939: $? = 0
# configure:3980: result: yes
# configure:3997: checking for clang option to accept ISO C89
# configure:4060: clang -c conftest.c >&5
# configure:4060: $? = 0
# configure:4073: result: none needed
# configure:4098: checking whether clang understands -c and -o together
# configure:4120: clang -c conftest.c -o conftest2.o
# configure:4123: $? = 0
# configure:4120: clang -c conftest.c -o conftest2.o
# configure:4123: $? = 0
# configure:4135: result: yes
# configure:4154: checking dependency style of clang
# configure:4265: result: gcc3
# configure:4280: checking for a sed that does not truncate output
# configure:4344: result: /usr/sbin/sed
# configure:4362: checking for grep that handles long lines and -e
# configure:4420: result: /usr/sbin/grep
# configure:4425: checking for egrep
# configure:4487: result: /usr/sbin/grep -E
# configure:4492: checking for fgrep
# configure:4554: result: /usr/sbin/grep -F
# configure:4589: checking for ld used by clang
# configure:4656: result: /sysroot/bin/ld
# configure:4663: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4678: result: yes
# configure:4690: checking for BSD- or MS-compatible name lister (nm)
# configure:4744: result: no
# configure:4758: checking for x86_64-unknown-linux-dumpbin
# configure:4788: result: no
# configure:4758: checking for x86_64-unknown-linux-link
# configure:4788: result: no
# configure:4802: checking for dumpbin
# configure:4832: result: no
# configure:4802: checking for link
# configure:4818: found /usr/sbin/link
# configure:4829: result: link -dump
# configure:4845: WARNING: using cross tools not prefixed with host triplet
# configure:4874: checking the name lister (nm) interface
# configure:4881: clang -c conftest.c >&5
# configure:4884: nm "conftest.o"
# configure:4887: output
# 0000000000000000 B some_variable
# configure:4894: result: BSD nm
# configure:4897: checking whether ln -s works
# configure:4901: result: yes
# configure:4909: checking the maximum length of command line arguments
# configure:5040: result: 1572864
# configure:5088: checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5128: result: func_convert_file_noop
# configure:5135: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
# configure:5155: result: func_convert_file_noop
# configure:5162: checking for /sysroot/bin/ld option to reload object files
# configure:5169: result: -r
# configure:5203: checking for x86_64-unknown-linux-objdump
# configure:5233: result: no
# configure:5243: checking for objdump
# configure:5259: found /sysroot/bin/objdump
# configure:5270: result: objdump
# configure:5299: checking how to recognize dependent libraries
# configure:5499: result: pass_all
# configure:5544: checking for x86_64-unknown-linux-dlltool
# configure:5574: result: no
# configure:5584: checking for dlltool
# configure:5614: result: no
# configure:5641: checking how to associate runtime and link libraries
# configure:5668: result: printf %s\n
# configure:5685: checking for x86_64-unknown-linux-ar
# configure:5715: result: no
# configure:5729: checking for ar
# configure:5745: found /sysroot/bin/ar
# configure:5756: result: ar
# configure:5793: checking for archiver @FILE support
# configure:5810: clang -c conftest.c >&5
# configure:5810: $? = 0
# configure:5813: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5816: $? = 0
# configure:5821: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:5824: $? = 1
# configure:5836: result: @
# configure:5854: checking for x86_64-unknown-linux-strip
# configure:5881: result: strip
# configure:5953: checking for x86_64-unknown-linux-ranlib
# configure:5983: result: no
# configure:5993: checking for ranlib
# configure:6009: found /sysroot/bin/ranlib
# configure:6020: result: ranlib
# configure:6122: checking command to parse nm output from clang object
# configure:6275: clang -c conftest.c >&5
# configure:6278: $? = 0
# configure:6282: nm 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:6285: $? = 0
# configure:6351: clang -o conftest conftest.c conftstm.o >&5
# configure:6354: $? = 0
# configure:6392: result: ok
# configure:6439: checking for sysroot
# configure:6469: result: no
# configure:6476: checking for a working dd
# configure:6514: result: /usr/sbin/dd
# configure:6518: checking how to truncate binary pipes
# configure:6533: result: /usr/sbin/dd bs=4096 count=1
# configure:6669: clang -c conftest.c >&5
# configure:6672: $? = 0
# configure:6822: checking for x86_64-unknown-linux-mt
# configure:6852: result: no
# configure:6862: checking for mt
# configure:6892: result: no
# configure:6912: checking if : is a manifest tool
# configure:6918: : '-?'
# configure:6926: result: no
# configure:7603: checking how to run the C preprocessor
# configure:7634: clang -E conftest.c
# configure:7634: $? = 0
# configure:7648: clang -E conftest.c
# conftest.c:13:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7648: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | /* end confdefs.h. */
# | #include
# configure:7673: result: clang -E
# configure:7693: clang -E conftest.c
# configure:7693: $? = 0
# configure:7707: clang -E conftest.c
# conftest.c:13:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7707: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | /* end confdefs.h. */
# | #include
# configure:7736: checking for ANSI C header files
# configure:7756: clang -c conftest.c >&5
# configure:7756: $? = 0
# configure:7840: result: yes
# configure:7853: checking for sys/types.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for sys/stat.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for stdlib.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for string.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for memory.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for strings.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for inttypes.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for stdint.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7853: checking for unistd.h
# configure:7853: clang -c conftest.c >&5
# configure:7853: $? = 0
# configure:7853: result: yes
# configure:7867: checking for dlfcn.h
# configure:7867: clang -c conftest.c >&5
# configure:7867: $? = 0
# configure:7867: result: yes
# configure:8421: checking for objdir
# configure:8436: result: .libs
# configure:8700: checking if clang supports -fno-rtti -fno-exceptions
# configure:8718: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8722: $? = 0
# configure:8735: result: yes
# configure:9093: checking for clang option to produce PIC
# configure:9100: result: -fPIC -DPIC
# configure:9108: checking if clang PIC flag -fPIC -DPIC works
# configure:9126: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:9130: $? = 0
# configure:9143: result: yes
# configure:9172: checking if clang static flag -static works
# configure:9200: result: no
# configure:9215: checking if clang supports -c -o file.o
# configure:9236: clang -c -o out/conftest2.o conftest.c >&5
# configure:9240: $? = 0
# configure:9262: result: yes
# configure:9270: checking if clang supports -c -o file.o
# configure:9317: result: yes
# configure:9350: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10613: result: yes
# configure:10650: checking whether -lc should be explicitly linked in
# configure:10658: clang -c conftest.c >&5
# configure:10661: $? = 0
# configure:10676: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10679: $? = 0
# configure:10693: result: no
# configure:10853: checking dynamic linker characteristics
# configure:11434: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11434: $? = 0
# configure:11683: result: GNU/Linux ld.so
# configure:11805: checking how to hardcode library paths into programs
# configure:11830: result: immediate
# configure:12378: checking whether stripping libraries is possible
# configure:12383: result: yes
# configure:12418: checking if libtool supports shared libraries
# configure:12420: result: yes
# configure:12423: checking whether to build shared libraries
# configure:12448: result: yes
# configure:12451: checking whether to build static libraries
# configure:12455: result: yes
# configure:12507: checking for x86_64-unknown-linux-gcc
# configure:12534: result: clang
# configure:12803: checking for C compiler version
# configure:12812: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:12823: $? = 0
# configure:12812: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:12823: $? = 0
# configure:12812: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:12823: $? = 1
# configure:12812: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:12823: $? = 1
# configure:12827: checking whether we are using the GNU C compiler
# configure:12855: result: yes
# configure:12864: checking whether clang accepts -g
# configure:12925: result: yes
# configure:12942: checking for clang option to accept ISO C89
# configure:13018: result: none needed
# configure:13043: checking whether clang understands -c and -o together
# configure:13080: result: yes
# configure:13099: checking dependency style of clang
# configure:13210: result: gcc3
# configure:13225: checking for clang option to accept ISO C99
# configure:13374: clang -c conftest.c >&5
# configure:13374: $? = 0
# configure:13387: result: none needed
# configure:13409: checking whether byte ordering is bigendian
# configure:13424: clang -c conftest.c >&5
# conftest.c:26:9: error: unknown type name 'not'
# not a universal capable compiler
# ^
# conftest.c:26:14: error: expected ';' after top level declarator
# not a universal capable compiler
# ^
# ;
# 2 errors generated.
# configure:13424: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | #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. */
# | #ifndef __APPLE_CC__
# | not a universal capable compiler
# | #endif
# | typedef int dummy;
# |
# configure:13469: clang -c conftest.c >&5
# configure:13469: $? = 0
# configure:13487: clang -c conftest.c >&5
# conftest.c:32:4: error: use of undeclared identifier 'not'
# not big endian
# ^
# 1 error generated.
# configure:13487: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | #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. */
# | #include
# | #include
# |
# | int
# | main ()
# | {
# | #if BYTE_ORDER != BIG_ENDIAN
# | not big endian
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:13615: result: no
# configure:13637: checking for stdlib.h
# configure:13637: result: yes
# configure:13647: checking for GNU libc compatible malloc
# configure:13681: result: no
# configure:13705: checking for strtok_r
# configure:13705: clang -o conftest conftest.c >&5
# configure:13705: $? = 0
# configure:13705: result: yes
# configure:13705: checking for asprintf
# configure:13705: clang -o conftest conftest.c >&5
# conftest.c:63:18: warning: format string missing [-Wformat]
# return asprintf ();
# ~~~~~~~~ ^
# 1 warning generated.
# configure:13705: $? = 0
# configure:13705: result: yes
# configure:13758: checking for library containing sqlite3_open
# configure:13789: clang -o conftest conftest.c >&5
# /tmp/conftest-8e58b3.o:conftest.c:function main: error: undefined reference to 'sqlite3_open'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13789: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | #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/"
# | #define HAVE_STDLIB_H 1
# | #define HAVE_MALLOC 0
# | #define malloc rpl_malloc
# | #define HAVE_STRTOK_R 1
# | #define HAVE_ASPRINTF 1
# | #define WITH_SQLITE3 1
# | /* 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 sqlite3_open ();
# | int
# | main ()
# | {
# | return sqlite3_open ();
# | ;
# | return 0;
# | }
# configure:13789: clang -o conftest conftest.c -lsqlite3 >&5
# /sysroot/bin/ld: error: cannot find -lsqlite3
# /tmp/conftest-4648ca.o:conftest.c:function main: error: undefined reference to 'sqlite3_open'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13789: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libchewing"
# | #define PACKAGE_TARNAME "libchewing"
# | #define PACKAGE_VERSION "0.5.1"
# | #define PACKAGE_STRING "libchewing 0.5.1"
# | #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# | #define PACKAGE_URL ""
# | #define LIBCHEWING_BINARY_VERSION "1.0.0"
# | #define LIBCHEWING_VERSION "0.5.1"
# | #define PACKAGE "libchewing"
# | #define VERSION "0.5.1"
# | #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/"
# | #define HAVE_STDLIB_H 1
# | #define HAVE_MALLOC 0
# | #define malloc rpl_malloc
# | #define HAVE_STRTOK_R 1
# | #define HAVE_ASPRINTF 1
# | #define WITH_SQLITE3 1
# | /* 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 sqlite3_open ();
# | int
# | main ()
# | {
# | return sqlite3_open ();
# | ;
# | return 0;
# | }
# configure:13806: result: no
# configure:13815: error: unable to find the sqlite3() function
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-pc-linux-gnu
# ac_cv_c_bigendian=no
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# 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_CURSES_LIB_set=
# ac_cv_env_CURSES_LIB_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_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_asprintf=yes
# ac_cv_func_malloc_0_nonnull=no
# ac_cv_func_strtok_r=yes
# 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=x86_64-unknown-linux-gnu
# 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_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_DUMPBIN='link -dump'
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_search_sqlite3_open=no
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=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/bin/ld
# lt_cv_path_NM=no
# 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=yes
# lt_cv_prog_compiler_static_works=no
# 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][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# 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
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_CFLAGS=''
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_LDFLAGS=''
# AM_V='$(V)'
# AR='ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CC_FOR_BUILD=''
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CURSES_LIB=''
# CYGPATH_W='echo'
# DEFAULT_CPPFLAGS=''
# DEFS=''
# DEPDIR='.deps'
# DLLTOOL='false'
# DSYMUTIL=''
# DUMPBIN=':'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# ENABLE_TEXT_UI_FALSE=''
# ENABLE_TEXT_UI_TRUE=''
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBCHEWING_BINARY_VERSION='1.0.0'
# LIBCHEWING_MAJOR='3'
# LIBCHEWING_MINOR='3'
# LIBCHEWING_REVISION='1'
# LIBOBJS=' malloc.o'
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAKEINFO='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='nm'
# NMEDIT=''
# NO_UNDEFINED_LDFLAGS=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='libchewing'
# PACKAGE_BUGREPORT='chewing-devel@googlegroups.com'
# PACKAGE_NAME='libchewing'
# PACKAGE_STRING='libchewing 0.5.1'
# PACKAGE_TARNAME='libchewing'
# PACKAGE_URL=''
# PACKAGE_VERSION='0.5.1'
# PATH_SEPARATOR=':'
# PTHREAD_CC=''
# PTHREAD_CFLAGS=''
# PTHREAD_LIBS=''
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='0.5.1'
# WITH_INTERNAL_SQLITE3_FALSE=''
# WITH_INTERNAL_SQLITE3_TRUE='#'
# WITH_SQLITE3_FALSE='#'
# WITH_SQLITE3_TRUE=''
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_DUMPBIN='link -dump'
# 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 -'
# ax_pthread_config=''
# bindir='${exec_prefix}/bin'
# build='x86_64-pc-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='pc'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/libchewing/src/libchewing-0.5.1/build-aux/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 "libchewing"
# #define PACKAGE_TARNAME "libchewing"
# #define PACKAGE_VERSION "0.5.1"
# #define PACKAGE_STRING "libchewing 0.5.1"
# #define PACKAGE_BUGREPORT "chewing-devel@googlegroups.com"
# #define PACKAGE_URL ""
# #define LIBCHEWING_BINARY_VERSION "1.0.0"
# #define LIBCHEWING_VERSION "0.5.1"
# #define PACKAGE "libchewing"
# #define VERSION "0.5.1"
# #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/"
# #define HAVE_STDLIB_H 1
# #define HAVE_MALLOC 0
# #define malloc rpl_malloc
# #define HAVE_STRTOK_R 1
# #define HAVE_ASPRINTF 1
# #define WITH_SQLITE3 1
#
# configure: exit 1