Build of pkgfile with android toolchain

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

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

SLOCLanguage
1,648 ansic
1,356 sh
3,004 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: pkgfile 15-1 (Tue Apr 4 22:23:34 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking 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 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 special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... unknown
# checking for _LARGE_FILES value needed for large files... unknown
# checking for arm-linux-androideabi-gcc option to accept ISO C99... -std=gnu99
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for pod2man... no
# checking whether build environment is sane... yes
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for style of include used by make... GNU
# checking whether make supports nested variables... yes
# checking how to create a pax tar archive... gnutar
# checking dependency style of arm-linux-androideabi-gcc -std=gnu99... gcc3
# checking whether make supports nested variables... (cached) yes
# checking for arm-linux-androideabi-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# configure: WARNING: using cross tools not prefixed with host triplet
# checking pkg-config is at least version 0.9.0... yes
# checking for PCRE... yes
# checking for ARCHIVE... yes
# checking for CURL... yes
# checking whether to use git version if available... checking for git... git
# checking for .git/... configure: error: cannot check for file existence when cross compiling
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/pkgfile/src/pkgfile-15/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 pkgfile configure 15, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --with-systemdsystemunitdir=/usr/lib/systemd/system
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 782f4f31e9e3
# 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:2254: checking for arm-linux-androideabi-gcc
# configure:2281: result: arm-linux-androideabi-gcc
# configure:2550: checking for C compiler version
# configure:2559: 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:2570: $? = 0
# configure:2559: 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:2570: $? = 0
# configure:2559: 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:2570: $? = 1
# configure:2559: 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:2570: $? = 1
# configure:2590: checking whether the C compiler works
# configure:2612: arm-linux-androideabi-gcc conftest.c >&5
# configure:2616: $? = 0
# configure:2664: result: yes
# configure:2667: checking for C compiler default output file name
# configure:2669: result: a.out
# configure:2675: checking for suffix of executables
# configure:2682: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2686: $? = 0
# configure:2708: result:
# configure:2730: checking whether we are cross compiling
# configure:2768: result: yes
# configure:2773: checking for suffix of object files
# configure:2795: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2799: $? = 0
# configure:2820: result: o
# configure:2824: checking whether we are using the GNU C compiler
# configure:2843: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2843: $? = 0
# configure:2852: result: yes
# configure:2861: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2881: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2881: $? = 0
# configure:2922: result: yes
# configure:2939: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3002: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3002: $? = 0
# configure:3015: result: none needed
# configure:3040: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:3062: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3065: $? = 0
# configure:3062: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3065: $? = 0
# configure:3077: result: yes
# configure:3100: checking how to run the C preprocessor
# configure:3131: arm-linux-androideabi-gcc -E conftest.c
# configure:3131: $? = 0
# configure:3145: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3145: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3170: result: arm-linux-androideabi-gcc -E
# configure:3190: arm-linux-androideabi-gcc -E conftest.c
# configure:3190: $? = 0
# configure:3204: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3204: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3233: checking for grep that handles long lines and -e
# configure:3291: result: /usr/sbin/grep
# configure:3296: checking for egrep
# configure:3358: result: /usr/sbin/grep -E
# configure:3363: checking for ANSI C header files
# configure:3383: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3383: $? = 0
# configure:3467: result: yes
# configure:3480: checking for sys/types.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for sys/stat.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for stdlib.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for string.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for memory.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for strings.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for inttypes.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for stdint.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3480: checking for unistd.h
# configure:3480: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3480: $? = 0
# configure:3480: result: yes
# configure:3493: checking minix/config.h usability
# configure:3493: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:52:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3493: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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:3493: result: no
# configure:3493: checking minix/config.h presence
# configure:3493: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:19:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3493: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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:3493: result: no
# configure:3493: checking for minix/config.h
# configure:3493: result: no
# configure:3514: checking whether it is safe to define __EXTENSIONS__
# configure:3532: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3532: $? = 0
# configure:3539: result: yes
# configure:3560: checking for special C compiler options needed for large files
# configure:3605: result: no
# configure:3611: checking for _FILE_OFFSET_BITS value needed for large files
# configure:3636: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:30:3: warning: left shift count >= width of type [enabled by default]
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# conftest.c:30:3: warning: left shift count >= width of type [enabled by default]
# conftest.c:31:10: warning: left shift count >= width of type [enabled by default]
# && LARGE_OFF_T % 2147483647 == 1)
# ^
# conftest.c:31:10: warning: left shift count >= width of type [enabled by default]
# conftest.c:30:7: error: variably modified 'off_t_is_large' at file scope
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# configure:3636: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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
# | /* Check that off_t can represent 2**63 - 1 correctly.
# | We can't simply define LARGE_OFF_T to be 9223372036854775807,
# | since some C++ compilers masquerading as C compilers
# | incorrectly reject 9223372036854775807. */
# | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
# | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# | && LARGE_OFF_T % 2147483647 == 1)
# | ? 1 : -1];
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:3660: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:31:3: warning: left shift count >= width of type [enabled by default]
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# conftest.c:31:3: warning: left shift count >= width of type [enabled by default]
# conftest.c:32:10: warning: left shift count >= width of type [enabled by default]
# && LARGE_OFF_T % 2147483647 == 1)
# ^
# conftest.c:32:10: warning: left shift count >= width of type [enabled by default]
# conftest.c:31:7: error: variably modified 'off_t_is_large' at file scope
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# configure:3660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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. */
# | #define _FILE_OFFSET_BITS 64
# | #include
# | /* Check that off_t can represent 2**63 - 1 correctly.
# | We can't simply define LARGE_OFF_T to be 9223372036854775807,
# | since some C++ compilers masquerading as C compilers
# | incorrectly reject 9223372036854775807. */
# | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
# | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# | && LARGE_OFF_T % 2147483647 == 1)
# | ? 1 : -1];
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:3668: result: unknown
# configure:3680: checking for _LARGE_FILES value needed for large files
# configure:3705: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:30:3: warning: left shift count >= width of type [enabled by default]
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# conftest.c:30:3: warning: left shift count >= width of type [enabled by default]
# conftest.c:31:10: warning: left shift count >= width of type [enabled by default]
# && LARGE_OFF_T % 2147483647 == 1)
# ^
# conftest.c:31:10: warning: left shift count >= width of type [enabled by default]
# conftest.c:30:7: error: variably modified 'off_t_is_large' at file scope
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# configure:3705: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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
# | /* Check that off_t can represent 2**63 - 1 correctly.
# | We can't simply define LARGE_OFF_T to be 9223372036854775807,
# | since some C++ compilers masquerading as C compilers
# | incorrectly reject 9223372036854775807. */
# | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
# | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# | && LARGE_OFF_T % 2147483647 == 1)
# | ? 1 : -1];
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:3729: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:31:3: warning: left shift count >= width of type [enabled by default]
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# conftest.c:31:3: warning: left shift count >= width of type [enabled by default]
# conftest.c:32:10: warning: left shift count >= width of type [enabled by default]
# && LARGE_OFF_T % 2147483647 == 1)
# ^
# conftest.c:32:10: warning: left shift count >= width of type [enabled by default]
# conftest.c:31:7: error: variably modified 'off_t_is_large' at file scope
# int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# ^
# configure:3729: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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. */
# | #define _LARGE_FILES 1
# | #include
# | /* Check that off_t can represent 2**63 - 1 correctly.
# | We can't simply define LARGE_OFF_T to be 9223372036854775807,
# | since some C++ compilers masquerading as C compilers
# | incorrectly reject 9223372036854775807. */
# | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
# | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
# | && LARGE_OFF_T % 2147483647 == 1)
# | ? 1 : -1];
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:3737: result: unknown
# configure:3753: checking for arm-linux-androideabi-gcc option to accept ISO C99
# configure:3902: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:74:29: error: expected ';', ',' or ')' before 'text'
# test_restrict (ccp restrict text)
# ^
# conftest.c: In function 'main':
# conftest.c:128:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
# char *restrict newvar = "Another string";
# ^
# conftest.c:128:18: error: 'newvar' undeclared (first use in this function)
# conftest.c:128:18: note: each undeclared identifier is reported only once for each function it appears in
# conftest.c:138:3: error: 'for' loop initial declarations are only allowed in C99 mode
# for (int i = 0; i < ia->datasize; ++i)
# ^
# conftest.c:138:3: note: use option -std=c99 or -std=gnu99 to compile your code
# configure:3902: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "pkgfile"
# | #define PACKAGE_TARNAME "pkgfile"
# | #define PACKAGE_VERSION "15"
# | #define PACKAGE_STRING "pkgfile 15"
# | #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# | #define PACKAGE_URL ""
# | #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:3902: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
# configure:3902: $? = 0
# configure:3922: result: -std=gnu99
# configure:3944: checking for a BSD-compatible install
# configure:4012: result: /usr/bin/install -c
# configure:4023: checking for a sed that does not truncate output
# configure:4087: result: /usr/sbin/sed
# configure:4092: checking for a thread-safe mkdir -p
# configure:4131: result: /usr/sbin/mkdir -p
# configure:4138: checking for pod2man
# configure:4168: result: no
# configure:4179: checking whether build environment is sane
# configure:4234: result: yes
# configure:4290: checking for arm-linux-androideabi-strip
# configure:4306: found /sysroot/bin/arm-linux-androideabi-strip
# configure:4317: result: arm-linux-androideabi-strip
# configure:4386: checking for gawk
# configure:4402: found /usr/sbin/gawk
# configure:4413: result: gawk
# configure:4424: checking whether make sets $(MAKE)
# configure:4446: result: yes
# configure:4476: checking for style of include used by make
# configure:4504: result: GNU
# configure:4538: checking whether make supports nested variables
# configure:4555: result: yes
# configure:4634: checking how to create a pax tar archive
# configure:4645: tar --version
# tar (GNU tar) 1.29
# Copyright (C) 2015 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later .
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
#
# Written by John Gilmore and Jay Fenlason.
# configure:4648: $? = 0
# configure:4688: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
# configure:4691: $? = 0
# configure:4695: tar -xf -
# configure:4698: $? = 0
# configure:4700: cat conftest.dir/file
# GrepMe
# configure:4703: $? = 0
# configure:4716: result: gnutar
# configure:4725: checking dependency style of arm-linux-androideabi-gcc -std=gnu99
# configure:4836: result: gcc3
# configure:4904: checking whether make supports nested variables
# configure:4921: result: yes
# configure:4944: checking for arm-linux-androideabi-pkg-config
# configure:4977: result: no
# configure:4987: checking for pkg-config
# configure:5005: found /usr/sbin/pkg-config
# configure:5017: result: /usr/sbin/pkg-config
# configure:5029: WARNING: using cross tools not prefixed with host triplet
# configure:5042: checking pkg-config is at least version 0.9.0
# configure:5045: result: yes
# configure:5055: checking for PCRE
# configure:5062: $PKG_CONFIG --exists --print-errors " libpcre "
# configure:5065: $? = 0
# configure:5079: $PKG_CONFIG --exists --print-errors " libpcre "
# configure:5082: $? = 0
# configure:5140: result: yes
# configure:5146: checking for ARCHIVE
# configure:5153: $PKG_CONFIG --exists --print-errors " libarchive >= 3.0.0 "
# configure:5156: $? = 0
# configure:5170: $PKG_CONFIG --exists --print-errors " libarchive >= 3.0.0 "
# configure:5173: $? = 0
# configure:5231: result: yes
# configure:5237: checking for CURL
# configure:5244: $PKG_CONFIG --exists --print-errors " libcurl >= 7.28.0 "
# configure:5247: $? = 0
# configure:5261: $PKG_CONFIG --exists --print-errors " libcurl >= 7.28.0 "
# configure:5264: $? = 0
# configure:5322: result: yes
# configure:5395: checking whether to use git version if available
# configure:5402: checking for git
# configure:5418: found /usr/sbin/git
# configure:5429: result: git
# configure:5440: checking for .git/
# configure:5446: error: cannot check for file existence when cross compiling
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_ARCHIVE_CFLAGS_set=
# ac_cv_env_ARCHIVE_CFLAGS_value=
# ac_cv_env_ARCHIVE_LIBS_set=
# ac_cv_env_ARCHIVE_LIBS_value=
# 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_CURL_CFLAGS_set=
# ac_cv_env_CURL_CFLAGS_value=
# ac_cv_env_CURL_LIBS_set=
# ac_cv_env_CURL_LIBS_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_PCRE_CFLAGS_set=
# ac_cv_env_PCRE_CFLAGS_value=
# ac_cv_env_PCRE_LIBS_set=
# ac_cv_env_PCRE_LIBS_value=
# ac_cv_env_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_TCMALLOC_CFLAGS_set=
# ac_cv_env_TCMALLOC_CFLAGS_value=
# ac_cv_env_TCMALLOC_LIBS_set=
# ac_cv_env_TCMALLOC_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_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_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_GIT=git
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_c99=-std=gnu99
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_safe_to_define___extensions__=yes
# ac_cv_sys_file_offset_bits=unknown
# ac_cv_sys_large_files=unknown
# ac_cv_sys_largefile_CC=no
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# am_cv_prog_tar_pax=gnutar
# pkg_cv_ARCHIVE_CFLAGS=
# pkg_cv_ARCHIVE_LIBS=-larchive
# pkg_cv_CURL_CFLAGS=
# pkg_cv_CURL_LIBS=-lcurl
# pkg_cv_PCRE_CFLAGS=
# pkg_cv_PCRE_LIBS=-lpcre
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/pkgfile/src/pkgfile-15/build-aux/missing aclocal-1.14'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# ARCHIVE_CFLAGS=''
# ARCHIVE_LIBS='-larchive'
# AUTOCONF='${SHELL} /tmp/pkgfile/src/pkgfile-15/build-aux/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/pkgfile/src/pkgfile-15/build-aux/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/pkgfile/src/pkgfile-15/build-aux/missing automake-1.14'
# AWK='gawk'
# CACHEPATH='/var/cache/pkgfile'
# CC='arm-linux-androideabi-gcc -std=gnu99'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# CURL_CFLAGS=''
# CURL_LIBS='-lcurl'
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GCLDFLAGS=''
# GIT='git'
# GREP='/usr/sbin/grep'
# HAVE_SYSTEMD_FALSE='#'
# HAVE_SYSTEMD_TRUE=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/pkgfile/src/pkgfile-15/build-aux/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='pkgfile'
# PACKAGE_BUGREPORT='dreisner@archlinux.org'
# PACKAGE_NAME='pkgfile'
# PACKAGE_STRING='pkgfile 15'
# PACKAGE_TARNAME='pkgfile'
# PACKAGE_URL=''
# PACKAGE_VERSION='15'
# PATH_SEPARATOR=':'
# PCRE_CFLAGS=''
# PCRE_LIBS='-lpcre'
# PKG_CONFIG='/usr/sbin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# POD2MAN=''
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# TCMALLOC_CFLAGS=''
# TCMALLOC_LIBS=''
# USE_GIT_VERSION_FALSE=''
# USE_GIT_VERSION_TRUE=''
# VERSION='15'
# WARNINGFLAGS=''
# 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 --format=posix -chf - "$$tardir"'
# am__untar='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'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/pkgfile/src/pkgfile-15/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='NONE'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# systemdsystemunitdir='/usr/lib/systemd/system'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "pkgfile"
# #define PACKAGE_TARNAME "pkgfile"
# #define PACKAGE_VERSION "15"
# #define PACKAGE_STRING "pkgfile 15"
# #define PACKAGE_BUGREPORT "dreisner@archlinux.org"
# #define PACKAGE_URL ""
# #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
# #define PACKAGE "pkgfile"
# #define VERSION "15"
# #define CACHEPATH "/var/cache/pkgfile"
#
# configure: exit 1