Project

General

Profile

Bug #14165 » 61097_test-all_issues.log

MSP-Greg (Greg L), 12/10/2017 07:45 PM

 
1) Failure:
TestMkmf::TestConvertible#test_typeof_typedef [C:/projects/ruby-loco/src/ruby/test/mkmf/test_convertible.rb:22]:
convertible_int: checking for convertible type of test1_t... -------------------- failed

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6: typedef test1_t rbcv_typedef_;
7:
8: /*top*/
9: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:10:12: error: conflicting types for 'foo'
extern int foo();
^~~
conftest.c:9:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6:
7: typedef test1_t rbcv_typedef_;
8:
9: extern rbcv_typedef_ foo();
10: extern int foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6:
7: typedef test1_t rbcv_typedef_;
8:
9: extern rbcv_typedef_ foo();
10: extern short foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:10:13: error: conflicting types for 'foo'
extern long foo();
^~~
conftest.c:9:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6:
7: typedef test1_t rbcv_typedef_;
8:
9: extern rbcv_typedef_ foo();
10: extern long foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:10:18: error: conflicting types for 'foo'
extern long long foo();
^~~
conftest.c:9:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <confdefs.h>
6:
7: typedef test1_t rbcv_typedef_;
8:
9: extern rbcv_typedef_ foo();
10: extern long long foo();
/* end */

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

.
<"short"> expected but was
<nil>.

2) Failure:
TestExtLibs#test_existence_of_fiddle [C:/projects/ruby-loco/src/ruby/test/test_extlibs.rb:20]:
extension library `fiddle' is not found
"pkg-config --exists libffi"
| pkg-config --libs libffi
=> "-LC:/msys64/mingw64/lib/../lib -lffi\n"
"x86_64-w64-mingw32-gcc -o conftest.exe -I../../.ext/include/x64-mingw32 -I../../../ruby/include -I../../../ruby/ext/fiddle -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe conftest.c -L. -L../.. -L. -pipe -lx64-msvcrt-ruby250-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
In file included from ../../../ruby/include/ruby/defines.h:248:0,

from ../../../ruby/include/ruby/ruby.h:36,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../../ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined

#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)


In file included from ../../../ruby/include/ruby/ruby.h:24:0,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition

#define SIZEOF_STRUCT_STAT_ST_INO 2


checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return 0;
8: }
/* end */

"x86_64-w64-mingw32-gcc -o conftest.exe -I../../.ext/include/x64-mingw32 -I../../../ruby/include -I../../../ruby/ext/fiddle -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe conftest.c -L. -L../.. -L. -pipe -lx64-msvcrt-ruby250-static -LC:/msys64/mingw64/lib/../lib -lffi -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
In file included from ../../../ruby/include/ruby/defines.h:248:0,

from ../../../ruby/include/ruby/ruby.h:36,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../../ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined

#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)


In file included from ../../../ruby/include/ruby/ruby.h:24:0,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition

#define SIZEOF_STRUCT_STAT_ST_INO 2


checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return 0;
8: }
/* end */

package configuration for libffi is not found
have_header: checking for ffi.h... -------------------- no

"x86_64-w64-mingw32-gcc -E -I../../.ext/include/x64-mingw32 -I../../../ruby/include -I../../../ruby/ext/fiddle -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe conftest.c -o conftest.i"
In file included from ../../../ruby/include/ruby/defines.h:248:0,

from ../../../ruby/include/ruby/ruby.h:36,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../../ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined

#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)


In file included from ../../../ruby/include/ruby/ruby.h:24:0,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition

#define SIZEOF_STRUCT_STAT_ST_INO 2


conftest.c:5:10: fatal error: ffi.h: No such file or directory

#include <ffi.h>

^~~~~~~

compilation terminated.

checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ffi.h>
/* end */

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

have_header: checking for ffi/ffi.h... -------------------- no

"x86_64-w64-mingw32-gcc -E -I../../.ext/include/x64-mingw32 -I../../../ruby/include -I../../../ruby/ext/fiddle -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe conftest.c -o conftest.i"
In file included from ../../../ruby/include/ruby/defines.h:248:0,

from ../../../ruby/include/ruby/ruby.h:36,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../../ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined

#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)


In file included from ../../../ruby/include/ruby/ruby.h:24:0,

from ../../../ruby/include/ruby.h:33,

from conftest.c:1:

../../.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition

#define SIZEOF_STRUCT_STAT_ST_INO 2


conftest.c:5:10: fatal error: ffi/ffi.h: No such file or directory

#include <ffi/ffi.h>

^~~~~~~~~~~

compilation terminated.

checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ffi/ffi.h>
/* end */

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

C:/projects/ruby-loco/src/ruby/ext/fiddle/extconf.rb:26: missing libffi. Please install libffi.
C:/projects/ruby-loco/src/ruby/ext/fiddle/extconf.rb:26:in `<top (required)>'
../ruby/ext/extmk.rb:214:in `load'
../ruby/ext/extmk.rb:214:in `block in extmake'
C:/projects/ruby-loco/src/ruby/lib/mkmf.rb:335:in `open'
../ruby/ext/extmk.rb:210:in `extmake'
../ruby/ext/extmk.rb:564:in `block in <main>'
../ruby/ext/extmk.rb:560:in `each'
../ruby/ext/extmk.rb:560:in `<main>'
.
Exception raised:
<#<LoadError: cannot load such file -- fiddle>>.

3) Failure:
TestExtLibs#test_existence_of_Win32API [C:/projects/ruby-loco/src/ruby/test/test_extlibs.rb:20]:
extension library `Win32API' is not found
C:/projects/ruby-loco/src/build25_64/ext/Win32API/mkmf.log not found.
Exception raised:
<#<LoadError: cannot load such file -- fiddle/import>>.

4) Failure:
TestMkmf::TestConvertible#test_typeof_builtin [C:/projects/ruby-loco/src/ruby/test/mkmf/test_convertible.rb:9]:
convertible_int: checking for convertible type of short... -------------------- short

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

convertible_int: checking for convertible type of int... -------------------- int

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

convertible_int: checking for convertible type of long... -------------------- long

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

convertible_int: checking for convertible type of signed short... -------------------- failed

"x86_64-w64-mingw32-gcc -o conftest.exe -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe conftest.c -L. -LC:/projects/ruby-loco/src/build25_64 -L. -pipe -lx64-msvcrt-ruby250-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return 0;
8: }
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: /*top*/
8: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:8:12: error: conflicting types for 'foo'
extern int foo();
^~~
conftest.c:7:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern int foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern short foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:8:13: error: conflicting types for 'foo'
extern long foo();
^~~
conftest.c:7:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long foo();
/* end */

"x86_64-w64-mingw32-gcc -I. -IC:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32 -IC:/projects/ruby-loco/src/ruby/include -I../ruby/test -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -Werror -c conftest.c"
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/defines.h:248:0,
from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:36,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/ruby/include/ruby/win32.h:197:0: error: "SIZEOF_STRUCT_STAT_ST_INO" redefined [-Werror]
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
In file included from C:/projects/ruby-loco/src/ruby/include/ruby/ruby.h:24:0,
from C:/projects/ruby-loco/src/ruby/include/ruby.h:33,
from conftest.c:1:
C:/projects/ruby-loco/src/build25_64/.ext/include/x64-mingw32/ruby/config.h:152:0: note: this is the location of the previous definition
#define SIZEOF_STRUCT_STAT_ST_INO 2
conftest.c:8:18: error: conflicting types for 'foo'
extern long long foo();
^~~
conftest.c:7:22: note: previous declaration of 'foo' was here
extern rbcv_typedef_ foo();
^~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: typedef signed short rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long long foo();
/* end */

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

.
<"short"> expected but was
<nil>.

5) Error:
TestGemRemoteFetcher#test_download_to_cache:
LoadError: cannot load such file -- fiddle/import
(1-1/3)