ropensci / git2r

R bindings to the libgit2 library
https://docs.ropensci.org/git2r
GNU General Public License v2.0
215 stars 58 forks source link

cannot install git2r on macos Sierra through install.packages("git2r") #259

Open surfing1231 opened 8 years ago

surfing1231 commented 8 years ago
 > install.packages("git2r")
Installing package into ‘/Users/xxx/Library/R/3.2/library’
(as ‘lib’ is unspecified)
trying URL 'http://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/git2r_0.15.0.tar.gz'
Content type 'application/octet-stream' length 1084978 bytes (1.0 MB)
==================================================
downloaded 1.0 MB

* installing *source* package ‘git2r’ ...
** package ‘git2r’ successfully unpacked and MD5 sums checked
checking build system type... x86_64-apple-darwin16.0.0
checking host system type... x86_64-apple-darwin16.0.0
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for brew... yes
checking for library containing inflate... -lz
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libssl... yes
checking for library containing EVP_EncryptInit... none required
checking for library containing SSL_library_init... none required
checking for library containing libssh2_version... -lssh2
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... /bin/sh: tools/config.rpath: No such file or directory
done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for curl-config... /Users/xxx/anaconda/bin/curl-config
checking for the version of libcurl... 7.49.0
checking whether libcurl is usable... yes
checking for curl_free... yes
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 size of void*... 8
checking for struct stat.st_atimespec... yes
checking for futimens... no
checking for qsort_r... yes
checking for qsort_s... no
checking if '-Wno-unused-function' is supported... yes

  ----- Results of the git2r package configure -----

    OpenSSL to talk over HTTPS...........: yes
    LibSSH2 to enable the SSH transport..: yes

  --------------------------------------------------

configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r.c -o git2r.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_arg.c -o git2r_arg.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_blame.c -o git2r_blame.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_blob.c -o git2r_blob.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_branch.c -o git2r_branch.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_checkout.c -o git2r_checkout.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_clone.c -o git2r_clone.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_commit.c -o git2r_commit.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_config.c -o git2r_config.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_cred.c -o git2r_cred.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_diff.c -o git2r_diff.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_error.c -o git2r_error.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_graph.c -o git2r_graph.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_index.c -o git2r_index.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_libgit2.c -o git2r_libgit2.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_merge.c -o git2r_merge.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_note.c -o git2r_note.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_object.c -o git2r_object.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_odb.c -o git2r_odb.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_oid.c -o git2r_oid.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_push.c -o git2r_push.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_reference.c -o git2r_reference.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_reflog.c -o git2r_reflog.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_remote.c -o git2r_remote.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_repository.c -o git2r_repository.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_reset.c -o git2r_reset.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_revparse.c -o git2r_revparse.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_revwalk.c -o git2r_revwalk.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_signature.c -o git2r_signature.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_stash.c -o git2r_stash.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_status.c -o git2r_status.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_tag.c -o git2r_tag.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_transfer.c -o git2r_transfer.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c git2r_tree.c -o git2r_tree.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/annotated_commit.c -o libgit2/src/annotated_commit.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/attr.c -o libgit2/src/attr.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/attrcache.c -o libgit2/src/attrcache.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/attr_file.c -o libgit2/src/attr_file.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/blame.c -o libgit2/src/blame.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/blame_git.c -o libgit2/src/blame_git.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/blob.c -o libgit2/src/blob.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/branch.c -o libgit2/src/branch.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/buffer.c -o libgit2/src/buffer.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/buf_text.c -o libgit2/src/buf_text.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/cache.c -o libgit2/src/cache.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/checkout.c -o libgit2/src/checkout.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/cherrypick.c -o libgit2/src/cherrypick.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/clone.c -o libgit2/src/clone.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/commit.c -o libgit2/src/commit.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/commit_list.c -o libgit2/src/commit_list.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/config.c -o libgit2/src/config.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/config_cache.c -o libgit2/src/config_cache.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/config_file.c -o libgit2/src/config_file.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/crlf.c -o libgit2/src/crlf.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/curl_stream.c -o libgit2/src/curl_stream.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/date.c -o libgit2/src/date.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/delta-apply.c -o libgit2/src/delta-apply.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/delta.c -o libgit2/src/delta.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/describe.c -o libgit2/src/describe.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff.c -o libgit2/src/diff.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_driver.c -o libgit2/src/diff_driver.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_file.c -o libgit2/src/diff_file.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_patch.c -o libgit2/src/diff_patch.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_print.c -o libgit2/src/diff_print.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_stats.c -o libgit2/src/diff_stats.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_tform.c -o libgit2/src/diff_tform.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/diff_xdiff.c -o libgit2/src/diff_xdiff.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/errors.c -o libgit2/src/errors.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/fetch.c -o libgit2/src/fetch.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/fetchhead.c -o libgit2/src/fetchhead.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/filebuf.c -o libgit2/src/filebuf.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/fileops.c -o libgit2/src/fileops.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/filter.c -o libgit2/src/filter.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/fnmatch.c -o libgit2/src/fnmatch.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/global.c -o libgit2/src/global.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/graph.c -o libgit2/src/graph.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/hash.c -o libgit2/src/hash.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/hashsig.c -o libgit2/src/hashsig.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/ident.c -o libgit2/src/ident.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/ignore.c -o libgit2/src/ignore.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/index.c -o libgit2/src/index.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/indexer.c -o libgit2/src/indexer.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/iterator.c -o libgit2/src/iterator.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/merge.c -o libgit2/src/merge.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/merge_file.c -o libgit2/src/merge_file.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/message.c -o libgit2/src/message.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/mwindow.c -o libgit2/src/mwindow.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/netops.c -o libgit2/src/netops.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/notes.c -o libgit2/src/notes.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/object_api.c -o libgit2/src/object_api.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/object.c -o libgit2/src/object.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/odb.c -o libgit2/src/odb.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/odb_loose.c -o libgit2/src/odb_loose.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/odb_mempack.c -o libgit2/src/odb_mempack.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/odb_pack.c -o libgit2/src/odb_pack.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/oidarray.c -o libgit2/src/oidarray.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/oid.c -o libgit2/src/oid.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/openssl_stream.c -o libgit2/src/openssl_stream.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/pack.c -o libgit2/src/pack.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/pack-objects.c -o libgit2/src/pack-objects.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/path.c -o libgit2/src/path.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/pathspec.c -o libgit2/src/pathspec.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/pool.c -o libgit2/src/pool.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/posix.c -o libgit2/src/posix.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/pqueue.c -o libgit2/src/pqueue.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/push.c -o libgit2/src/push.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/rebase.c -o libgit2/src/rebase.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/refdb.c -o libgit2/src/refdb.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/refdb_fs.c -o libgit2/src/refdb_fs.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/reflog.c -o libgit2/src/reflog.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/refs.c -o libgit2/src/refs.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/refspec.c -o libgit2/src/refspec.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/remote.c -o libgit2/src/remote.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/repository.c -o libgit2/src/repository.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/reset.c -o libgit2/src/reset.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/revert.c -o libgit2/src/revert.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/revparse.c -o libgit2/src/revparse.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/revwalk.c -o libgit2/src/revwalk.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/settings.c -o libgit2/src/settings.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/sha1_lookup.c -o libgit2/src/sha1_lookup.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/signature.c -o libgit2/src/signature.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/socket_stream.c -o libgit2/src/socket_stream.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/sortedcache.c -o libgit2/src/sortedcache.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/stash.c -o libgit2/src/stash.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/status.c -o libgit2/src/status.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/strmap.c -o libgit2/src/strmap.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/submodule.c -o libgit2/src/submodule.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/sysdir.c -o libgit2/src/sysdir.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/tag.c -o libgit2/src/tag.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/thread-utils.c -o libgit2/src/thread-utils.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/tls_stream.c -o libgit2/src/tls_stream.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/trace.c -o libgit2/src/trace.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transaction.c -o libgit2/src/transaction.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transport.c -o libgit2/src/transport.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/tree.c -o libgit2/src/tree.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/tree-cache.c -o libgit2/src/tree-cache.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/tsort.c -o libgit2/src/tsort.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/util.c -o libgit2/src/util.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/vector.c -o libgit2/src/vector.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/zstream.c -o libgit2/src/zstream.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/auth.c -o libgit2/src/transports/auth.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/cred.c -o libgit2/src/transports/cred.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/cred_helpers.c -o libgit2/src/transports/cred_helpers.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/git.c -o libgit2/src/transports/git.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/http.c -o libgit2/src/transports/http.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/local.c -o libgit2/src/transports/local.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/smart.c -o libgit2/src/transports/smart.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/smart_pkt.c -o libgit2/src/transports/smart_pkt.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/smart_protocol.c -o libgit2/src/transports/smart_protocol.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/transports/ssh.c -o libgit2/src/transports/ssh.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/unix/map.c -o libgit2/src/unix/map.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/unix/realpath.c -o libgit2/src/unix/realpath.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xdiffi.c -o libgit2/src/xdiff/xdiffi.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xemit.c -o libgit2/src/xdiff/xemit.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xhistogram.c -o libgit2/src/xdiff/xhistogram.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xmerge.c -o libgit2/src/xdiff/xmerge.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xpatience.c -o libgit2/src/xdiff/xpatience.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xprepare.c -o libgit2/src/xdiff/xprepare.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/src/xdiff/xutils.c -o libgit2/src/xdiff/xutils.o
gcc -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I. -Ilibgit2/src -Ilibgit2/include -Ilibgit2/deps/http-parser  -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/libssh2/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DGIT_COMMON_CRYPTO -DGIT_SSH -DGIT_CURL -DGIT_USE_ICONV -DGIT_ARCH_64 -DGIT_USE_STAT_ATIMESPEC -DHAVE_QSORT_R -I/Users/xxx/anaconda/include -I/usr/local/include   -Wno-deprecated-declarations -Wno-unused-function  -fPIC  -g -O2  -c libgit2/deps/http-parser/http_parser.c -o libgit2/deps/http-parser/http_parser.o
ar rcs libmygit.a libgit2/src/annotated_commit.o libgit2/src/attr.o libgit2/src/attrcache.o libgit2/src/attr_file.o libgit2/src/blame.o libgit2/src/blame_git.o libgit2/src/blob.o libgit2/src/branch.o libgit2/src/buffer.o libgit2/src/buf_text.o libgit2/src/cache.o libgit2/src/checkout.o libgit2/src/cherrypick.o libgit2/src/clone.o libgit2/src/commit.o libgit2/src/commit_list.o libgit2/src/config.o libgit2/src/config_cache.o libgit2/src/config_file.o libgit2/src/crlf.o libgit2/src/curl_stream.o libgit2/src/date.o libgit2/src/delta-apply.o libgit2/src/delta.o libgit2/src/describe.o libgit2/src/diff.o libgit2/src/diff_driver.o libgit2/src/diff_file.o libgit2/src/diff_patch.o libgit2/src/diff_print.o libgit2/src/diff_stats.o libgit2/src/diff_tform.o libgit2/src/diff_xdiff.o libgit2/src/errors.o libgit2/src/fetch.o libgit2/src/fetchhead.o libgit2/src/filebuf.o libgit2/src/fileops.o libgit2/src/filter.o libgit2/src/fnmatch.o libgit2/src/global.o libgit2/src/graph.o libgit2/src/hash.o libgit2/src/hashsig.o libgit2/src/ident.o libgit2/src/ignore.o libgit2/src/index.o libgit2/src/indexer.o libgit2/src/iterator.o libgit2/src/merge.o libgit2/src/merge_file.o libgit2/src/message.o libgit2/src/mwindow.o libgit2/src/netops.o libgit2/src/notes.o libgit2/src/object_api.o libgit2/src/object.o libgit2/src/odb.o libgit2/src/odb_loose.o libgit2/src/odb_mempack.o libgit2/src/odb_pack.o libgit2/src/oidarray.o libgit2/src/oid.o libgit2/src/openssl_stream.o libgit2/src/pack.o libgit2/src/pack-objects.o libgit2/src/path.o libgit2/src/pathspec.o libgit2/src/pool.o libgit2/src/posix.o libgit2/src/pqueue.o libgit2/src/push.o libgit2/src/rebase.o libgit2/src/refdb.o libgit2/src/refdb_fs.o libgit2/src/reflog.o libgit2/src/refs.o libgit2/src/refspec.o libgit2/src/remote.o libgit2/src/repository.o libgit2/src/reset.o libgit2/src/revert.o libgit2/src/revparse.o libgit2/src/revwalk.o libgit2/src/settings.o libgit2/src/sha1_lookup.o libgit2/src/signature.o libgit2/src/socket_stream.o libgit2/src/sortedcache.o libgit2/src/stash.o libgit2/src/status.o libgit2/src/strmap.o libgit2/src/submodule.o libgit2/src/sysdir.o libgit2/src/tag.o libgit2/src/thread-utils.o libgit2/src/tls_stream.o libgit2/src/trace.o libgit2/src/transaction.o libgit2/src/transport.o libgit2/src/tree.o libgit2/src/tree-cache.o libgit2/src/tsort.o libgit2/src/util.o libgit2/src/vector.o libgit2/src/zstream.o libgit2/src/transports/auth.o libgit2/src/transports/cred.o libgit2/src/transports/cred_helpers.o libgit2/src/transports/git.o libgit2/src/transports/http.o libgit2/src/transports/local.o libgit2/src/transports/smart.o libgit2/src/transports/smart_pkt.o libgit2/src/transports/smart_protocol.o libgit2/src/transports/ssh.o libgit2/src/unix/map.o libgit2/src/unix/realpath.o libgit2/src/xdiff/xdiffi.o libgit2/src/xdiff/xemit.o libgit2/src/xdiff/xhistogram.o libgit2/src/xdiff/xmerge.o libgit2/src/xdiff/xpatience.o libgit2/src/xdiff/xprepare.o libgit2/src/xdiff/xutils.o libgit2/deps/http-parser/http_parser.o 
gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o git2r.so git2r.o git2r_arg.o git2r_blame.o git2r_blob.o git2r_branch.o git2r_checkout.o git2r_clone.o git2r_commit.o git2r_config.o git2r_cred.o git2r_diff.o git2r_error.o git2r_graph.o git2r_index.o git2r_libgit2.o git2r_merge.o git2r_note.o git2r_object.o git2r_odb.o git2r_oid.o git2r_push.o git2r_reference.o git2r_reflog.o git2r_remote.o git2r_repository.o git2r_reset.o git2r_revparse.o git2r_revwalk.o git2r_signature.o git2r_stash.o git2r_status.o git2r_tag.o git2r_transfer.o git2r_tree.o -L. -lmygit -lssh2 -lssl -lcrypto -lz -lz -L/usr/local/opt/openssl/lib -L/usr/local/opt/libssh2/lib -L/Users/xxx/anaconda/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -liconv -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/xxx/Library/R/3.2/library/git2r/libs
** R
** inst
** preparing package for lazy loading
Creating a generic function for ‘summary’ from package ‘base’ in package ‘git2r’
Creating a generic function for ‘diff’ from package ‘base’ in package ‘git2r’
Creating a generic function for ‘merge’ from package ‘base’ in package ‘git2r’
Creating a generic function for ‘plot’ from package ‘graphics’ in package ‘git2r’
Creating a generic function for ‘head’ from package ‘utils’ in package ‘git2r’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/Users/xxx/Library/R/3.2/library/git2r/libs/git2r.so':
  dlopen(/Users/xxx/Library/R/3.2/library/git2r/libs/git2r.so, 6): Library not loaded: @rpath/libz.1.dylib
  Referenced from: /Users/xxx/Library/R/3.2/library/git2r/libs/git2r.so
  Reason: image not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/xxx/Library/R/3.2/library/git2r’

