Build of libgit2 with android toolchain

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

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

SLOCLanguage
153,573 ansic
288 sh
175 python
65 php
31 makefile
154,132 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: libgit2 1:0.24.1-1 (Tue Apr 4 22:23:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# -- The C compiler identification is GNU 4.8.0
# -- Check for working C compiler: /sysroot/bin/arm-linux-androideabi-gcc
# -- Check for working C compiler: /sysroot/bin/arm-linux-androideabi-gcc -- works
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Found PkgConfig: /usr/sbin/pkg-config (found version "0.29.1")
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIM
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Failed
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Failed
# -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC
# -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Success
# -- Checking for module 'libcurl'
# -- Found libcurl, version 7.49.1
# -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found version "1.0.2h")
# -- Could NOT find HTTP_Parser (missing: HTTP_PARSER_INCLUDE_DIR HTTP_PARSER_LIBRARY)
# -- http-parser was not found or is too old; using bundled 3rd-party sources.
# -- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
# -- Checking for module 'libssh2'
# -- Found libssh2, version 1.7.0
# -- Looking for libssh2_userauth_publickey_frommemory in ssh2
# -- Looking for libssh2_userauth_publickey_frommemory in ssh2 - not found
# -- Performing Test IS_FVISIBILITY=HIDDEN_SUPPORTED
# -- Performing Test IS_FVISIBILITY=HIDDEN_SUPPORTED - Success
# -- Performing Test IS_WDOCUMENTATION_SUPPORTED
# -- Performing Test IS_WDOCUMENTATION_SUPPORTED - Failed
# -- Performing Test IS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED
# -- Performing Test IS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED - Success
# -- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED
# -- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED - Success
# -- Performing Test IS_WSTRICT-PROTOTYPES_SUPPORTED
# -- Performing Test IS_WSTRICT-PROTOTYPES_SUPPORTED - Success
# -- Performing Test IS_WDECLARATION-AFTER-STATEMENT_SUPPORTED
# -- Performing Test IS_WDECLARATION-AFTER-STATEMENT_SUPPORTED - Success
# -- Performing Test IS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED
# -- Performing Test IS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED - Failed
# -- Performing Test IS_WNO-UNUSED-FUNCTION_SUPPORTED
# -- Performing Test IS_WNO-UNUSED-FUNCTION_SUPPORTED - Success
# -- Looking for futimens
# -- Looking for futimens - found
# -- Looking for qsort_r
# -- Looking for qsort_r - not found
# -- Looking for qsort_s
# -- Looking for qsort_s - not found
# -- Looking for pthread.h
# -- Looking for pthread.h - found
# -- Looking for pthread_create
# -- Looking for pthread_create - found
# -- Found Threads: TRUE
# -- Looking for clock_gettime in rt
# -- Looking for clock_gettime in rt - not found
# -- Found PythonInterp: /sysroot/bin/python (found version "2.7.5")
# -- Configuring done
# -- Generating done
# -- Build files have been written to: /tmp/libgit2/src/libgit2-0.24.1
# [ 1%] Generating tests/clar.suite
# Scanning dependencies of target git2
# [ 1%] Building C object CMakeFiles/git2.dir/src/attr_file.c.o
# [ 1%] Building C object CMakeFiles/git2.dir/src/path.c.o
# [ 1%] Building C object CMakeFiles/git2.dir/src/annotated_commit.c.o
# In file included from /tmp/libgit2/src/libgit2-0.24.1/src/hash.h:22:0,
# from /tmp/libgit2/src/libgit2-0.24.1/src/filebuf.h:11,
# from /tmp/libgit2/src/libgit2-0.24.1/src/attr_file.c:3:
# /tmp/libgit2/src/libgit2-0.24.1/src/hash/hash_openssl.h:13:25: fatal error: openssl/sha.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [CMakeFiles/git2.dir/build.make:63: CMakeFiles/git2.dir/src/attr_file.c.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# Written `clar.suite` (2131 tests in 308 suites)
# make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/git2.dir/all] Error 2
# make[1]: *** Waiting for unfinished jobs....
# Scanning dependencies of target libgit2_clar
# [ 1%] Building C object CMakeFiles/libgit2_clar.dir/src/annotated_commit.c.o
# [ 1%] Building C object CMakeFiles/libgit2_clar.dir/src/reflog.c.o
# [ 1%] Building C object CMakeFiles/libgit2_clar.dir/src/attr_file.c.o
# [ 1%] Building C object CMakeFiles/libgit2_clar.dir/src/path.c.o
# In file included from /tmp/libgit2/src/libgit2-0.24.1/src/hash.h:22:0,
# from /tmp/libgit2/src/libgit2-0.24.1/src/filebuf.h:11,
# from /tmp/libgit2/src/libgit2-0.24.1/src/attr_file.c:3:
# /tmp/libgit2/src/libgit2-0.24.1/src/hash/hash_openssl.h:13:25: fatal error: openssl/sha.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [CMakeFiles/libgit2_clar.dir/build.make:421: CMakeFiles/libgit2_clar.dir/src/attr_file.c.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# In file included from /tmp/libgit2/src/libgit2-0.24.1/src/hash.h:22:0,
# from /tmp/libgit2/src/libgit2-0.24.1/src/filebuf.h:11,
# from /tmp/libgit2/src/libgit2-0.24.1/src/reflog.c:10:
# /tmp/libgit2/src/libgit2-0.24.1/src/hash/hash_openssl.h:13:25: fatal error: openssl/sha.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [CMakeFiles/libgit2_clar.dir/build.make:493: CMakeFiles/libgit2_clar.dir/src/reflog.c.o] Error 1
# make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/libgit2_clar.dir/all] Error 2
# make: *** [Makefile:139: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing Cmake errors

CMD: Cmake errors '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeError.log'
# Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIM failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b66ab/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b66ab.dir/build.make CMakeFiles/cmTC_b66ab.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b66ab.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DHAVE_STRUCT_STAT_ST_MTIM -o CMakeFiles/cmTC_b66ab.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c: In function 'main':
# /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c:7:35: error: 'struct stat' has no member named 'st_mtim'
# (void)sizeof(((struct stat *)0)->st_mtim);
# ^
# make[1]: *** [CMakeFiles/cmTC_b66ab.dir/build.make:66: CMakeFiles/cmTC_b66ab.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_b66ab/fast] Error 2
#
# Source file was:
#
# #include
# #include
#
# int main()
# {
# (void)sizeof(((struct stat *)0)->st_mtim);
# return 0;
# }
#
# Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIMESPEC failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_9ec39/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_9ec39.dir/build.make CMakeFiles/cmTC_9ec39.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_9ec39.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DHAVE_STRUCT_STAT_ST_MTIMESPEC -o CMakeFiles/cmTC_9ec39.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c: In function 'main':
# /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c:7:35: error: 'struct stat' has no member named 'st_mtimespec'
# (void)sizeof(((struct stat *)0)->st_mtimespec);
# ^
# make[1]: *** [CMakeFiles/cmTC_9ec39.dir/build.make:66: CMakeFiles/cmTC_9ec39.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_9ec39/fast] Error 2
#
# Source file was:
#
# #include
# #include
#
# int main()
# {
# (void)sizeof(((struct stat *)0)->st_mtimespec);
# return 0;
# }
#
# Determining if the function libssh2_userauth_publickey_frommemory exists in the ssh2 failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4dbee/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4dbee.dir/build.make CMakeFiles/cmTC_4dbee.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4dbee.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=libssh2_userauth_publickey_frommemory -o CMakeFiles/cmTC_4dbee.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_4dbee
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4dbee.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=libssh2_userauth_publickey_frommemory CMakeFiles/cmTC_4dbee.dir/CheckFunctionExists.c.o -o cmTC_4dbee -rdynamic -lssh2
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lssh2
# CMakeFiles/cmTC_4dbee.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'libssh2_userauth_publickey_frommemory'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_4dbee.dir/build.make:98: cmTC_4dbee] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_4dbee/fast] Error 2
#
#
# Performing C SOURCE FILE Test IS_WDOCUMENTATION_SUPPORTED failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_f2a6e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_f2a6e.dir/build.make CMakeFiles/cmTC_f2a6e.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_f2a6e.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -DIS_WDOCUMENTATION_SUPPORTED -Wdocumentation -o CMakeFiles/cmTC_f2a6e.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# arm-linux-androideabi-gcc: error: unrecognized command line option '-Wdocumentation'
# make[1]: *** [CMakeFiles/cmTC_f2a6e.dir/build.make:66: CMakeFiles/cmTC_f2a6e.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_f2a6e/fast] Error 2
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4ef88/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4ef88.dir/build.make CMakeFiles/cmTC_4ef88.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4ef88.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -DIS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED -Wno-unused-const-variable -o CMakeFiles/cmTC_4ef88.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:7: warning: missing whitespace after the macro name [enabled by default]
# cc1: warning: unrecognized command line option "-Wno-unused-const-variable" [enabled by default]
# Linking C executable cmTC_4ef88
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4ef88.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -DIS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED CMakeFiles/cmTC_4ef88.dir/src.c.o -o cmTC_4ef88 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Determining if the function qsort_r exists failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_55659/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_55659.dir/build.make CMakeFiles/cmTC_55659.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_55659.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=qsort_r -o CMakeFiles/cmTC_55659.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
# char CHECK_FUNCTION_EXISTS();
# ^
# Linking C executable cmTC_55659
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55659.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=qsort_r CMakeFiles/cmTC_55659.dir/CheckFunctionExists.c.o -o cmTC_55659 -rdynamic
# CMakeFiles/cmTC_55659.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'qsort_r'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_55659.dir/build.make:98: cmTC_55659] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_55659/fast] Error 2
#
#
# Determining if the function qsort_s exists failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_db0bd/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_db0bd.dir/build.make CMakeFiles/cmTC_db0bd.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_db0bd.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=qsort_s -o CMakeFiles/cmTC_db0bd.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
# char CHECK_FUNCTION_EXISTS();
# ^
# Linking C executable cmTC_db0bd
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_db0bd.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=qsort_s CMakeFiles/cmTC_db0bd.dir/CheckFunctionExists.c.o -o cmTC_db0bd -rdynamic
# CMakeFiles/cmTC_db0bd.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'qsort_s'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_db0bd.dir/build.make:98: cmTC_db0bd] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_db0bd/fast] Error 2
#
#
# Determining if the function clock_gettime exists in the rt failed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_fb47a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_fb47a.dir/build.make CMakeFiles/cmTC_fb47a.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_fb47a.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTC_fb47a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
# char CHECK_FUNCTION_EXISTS();
# ^
# Linking C executable cmTC_fb47a
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb47a.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=clock_gettime CMakeFiles/cmTC_fb47a.dir/CheckFunctionExists.c.o -o cmTC_fb47a -L/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/time.h -rdynamic -lrt -Wl,-rpath,/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/time.h
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_fb47a.dir/build.make:98: cmTC_fb47a] Error 1
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_fb47a/fast] Error 2
#
#

