[#47386] [Backport92 - Backport #6958][Open] buggy BigDecimal#integer? — "adrianomitre (Adriano Mitre)" <adriano.mitre@...>
7 messages
2012/09/01
[#47409] [ruby-trunk - Feature #6973][Open] Add an #integral? method to Numeric to test for whole-number values — "regularfry (Alex Young)" <alex@...>
12 messages
2012/09/03
[#47444] [ruby-trunk - Bug #6986][Open] Inconsistent result of BigDecimal#power — "phasis68 (Heesob Park)" <phasis@...>
7 messages
2012/09/06
[#47453] [ruby-trunk - Bug #6994][Open] yield plus splat unwraps too much — "headius (Charles Nutter)" <headius@...>
8 messages
2012/09/07
[#47460] [ruby-trunk - Bug #6997][Open] Improve documentation for OptionParser — "eike.rb (Eike Dierks)" <eike@...>
7 messages
2012/09/08
[#47465] [ruby-trunk - Feature #7003][Assigned] Please decide. MVM to be with 2.0? — "shyouhei (Shyouhei Urabe)" <shyouhei@...>
3 messages
2012/09/10
[#47483] [ruby-trunk - Bug #7009][Open] Crash in method_missing — "alexcoplan (Alex Coplan)" <lexy0202@...>
6 messages
2012/09/12
[#47523] [ruby-trunk - Feature #7022][Open] add event hook for garbage collection — "rogerdpack (Roger Pack)" <rogerpack2005@...>
7 messages
2012/09/14
[#47531] [ruby-trunk - Feature #7022] add event hook for garbage collection
— "rogerdpack (Roger Pack)" <rogerpack2005@...>
2012/09/14
[#47540] autoload & require — Xavier Noria <fxn@...>
Hi,
4 messages
2012/09/15
[#47562] feature request: thread pool class — Roger Pack <rogerdpack2@...>
It has always seemed a bit odd to me that Ruby's sdlib doesn't have some kind of
4 messages
2012/09/17
[#47638] [ruby-trunk - Bug #7046][Open] ERB#run and ERB#result are not safe for concurrent use — "headius (Charles Nutter)" <headius@...>
11 messages
2012/09/21
[#47653] [ruby-trunk - Bug #7050][Open] encoding of String#unpack for 'H', 'h', 'B' and 'b' — "Eregon (Benoit Daloze)" <redmine@...>
6 messages
2012/09/22
[#47655] [ruby-trunk - Feature #7051][Open] Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread. — "sam.saffron (Sam Saffron)" <sam.saffron@...>
13 messages
2012/09/23
[#47709] [ruby-trunk - Bug #7076][Open] TestUnicodeEscape#test_basic failure on Windows — "h.shirosaki (Hiroshi Shirosaki)" <h.shirosaki@...>
4 messages
2012/09/27
[#47719] [ruby-trunk - Bug #7082][Open] Process.kill 0 in windows can return spurious success — "rogerdpack (Roger Pack)" <rogerpack2005@...>
6 messages
2012/09/28
[#47730] [ruby-trunk - Bug #7085][Open] Subversion → GitHub gateway stops. — "shyouhei (Shyouhei Urabe)" <shyouhei@...>
27 messages
2012/09/29
[#47731] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/09/29
[#47743] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Evan Phoenix <evan@...>
2012/09/29
Hello shyouhei,
[#47746] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Urabe Shyouhei <shyouhei@...>
2012/09/30
On 09/30/2012 02:33 AM, Evan Phoenix wrote:
[#48020] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/10/16
[#48953] [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— "shyouhei (Shyouhei Urabe)" <shyouhei@...>
2012/11/05
[#49123] Re: [ruby-trunk - Bug #7085] Subversion → GitHub gateway stops.
— Evan Phoenix <evan@...>
2012/11/08
So sorry for the continual delay. I'm setting this up right now but it appears that I (evanphx on github) don't have access to push to ruby/ruby. When I am added, I can update the repo immediately.
[#47735] [ruby-trunk - Bug #7087][Open] ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist — "rklemme (Robert Klemme)" <shortcutter@...>
10 messages
2012/09/29
[ruby-core:47406] [ruby-trunk - Bug #6971][Open] r36832 breaks test/mkmf/test_convertible.rb
From:
"vo.x (Vit Ondruch)" <v.ondruch@...>
Date:
2012-09-03 11:08:14 UTC
List:
ruby-core #47406
Issue #6971 has been reported by vo.x (Vit Ondruch).
----------------------------------------
Bug #6971: r36832 breaks test/mkmf/test_convertible.rb
https://bugs.ruby-lang.org/issues/6971
Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-09-03 trunk 36887) [x86_64-linux]
# make test-all TESTS=test/mkmf/test_convertible.rb
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -m64
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.2.0 -fstack-protector -m64
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" test/mkmf/test_convertible.rb
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems"
# Running tests:
[1/2] TestMkmf::TestConvertible#test_typeof_builtin = 0.42 s
1) Failure:
test_typeof_builtin(TestMkmf::TestConvertible) [/builddir/build/BUILD/ruby-2.0.0-r36887/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 /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(void) {return 0;}
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: typedef signed short rbcv_typedef_;
4:
5: /*top*/
6: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:6:12: error: conflicting types for ‘foo’
conftest.c:5:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: typedef signed short rbcv_typedef_;
4:
5: extern rbcv_typedef_ foo();
6: extern int foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: typedef signed short rbcv_typedef_;
4:
5: extern rbcv_typedef_ foo();
6: extern short foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:6:13: error: conflicting types for ‘foo’
conftest.c:5:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: typedef signed short rbcv_typedef_;
4:
5: extern rbcv_typedef_ foo();
6: extern long foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:6:18: error: conflicting types for ‘foo’
conftest.c:5:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: typedef signed short rbcv_typedef_;
4:
5: extern rbcv_typedef_ foo();
6: extern long long foo();
/* end */
--------------------
.
<"short"> expected but was
<nil>.
[2/2] TestMkmf::TestConvertible#test_typeof_typedef = 0.33 s
2) Failure:
test_typeof_typedef(TestMkmf::TestConvertible) [/builddir/build/BUILD/ruby-2.0.0-r36887/test/mkmf/test_convertible.rb:21]:
convertible_int: checking for convertible type of test1_t... -------------------- failed
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <confdefs.h>
4: typedef test1_t rbcv_typedef_;
5:
6: /*top*/
7: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:8:12: error: conflicting types for ‘foo’
conftest.c:7:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <confdefs.h>
4:
5: typedef test1_t rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern int foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <confdefs.h>
4:
5: typedef test1_t rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern short foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:8:13: error: conflicting types for ‘foo’
conftest.c:7:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <confdefs.h>
4:
5: typedef test1_t rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long foo();
/* end */
In file included from /builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby.h:33:0,
from conftest.c:1:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h: In function ‘rb_float_value’:
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
/builddir/build/BUILD/ruby-2.0.0-r36887/include/ruby/ruby.h:746:6: error: suggest parentheses around arithmetic in operand of ‘|’ [-Werror=parentheses]
conftest.c: At top level:
conftest.c:8:18: error: conflicting types for ‘foo’
conftest.c:7:22: note: previous declaration of ‘foo’ was here
cc1: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <confdefs.h>
4:
5: typedef test1_t rbcv_typedef_;
6:
7: extern rbcv_typedef_ foo();
8: extern long long foo();
/* end */
--------------------
.
<"short"> expected but was
<nil>.
Finished tests in 0.757810s, 2.6392 tests/s, 6.5980 assertions/s.
2 tests, 5 assertions, 2 failures, 0 errors, 0 skips
ruby -v: ruby 2.0.0dev (2012-09-03 trunk 36887) [x86_64-linux]
make: *** [yes-test-all] Error 2
It works just fine when reverting the patch. Testing with Fedora Rawhide.
# rpm -q gcc
gcc-4.7.1-7.fc19.x86_64
--
http://bugs.ruby-lang.org/