The downloaded source packages are in
    ‘/private/var/folders/g7/fcpplc8j0ps_jkrkyc58l1680000gq/T/RtmpeX6QES/downloaded_packages’
Warning message:
In install.packages("git2r") :
  installation of package ‘git2r’ had non-zero exit status
>
surfing1231 commented 8 years ago
> version
               _                           
platform       x86_64-apple-darwin16.0.0   
arch           x86_64                      
os             darwin16.0.0                
system         x86_64, darwin16.0.0        
status                                     
major          3                           
minor          2.5                         
year           2016                        
month          04                          
day            14                          
svn rev        70478                       
language       R                           
version.string R version 3.2.5 (2016-04-14)
nickname       Very, Very Secure Dishes   
surfing1231 commented 8 years ago

but I tried installing ggplot2 through install.packages("ggplot2"), it worked. So I do not think this is a Mac OS system compatibility problem.

trosendal commented 7 years ago

The manual indicates:

"SystemRequirements: zlib headers and library. OpenSSL headers and library. LibSSH2 (optional on non-Windows) to enable the SSH transport."

https://cran.r-project.org/web/packages/git2r/index.html

Are you perhaps missing zlib?

swvanderlaan commented 7 years ago

Hi, I have a similar issue. Zlib is a part of macOS. Here is my error code. Anyone a solution? Thanks! Sander

installing source package ‘git2r’ ... package ‘git2r’ successfully unpacked and MD5 sums checked checking build system type... x86_64-apple-darwin16.3.0 checking host system type... x86_64-apple-darwin16.3.0 checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for brew... yes checking for library containing inflate... no configure: error: in/private/var/folders/xk/dfj20kgd56xg8796xh874tjr0000gn/T/RtmpseXmyo/R.INSTALL32356e59fd77/git2r': configure: error:

The zlib library that is required to build git2r was not found.

Please install: zlib1g-dev (package on e.g. Debian and Ubuntu) zlib-devel (package on e.g. Fedora, CentOS and RHEL) and try again.

If the zlib library is installed on your system but the git2r configuration is unable to find it, you can specify the include and lib path to zlib with: R CMD INSTALL --configure-args='--with-zlib-include=INCLUDE_PATH --with-zlib-lib=LIB_PATH' git2r

See `config.log' for more details ERROR: configuration failed for package ‘git2r’

The downloaded source packages are in ‘/private/var/folders/xk/dfj20kgd56xg8796xh874tjr0000gn/T/RtmpcfKZgy/downloaded_packages’ Warning messages: 1: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, : installation of package ‘gdsfmt’ had non-zero exit status 2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, : installation of package ‘git2r’ had non-zero exit status`

stewid commented 7 years ago

Could you please try to install the binary format of git2r from CRAN.

swvanderlaan commented 7 years ago

Hi,

I just did. No effect. I get this error below. It has to do with the fact that R can't seem to find zlib... But than I don't understand what I should fill in in "INCLUDE_PATH" or how to find zlib even on Mac OS X Sierra.

Thanks!

Sander

install.packages("git2r") Installing package into ‘/usr/local/lib/R/3.3/site-library’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- HTTPS CRAN mirror

1: 0-Cloud [https] 2: Algeria [https]
3: Australia (Canberra) [https] 4: Australia (Melbourne) [https] 5: Australia (Perth) [https] 6: Austria [https]
7: Belgium (Ghent) [https] 8: Brazil (RJ) [https]
9: Brazil (SP 1) [https] 10: Bulgaria [https]
11: Canada (MB) [https] 12: Chile 1 [https]
13: Chile 2 [https] 14: China (Beijing) [https]
15: China (Hefei) [https] 16: China (Lanzhou) [https]
17: Colombia (Cali) [https] 18: Czech Republic [https]
19: Denmark [https] 20: France (Lyon 1) [https]
21: France (Lyon 2) [https] 22: France (Marseille) [https]
23: France (Montpellier) [https] 24: France (Paris 2) [https]
25: Germany (Falkenstein) [https] 26: Germany (Münster) [https]
27: Iceland [https] 28: India [https]
29: Ireland [https] 30: Italy (Padua) [https]
31: Japan (Tokyo) [https] 32: Malaysia [https]
33: Mexico (Mexico City) [https] 34: New Zealand [https]
35: Norway [https] 36: Philippines [https]
37: Russia (Moscow) [https] 38: Serbia [https]
39: Spain (A Coruña) [https] 40: Spain (Madrid) [https]
41: Sweden [https] 42: Switzerland [https]
43: Taiwan (Chungli) [https] 44: Turkey (Denizli) [https]
45: UK (Bristol) [https] 46: UK (Cambridge) [https]
47: UK (London 1) [https] 48: USA (CA 1) [https]
49: USA (IA) [https] 50: USA (IN) [https]
51: USA (KS) [https] 52: USA (MI 1) [https]
53: USA (TN) [https] 54: USA (TX) [https]
55: (HTTP mirrors)

Selection: 55 HTTP CRAN mirror

1: 0-Cloud 2: Algeria
3: Argentina (La Plata) 4: Australia (Canberra)
5: Australia (Melbourne) 6: Austria
7: Belgium (Antwerp) 8: Belgium (Ghent)
9: Brazil (BA) 10: Brazil (PR)
11: Brazil (RJ) 12: Brazil (SP 1)
13: Brazil (SP 2) 14: Bulgaria
15: Canada (BC) 16: Canada (MB)
17: Canada (NS) 18: Canada (ON)
19: Chile 1 20: China (Beijing)
21: China (Hefei) 22: China (Lanzhou)
23: China (Xiamen) 24: Colombia (Cali)
25: Czech Republic 26: Denmark
27: Ecuador 28: El Salvador
29: Estonia 30: France (Lyon 2)
31: France (Marseille) 32: France (Montpellier)
33: France (Paris 1) 34: France (Paris 2)
35: Germany (Falkenstein) 36: Germany (Göttingen)
37: Germany (Münster) 38: Greece
39: Hungary 40: Iceland
41: India 42: Iran
43: Ireland 44: Italy (Milano)
45: Italy (Padua) 46: Italy (Palermo)
47: Japan (Tokyo) 48: Korea (Seoul 1)
49: Korea (Seoul 2) 50: Korea (Ulsan)
51: Lebanon 52: Malaysia
53: Mexico (Mexico City) 54: Mexico (Texcoco)
55: Netherlands (Amsterdam) 56: Netherlands (Utrecht)
57: New Zealand 58: Norway
59: Philippines 60: Portugal (Lisbon)
61: Portugal (Porto) 62: Russia (Moscow)
63: Singapore 64: South Africa (Cape Town)
65: South Africa (Johannesburg) 66: Spain (A Coruña)
67: Spain (Madrid) 68: Sweden
69: Switzerland 70: Taiwan (Chungli)
71: Taiwan (Taipei) 72: Thailand
73: Turkey (Denizli) 74: Turkey (Mersin)
75: UK (Bristol) 76: UK (Cambridge)
77: UK (London 1) 78: UK (London 2)
79: UK (St Andrews) 80: USA (CA 1)
81: USA (CA 2) 82: USA (IA)
83: USA (IN) 84: USA (KS)
85: USA (MI 1) 86: USA (MO)
87: USA (NC) 88: USA (OH 1)
89: USA (OH 2) 90: USA (OR)
91: USA (PA 1) 92: USA (PA 2)
93: USA (TN) 94: USA (TX)
95: Venezuela

Selection: 56 trying URL 'http://cran-mirror.cs.uu.nl/src/contrib/git2r_0.18.0.tar.gz' Content type 'application/x-gzip' length 1122935 bytes (1.1 MB)

downloaded 1.1 MB

  • installing source package ‘git2r’ ... ** package ‘git2r’ successfully unpacked and MD5 sums checked checking build system type... x86_64-apple-darwin16.4.0 checking host system type... x86_64-apple-darwin16.4.0 checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for brew... yes checking for library containing inflate... no configure: error: in `/private/var/folders/xk/dfj20kgd56xg8796xh874tjr0000gn/T/RtmpbVPTJk/R.INSTALLcd5c1f7fde2d/git2r': configure: error:

    The zlib library that is required to build git2r was not found.

    Please install: zlib1g-dev (package on e.g. Debian and Ubuntu) zlib-devel (package on e.g. Fedora, CentOS and RHEL) and try again.

    If the zlib library is installed on your system but the git2r configuration is unable to find it, you can specify the include and lib path to zlib with: R CMD INSTALL --configure-args='--with-zlib-include=INCLUDE_PATH --with-zlib-lib=LIB_PATH' git2r

    See `config.log' for more details ERROR: configuration failed for package ‘git2r’

  • removing ‘/usr/local/lib/R/3.3/site-library/git2r’

The downloaded source packages are in ‘/private/var/folders/xk/dfj20kgd56xg8796xh874tjr0000gn/T/RtmpRNkU3D/downloaded_packages’ Warning message: In install.packages("git2r") : installation of package ‘git2r’ had non-zero exit status

trosendal commented 7 years ago

According to the manual of install.package, you should define that you want a binary install, otherwise it will install from source on your system. Do as follows:

install.packages("git2r", type = 'mac.binary.mavericks')

However, the package will be built for OSX Mavericks and you are using OSX Sierra; so I don't know if that will work.

colinbrislawn commented 7 years ago

Thank you for this comment!

On a new mac without the full developer setup, this command lets you install git2r without needing zlib or openssl. This is perfect for new R users.

install.packages("git2r", type = 'mac.binary.mavericks')

Also works great on OSX Sierra.

denismolin commented 6 years ago

maybe this will help: https://anaconda.org/r/r-git2r

AceM1188 commented 6 years ago

