Skip to content

Instantly share code, notes, and snippets.

@jonforums
Created May 21, 2012 17:23
Show Gist options
  • Save jonforums/2763401 to your computer and use it in GitHub Desktop.
Save jonforums/2763401 to your computer and use it in GitHub Desktop.
RI, ruby_1_9_3 and mingw64-32-4.6.3
Win7 Ultimate 32bit SP1
C:\Users\Jon\Documents\RubyDev\ruby-git>git log -5 --oneline
5d43f34 merge revision(s) 35451:
e050fc1 merge revision(s) 35434:
ca27aa8 merge revision(s) 35433:
28db237 merge revision(s) 35424:
336c45e merge revision(s) 35422:
C:\projects\rubyinstaller-git>rake ruby19 local=c:\Users\Jon\Documents\RubyDev\ruby-git dkver=mingw64-32-4.6.3
sh-3.1$ gcc --version
gcc.exe (rubenvb-4.6.3) 4.6.3
sh-3.1$ make test-all TESTS='openssl fiddle psych zlib io json mkmf pathname stringio erb fileutils ruby/test_io.rb ruby/test_io_m17n.rb ruby/test_file.rb'
[...]
2) Error:
test_big_decimal_round_trip(Psych::TestNumeric):
TypeError: load failed: invalid character in the marshaled string
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:62:in `_load'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:62:in `deserialize'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:104:in `visit_Psych_Nodes_Scalar'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:20:in `accept'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:231:in `visit_Psych_Nodes_Document'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in `visit'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in `accept'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/to_ruby.rb:20:in `accept'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/nodes/node.rb:35:in `to_ruby'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych.rb:128:in `load'
c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/helper.rb:35:in `assert_cycle'
c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/test_numeric.rb:22:in `test_big_decimal_round_trip'
3) Failure:
test_truncate_beyond_eof(TestFile) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/ruby/test_file.rb:65]:
[ruby-dev:24532].
<"\x00\x00\x00\x00\x00\x00\x00"> expected but was
<nil>.
4) Failure:
test_truncate_wbuf(TestFile) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/ruby/test_file.rb:46]:
[ruby-dev:24191].
<"\x00\x00\x00def"> expected but was
<"def">.
[...]
13) Failure:
test_typeof_builtin(TestMkmf::TestConvertible) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/mkmf/test_convertible.rb:8]:
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
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main() {return 0;}
/* end */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:12: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:13: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:8:18: error: conflicting types for 'foo'
conftest.c:7:22: note: previous declaration of 'foo' was here
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>.
14) Failure:
test_typeof_typedef(TestMkmf::TestConvertible) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/mkmf/test_convertible.rb:21]:
convertible_int: checking for convertible type of test1_t... -------------------- failed
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: warning: "stat" redefined [enabled by default]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:12: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:13: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
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 */
In file included from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/defines.h:223:0,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/ruby.h:67,
from c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby.h:32,
from conftest.c:1:
c:/Users/Jon/Documents/RubyDev/ruby-git/include/ruby/win32.h:186:0: error: "stat" redefined [-Werror]
c:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
conftest.c:10:18: error: conflicting types for 'foo'
conftest.c:9:22: note: previous declaration of 'foo' was here
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>.
1559 tests, 9507 assertions, 4 failures, 1 errors, 13 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment