Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile on windows with latest strawberry perl #228

Open
ufobat opened this issue Jul 19, 2023 · 4 comments
Open

does not compile on windows with latest strawberry perl #228

ufobat opened this issue Jul 19, 2023 · 4 comments

Comments

@ufobat
Copy link

ufobat commented Jul 19, 2023

I tried to install Git::Raw with the help of cpanm on a new strawberry perl installation on Windows 10.

Since I dont know windows neither do I know C well, I need some help.

$ cpanm -v Git::Raw
...

C:/Strawberry/c/x86_64-w64-mingw32/include/_mingw_print_pop.h:74:18: note: format string is defined here
 #define PRId64 "lld"
                  ^
deps/libgit2/src/libgit2/config.c:633:43: warning: too many arguments for format [-Wformat-extra-args]
  p_snprintf(str_value, sizeof(str_value), "%" PRId64, value);
                                           ^~~
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_cache.c -o deps/libgit2/src/libgit2/config_cache.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_entries.c -o deps/libgit2/src/libgit2/config_entries.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_file.c -o deps/libgit2/src/libgit2/config_file.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_mem.c -o deps/libgit2/src/libgit2/config_mem.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_parse.c -o deps/libgit2/src/libgit2/config_parse.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/config_snapshot.c -o deps/libgit2/src/libgit2/config_snapshot.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/crlf.c -o deps/libgit2/src/libgit2/crlf.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/delta.c -o deps/libgit2/src/libgit2/delta.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/describe.c -o deps/libgit2/src/libgit2/describe.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff.c -o deps/libgit2/src/libgit2/diff.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_driver.c -o deps/libgit2/src/libgit2/diff_driver.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_file.c -o deps/libgit2/src/libgit2/diff_file.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_generate.c -o deps/libgit2/src/libgit2/diff_generate.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_parse.c -o deps/libgit2/src/libgit2/diff_parse.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_print.c -o deps/libgit2/src/libgit2/diff_print.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_stats.c -o deps/libgit2/src/libgit2/diff_stats.o
deps/libgit2/src/libgit2/diff_stats.c: In function 'diff_file_stats_full_to_buf':
deps/libgit2/src/libgit2/diff_stats.c:103:5: warning: unknown conversion type character 'l' in format [-Wformat=]
     "Bin %" PRId64 " -> %" PRId64 " bytes", old_size, new_size) < 0)
     ^~~~~~~
In file included from C:/Strawberry/c/x86_64-w64-mingw32/include/wchar.h:1526,
                 from deps/libgit2/src/util/win32/win32-compat.h:12,
                 from deps/libgit2/src/util/git2_util.h:70,
                 from deps/libgit2/src/libgit2/common.h:10,
                 from deps/libgit2/src/libgit2/diff_stats.h:10,
                 from deps/libgit2/src/libgit2/diff_stats.c:8:
C:/Strawberry/c/x86_64-w64-mingw32/include/_mingw_print_pop.h:74:18: note: format string is defined here
 #define PRId64 "lld"
                  ^
deps/libgit2/src/libgit2/diff_stats.c:103:5: warning: unknown conversion type character 'l' in format [-Wformat=]
     "Bin %" PRId64 " -> %" PRId64 " bytes", old_size, new_size) < 0)
     ^~~~~~~
In file included from C:/Strawberry/c/x86_64-w64-mingw32/include/wchar.h:1526,
                 from deps/libgit2/src/util/win32/win32-compat.h:12,
                 from deps/libgit2/src/util/git2_util.h:70,
                 from deps/libgit2/src/libgit2/common.h:10,
                 from deps/libgit2/src/libgit2/diff_stats.h:10,
                 from deps/libgit2/src/libgit2/diff_stats.c:8:
C:/Strawberry/c/x86_64-w64-mingw32/include/_mingw_print_pop.h:74:18: note: format string is defined here
 #define PRId64 "lld"
                  ^