Was wondering if any of these solutions (or that mentioned by https://github.com/IRkernel/IRkernel/issues/542) worked for R version 3.5.0?

I've tried installing devtools or git2r by install.packages("devtools") or install.packages("git2r") but neither are installing for me. When installing I get the aforementioned errors "...had non-zero exit status".

The error message I receive for installing git2r (either by install.packages("git2r", type = 'mac.binary.elcapitan') or install.packages("git2r", type = 'mac.binary.mavericks') is:

Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning: unable to access index for repository https://cran.revolutionanalytics.com/bin/macosx/elcapitan/contrib/3.5: cannot open URL 'https://cran.revolutionanalytics.com/bin/macosx/elcapitan/contrib/3.5/PACKAGES' package ‘git2r’ is available as a source package but not as a binary Warning message: package ‘git2r’ is not available (as a binary package for R version 3.5.0)`

So looks like version R 3.5.0 is not yet compatible? Any thoughts for work arounds for this?

trosendal commented 6 years ago

You are mis-specifying 'el-capitan' as 'elcapitan'. Also, I could not resolve the host: "cran.revolution..." that you are using so you could try the r-studio host below:

install.packages("git2r", 
                  repos = "https://cran.r-project.org", 
                  type = "mac.binary.el-capitan")

Also, for future readers of this thread you can find the appropriate name of the binaries for various versions of OSX in the manual for install.packages: http://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html

AceM1188 commented 6 years ago

Thanks @trosendal, that worked.

devssh commented 6 years ago

I am on high sierra 10.13.4. It does not work,some methods say R 3.5.1 is not supported others just say libgit2 is to blame, which is funny because git2r is needed for devtools, which is needed for tensorflow on R in mac. So no tensorflow on R in mac Sierra as of Sep 2018.

stewid commented 6 years ago

@devssh tensorflow does not depend on git2r

souravbhabesh commented 6 years ago

I was facing the same issue while trying to install devtools. I am on High Sierra Version 10.13.6.

The below steps led to successful installation of devtools.

install.packages("git2r", repos = "https://cran.r-project.org", type = "mac.binary.el-capitan")

install.packages("devtools")

Hopefully this will help others facing this problem.

devssh commented 6 years ago

@stewid I am using https://github.com/rstudio/tensorflow which is using devtools. Devtools needs git2r and is the go to alternative approach for building from source if things are incompatible. using packages.install("tensorflow") does not work so i tried to install it via this tensorflow devtools alternate method. but cmake cannot build it on my configuration of Macos High Sierra 10.13.4 and R 3.5.1. You see High Sierra is backwards compatible with Sierra, but has at max support for Mavericks in this issue https://github.com/ropensci/git2r/issues/204 where I added my logs. Some people claim it is an issue with path configuration and permissions but those are being taken care of by anaconda3 pretty well usually, however I assume someone in this project would have better info on how to fix the paths.

stewid commented 6 years ago

@devssh does it work to install git2r using

install.packages('git2r', type='source', configure.vars='autobrew=yes')
devssh commented 6 years ago

Hi, I tried the command and it failed

install.packages('git2r', type='source', configure.vars='autobrew=yes')
trying URL 'https://cran.rstudio.com/src/contrib/git2r_0.23.0.tar.gz'
Content type 'application/x-gzip' length 1150314 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

* installing *source* package ‘git2r’ ...
** package ‘git2r’ successfully unpacked and MD5 sums checked
checking build system type... x86_64-apple-darwin17.5.0
checking host system type... x86_64-apple-darwin17.5.0
checking for gcc... x86_64-apple-darwin13.4.0-clang
checking whether the C compiler works... no
configure: error: in `/private/var/folders/bf/vzp8t8p53xj53_nyf42t5g880000gp/T/RtmpFutTBQ/R.INSTALL639f7410bdc/git2r':
configure: error: C compiler cannot create executables
See `config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/Users/devashishsood/anaconda3/envs/py36/lib/R/library/git2r’
Warning in install.packages :
  installation of package ‘git2r’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/bf/vzp8t8p53xj53_nyf42t5g880000gp/T/RtmpKHmr8L/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done

How do I check this config.log, it might give you more info, it says c compiler doesn't work ? It says the error is C compiler cannot create executables I also checked my gcc version

gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
trosendal commented 6 years ago

@devssh It's not clear if you tried the suggestion by @souravbhabesh to install from the binary.

devssh commented 6 years ago

Hi @trosendal I tried the following as suggested by @souravbhabesh

install.packages("git2r",
repos = "https://cran.r-project.org",
type = "mac.binary.el-capitan")

install.packages("devtools")

and then when I do

library(devtools)
devtools::install_github("rstudio/tensorflow")

Rstudio crashes and restarts R session aborted. R encountered a fatal error. The session was terminated. Start new Session? because I'm running an el-capitan binary on high sierra.

Also there is no binary for sierra.

install.packages("git2r",
+                  repos = "https://cran.r-project.org",
+                  type = "mac.binary.sierra")
Warning in install.packages :
  unable to access index for repository https://cran.r-project.org/bin/macosx/sierra/contrib/3.4:
  cannot open URL 'https://cran.r-project.org/bin/macosx/sierra/contrib/3.4/PACKAGES'

   package ‘git2r’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘git2r’ is not available (as a binary package for R version 3.4.3)

@souravbhabesh you said you were on high sierra? Which version of R are you using? How did you check that it works? Its interesting to note that library(devtools) does not cause a restart but using devtools crashes Rstudio. I will also try updating Macos from 10.13.4 to 10.13.6. My R version is 3.5.1 El-capitan was released in 2015 and Sierra has breaking changes wrt backward compatibility. I don't think a binary from el-capitan would work on sierra! How did you make it work?!

jim-baskin commented 5 years ago

brew install libgit2 on mac first

tansaku commented 2 years ago

I've tried install lbgit2, zlib, openssl, devtools and cannot seem to get git2r version 0.23.0 installed on monterey intel chip or M1 :-(