Printing Cmake output

CMD: Cmake output '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeOutput.log'
# The system is: Linux - 4.10.6-1-ARCH - x86_64
# Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
# Compiler: /sysroot/bin/arm-linux-androideabi-gcc
# Build flags:
# Id flags:
#
# The output was:
# 0
#
#
# Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
#
# The C compiler identification is GNU, found in "/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_775e6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_775e6.dir/build.make CMakeFiles/cmTC_775e6.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_775e6.dir/testCCompiler.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_775e6.dir/testCCompiler.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_775e6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_775e6.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_775e6.dir/testCCompiler.c.o -o cmTC_775e6 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_88bb7/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_88bb7.dir/build.make CMakeFiles/cmTC_88bb7.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_88bb7
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88bb7.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -v CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -o cmTC_88bb7 -rdynamic
# Using built-in specs.
# COLLECT_GCC=/sysroot/bin/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)
# COMPILER_PATH=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../libexec/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/
# LIBRARY_PATH=/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../lib/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/:/sysroot/bin/../sysroot/usr/lib/
# COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_88bb7' '-rdynamic' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp' '-mtls-dialect=gnu'
# /sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2 --sysroot=/sysroot/bin/../sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /system/bin/linker -X -m armelf_linux_eabi -z noexecstack -z relro -z now -o cmTC_88bb7 /sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8 -L/sysroot/bin/../lib/gcc -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib -L/sysroot/bin/../sysroot/usr/lib CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -lgcc -lc -ldl -lgcc /sysroot/bin/../sysroot/usr/lib/crtend_android.o
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/sbin/make" "cmTC_88bb7/fast"]
# ignore line: [/usr/sbin/make -f CMakeFiles/cmTC_88bb7.dir/build.make CMakeFiles/cmTC_88bb7.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_88bb7]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88bb7.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/arm-linux-androideabi-gcc -v CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -o cmTC_88bb7 -rdynamic ]
# ignore line: [Using built-in specs.]
# ignore line: [COLLECT_GCC=/sysroot/bin/arm-linux-androideabi-gcc]
# ignore line: [COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper]
# ignore line: [Target: arm-linux-androideabi]
# ignore line: [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]
# ignore line: [Thread model: posix]
# ignore line: [gcc version 4.8 (GCC) ]
# ignore line: [COMPILER_PATH=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../libexec/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/]
# ignore line: [LIBRARY_PATH=/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../lib/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/:/sysroot/bin/../sysroot/usr/lib/]
# ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_88bb7' '-rdynamic' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp' '-mtls-dialect=gnu']
# link line: [ /sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2 --sysroot=/sysroot/bin/../sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /system/bin/linker -X -m armelf_linux_eabi -z noexecstack -z relro -z now -o cmTC_88bb7 /sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8 -L/sysroot/bin/../lib/gcc -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib -L/sysroot/bin/../sysroot/usr/lib CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o -lgcc -lc -ldl -lgcc /sysroot/bin/../sysroot/usr/lib/crtend_android.o]
# arg [/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2] ==> ignore
# arg [--sysroot=/sysroot/bin/../sysroot] ==> ignore
# arg [--eh-frame-hdr] ==> ignore
# arg [-export-dynamic] ==> ignore
# arg [-dynamic-linker] ==> ignore
# arg [/system/bin/linker] ==> ignore
# arg [-X] ==> ignore
# arg [-m] ==> ignore
# arg [armelf_linux_eabi] ==> ignore
# arg [-znoexecstack] ==> ignore
# arg [-zrelro] ==> ignore
# arg [-znow] ==> ignore
# arg [-o] ==> ignore
# arg [cmTC_88bb7] ==> ignore
# arg [/sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o] ==> ignore
# arg [-L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8] ==> dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8]
# arg [-L/sysroot/bin/../lib/gcc] ==> dir [/sysroot/bin/../lib/gcc]
# arg [-L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib] ==> dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib]
# arg [-L/sysroot/bin/../sysroot/usr/lib] ==> dir [/sysroot/bin/../sysroot/usr/lib]
# arg [CMakeFiles/cmTC_88bb7.dir/CMakeCCompilerABI.c.o] ==> ignore
# arg [-lgcc] ==> lib [gcc]
# arg [-lc] ==> lib [c]
# arg [-ldl] ==> lib [dl]
# arg [-lgcc] ==> lib [gcc]
# arg [/sysroot/bin/../sysroot/usr/lib/crtend_android.o] ==> ignore
# remove lib [gcc]
# remove lib [gcc]
# collapse library dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8] ==> [/sysroot/lib/gcc/arm-linux-androideabi/4.8]
# collapse library dir [/sysroot/bin/../lib/gcc] ==> [/sysroot/lib/gcc]
# collapse library dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib] ==> [/sysroot/arm-linux-androideabi/lib]
# collapse library dir [/sysroot/bin/../sysroot/usr/lib] ==> [/sysroot/sysroot/usr/lib]
# implicit libs: [c;dl]
# implicit dirs: [/sysroot/lib/gcc/arm-linux-androideabi/4.8;/sysroot/lib/gcc;/sysroot/arm-linux-androideabi/lib;/sysroot/sysroot/usr/lib]
# implicit fwks: []
#
#
#
#
# Detecting C [-std=c11] compiler features compiled with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_f616e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_f616e.dir/build.make CMakeFiles/cmTC_f616e.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_f616e.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c11 -o CMakeFiles/cmTC_f616e.dir/feature_tests.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/feature_tests.c
# Linking C executable cmTC_f616e
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f616e.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_f616e.dir/feature_tests.c.o -o cmTC_f616e -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:1c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c99] compiler features compiled with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_f6904/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_f6904.dir/build.make CMakeFiles/cmTC_f6904.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_f6904.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c99 -o CMakeFiles/cmTC_f6904.dir/feature_tests.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/feature_tests.c
# Linking C executable cmTC_f6904
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6904.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_f6904.dir/feature_tests.c.o -o cmTC_f6904 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c90] compiler features compiled with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_94154/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_94154.dir/build.make CMakeFiles/cmTC_94154.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_94154.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c90 -o CMakeFiles/cmTC_94154.dir/feature_tests.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/feature_tests.c
# Linking C executable cmTC_94154
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94154.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_94154.dir/feature_tests.c.o -o cmTC_94154 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:0c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:0c_variadic_macros
# Performing C SOURCE FILE Test HAVE_STRUCT_STAT_MTIME_NSEC succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_77d3d/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_77d3d.dir/build.make CMakeFiles/cmTC_77d3d.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_77d3d.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DHAVE_STRUCT_STAT_MTIME_NSEC -o CMakeFiles/cmTC_77d3d.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_77d3d
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77d3d.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DHAVE_STRUCT_STAT_MTIME_NSEC CMakeFiles/cmTC_77d3d.dir/src.c.o -o cmTC_77d3d -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
#
# #include
#
# int main()
# {
# (void)sizeof(((struct stat *)0)->st_mtime_nsec);
# return 0;
# }
#
# Performing C SOURCE FILE Test IS_FVISIBILITY=HIDDEN_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4097a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4097a.dir/build.make CMakeFiles/cmTC_4097a.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4097a.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -DIS_FVISIBILITY=HIDDEN_SUPPORTED -fvisibility=hidden -o CMakeFiles/cmTC_4097a.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_4097a
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4097a.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -DIS_FVISIBILITY=HIDDEN_SUPPORTED CMakeFiles/cmTC_4097a.dir/src.c.o -o cmTC_4097a -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_69d04/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_69d04.dir/build.make CMakeFiles/cmTC_69d04.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_69d04.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -DIS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED -Wno-missing-field-initializers -o CMakeFiles/cmTC_69d04.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:7: warning: missing whitespace after the macro name [enabled by default]
# Linking C executable cmTC_69d04
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69d04.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -DIS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED CMakeFiles/cmTC_69d04.dir/src.c.o -o cmTC_69d04 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WSTRICT-ALIASING=2_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_86d8e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_86d8e.dir/build.make CMakeFiles/cmTC_86d8e.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_86d8e.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -DIS_WSTRICT-ALIASING=2_SUPPORTED -Wstrict-aliasing=2 -o CMakeFiles/cmTC_86d8e.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:11: warning: missing whitespace after the macro name [enabled by default]
# Linking C executable cmTC_86d8e
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_86d8e.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -DIS_WSTRICT-ALIASING=2_SUPPORTED CMakeFiles/cmTC_86d8e.dir/src.c.o -o cmTC_86d8e -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WSTRICT-PROTOTYPES_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_70f14/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_70f14.dir/build.make CMakeFiles/cmTC_70f14.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_70f14.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -DIS_WSTRICT-PROTOTYPES_SUPPORTED -Wstrict-prototypes -o CMakeFiles/cmTC_70f14.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:11: warning: missing whitespace after the macro name [enabled by default]
# Linking C executable cmTC_70f14
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70f14.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -DIS_WSTRICT-PROTOTYPES_SUPPORTED CMakeFiles/cmTC_70f14.dir/src.c.o -o cmTC_70f14 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WDECLARATION-AFTER-STATEMENT_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b714e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b714e.dir/build.make CMakeFiles/cmTC_b714e.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b714e.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -DIS_WDECLARATION-AFTER-STATEMENT_SUPPORTED -Wdeclaration-after-statement -o CMakeFiles/cmTC_b714e.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:16: warning: missing whitespace after the macro name [enabled by default]
# Linking C executable cmTC_b714e
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b714e.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -DIS_WDECLARATION-AFTER-STATEMENT_SUPPORTED CMakeFiles/cmTC_b714e.dir/src.c.o -o cmTC_b714e -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Performing C SOURCE FILE Test IS_WNO-UNUSED-FUNCTION_SUPPORTED succeeded with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4e96a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4e96a.dir/build.make CMakeFiles/cmTC_4e96a.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4e96a.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -DIS_WNO-UNUSED-FUNCTION_SUPPORTED -Wno-unused-function -o CMakeFiles/cmTC_4e96a.dir/src.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/src.c
# :0:7: warning: missing whitespace after the macro name [enabled by default]
# Linking C executable cmTC_4e96a
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e96a.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -DIS_WNO-UNUSED-FUNCTION_SUPPORTED CMakeFiles/cmTC_4e96a.dir/src.c.o -o cmTC_4e96a -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# Source file was:
# int main(void) { return 0; }
# Determining if the function futimens exists passed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b1e1a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b1e1a.dir/build.make CMakeFiles/cmTC_b1e1a.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b1e1a.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=futimens -o CMakeFiles/cmTC_b1e1a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
# char CHECK_FUNCTION_EXISTS();
# ^
# Linking C executable cmTC_b1e1a
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1e1a.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -DCHECK_FUNCTION_EXISTS=futimens CMakeFiles/cmTC_b1e1a.dir/CheckFunctionExists.c.o -o cmTC_b1e1a -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Determining if the include file pthread.h exists passed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_acc6d/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_acc6d.dir/build.make CMakeFiles/cmTC_acc6d.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_acc6d.dir/CheckIncludeFile.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -o CMakeFiles/cmTC_acc6d.dir/CheckIncludeFile.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c
# Linking C executable cmTC_acc6d
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_acc6d.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function CMakeFiles/cmTC_acc6d.dir/CheckIncludeFile.c.o -o cmTC_acc6d -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
#
# Determining if the pthread_create exist passed with the following output:
# Change Dir: /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_41050/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_41050.dir/build.make CMakeFiles/cmTC_41050.dir/build
# make[1]: Entering directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_41050.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -o CMakeFiles/cmTC_41050.dir/CheckSymbolExists.c.o -c /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# Linking C executable cmTC_41050
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_41050.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -D_GNU_SOURCE -Wall -Wextra -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function CMakeFiles/cmTC_41050.dir/CheckSymbolExists.c.o -o cmTC_41050 -rdynamic
# make[1]: Leaving directory '/tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp'
#
# File /tmp/libgit2/src/libgit2-0.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef pthread_create
# return ((int*)(&pthread_create))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#