deps/libgit2/src/libgit2/diff_stats.c:103:5: warning: too many arguments for format [-Wformat-extra-args]
     "Bin %" PRId64 " -> %" PRId64 " bytes", old_size, new_size) < 0)
     ^~~~~~~
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_tform.c -o deps/libgit2/src/libgit2/diff_tform.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/diff_xdiff.c -o deps/libgit2/src/libgit2/diff_xdiff.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/email.c -o deps/libgit2/src/libgit2/email.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/errors.c -o deps/libgit2/src/libgit2/errors.o
gcc -c  -I. -Ideps/libgit2 -I deps/libgit2/include -Ideps/libgit2/src/libgit2 -Ideps/libgit2/src/util -Ideps/libgit2/deps/http-parser -Ideps/libgit2/deps/zlib -Ideps/libgit2/deps/pcre -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields  -Wall -Wno-unused-variable -Wno-pedantic -Wno-deprecated-declarations -s -O2   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\"  "-IC:\STRAWB~1\perl\lib\CORE"  -DGIT_SSH -DGIT_OPENSSL -DGIT_OPENSSL_DYNAMIC -DGIT_HTTPS -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLIBGIT2_NO_FEATURES_H -DGIT_USE_STAT_MTIM -DGIT_USE_STAT_MTIM_NSEC -DGIT_USE_NEC -DGIT_SHA1_COLLISIONDETECT -DSHA1DC_NO_STANDARD_INCLUDES=1 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\""git2_util.h"\" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\""git2_util.h"\" -DGIT_SHA256_BUILTIN -DGIT_REGEX_BUILTIN -DLINK_SIZE=2 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DNEWLINE=-2  -DPARENS_NEST_LIMIT=250 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=MATCH_LIMIT -DPOSIX_MALLOC_THRESHOLD=10 -DGIT_THREADS -DWIN32 -DGIT_WIN32 -DGIT_WINHTTP -DGIT_HTTPS -DSTRSAFE_NO_DEPRECATE -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 deps/libgit2/src/libgit2/fetch.c -o deps/libgit2/src/libgit2/fetch.o
In file included from C:/Strawberry/c/x86_64-w64-mingw32/include/windows.h:95,
                 from C:/Strawberry/c/x86_64-w64-mingw32/include/winsock2.h:23,
                 from deps/libgit2/src/util/git2_util.h:65,
                 from deps/libgit2/src/libgit2/common.h:10,
                 from deps/libgit2/src/libgit2/fetch.h:10,
                 from deps/libgit2/src/libgit2/fetch.c:8:
deps/libgit2/src/libgit2/streams/openssl_dynamic.h:205:14: error: expected ')' before numeric constant
 typedef void X509_NAME;
              ^~~~~~~~~
deps/libgit2/src/libgit2/streams/openssl_dynamic.h:324:48: error: expected declaration specifiers or '...' before '(' token
 extern X509_NAME_ENTRY *(*X509_NAME_get_entry)(X509_NAME *name, int loc);
                                                ^~~~~~~~~
deps/libgit2/src/libgit2/streams/openssl_dynamic.h:325:42: error: expected declaration specifiers or '...' before '(' token
 extern int (*X509_NAME_get_index_by_NID)(X509_NAME *name, int nid, int lastpos);
                                          ^~~~~~~~~
deps/libgit2/src/libgit2/streams/openssl_dynamic.h:328:8: error: expected identifier or '(' before 'LPCSTR'
 extern X509_NAME *(*X509_get_subject_name)(const X509 *x);
        ^~~~~~~~~
deps/libgit2/src/libgit2/streams/openssl_dynamic.h:328:8: error: expected ')' before numeric constant
 extern X509_NAME *(*X509_get_subject_name)(const X509 *x);
        ^~~~~~~~~
gmake: *** [Makefile:403: deps/libgit2/src/libgit2/fetch.o] Error 1
FAIL
! Installing Git::Raw failed. See C:\Users\marti\.cpanm\work\1689749817.15948\build.log for details. Retry with --force to force install it.

If you need more input I would gladly assist you.

@ufobat
Copy link
Author

ufobat commented Jul 19, 2023

Ah, i just noticed your cicd on windows fails with the same error for quite a while.

https://ci.appveyor.com/project/jacquesg/p5-git-raw

@jacquesg
Copy link
Owner

Hi, its been quite painful to keep this working. From the error, it seems like there is an interaction with OpenSSL and the windows.h header. I've pushed a commit to master to test and see if I can fix it. Will revert.

@ufobat
Copy link
Author

ufobat commented Jul 19, 2023

do you want me to test it?

@jacquesg
Copy link
Owner

Not necessary, thank you, the CI server is sufficient. Unfortunately its not quite that straight-forward. I've fixed the original error, which did not seem quite right, but there are further mingw related errors which I'm yet to explain/fully fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants