Please stabilize dev-ruby/json-1.4.6. This has been in the tree for several months and contains bug fixes compared to the current stable version.
Created attachment 252705 [details] build.log Tests fail on amd64
(In reply to comment #1) > Created an attachment (id=252705) [details] > build.log > > Tests fail on amd64 This is bug 325745. It is not a regression from the currently stable version. I've had no luck reproducing it and thus fixing the problem. I don't think this needs to hold up stabilization although I would rather see this identified and fixed.
Stable for HPPA.
/usr/bin/ruby18 -S testrb ./tests/test_json_rails.rb ./tests/test_json_unicode.rb ./tests/test_json_addition.rb ./tests/test_json.rb ./tests/test_json_ encoding.rb ./tests/test_json_generate.rb ./tests/test_json_fixtures.rb Loaded suite [./tests/test_json_rails.rb, ./tests/test_json_unicode.rb, ./tests/test_json_addition.rb, ./tests/test_json.rb, ./tests/test_json_encoding .rb, ./tests/test_json_generate.rb, ./tests/test_json_fixtures.rb] Started ................................../lib/json/pure/parser.rb:198: warning: Float 23456789012E666 out of range ................F.. Finished in 2.97658 seconds. 1) Failure: test_symbol(TC_JSONRails) [./tests/test_json_rails.rb:142]: <"\"foo\""> expected but was <"{\"json_class\":\"Symbol\",\"s\":\"foo\"}">. 52 tests, 1932 assertions, 1 failures, 0 errors rake aborted! Command failed with status (1): [/usr/bin/ruby18 -S testrb ./tests/test_jso...] /var/tmp/portage/dev-ruby/json-1.4.6/work/ruby18/json-1.4.6/Rakefile:44:in `myruby' (See full trace by running task with --trace)
(In reply to comment #4) > /var/tmp/portage/dev-ruby/json-1.4.6/work/ruby18/json-1.4.6/Rakefile:44:in > `myruby' This tells me you are still using the old mechanism, so you are either testing json-1.4.6, or an old version of json-1.4.6-r1. Once it is clear that my change works it can be backported to 1.4.6.
dev-ruby/json-1.4.6 from the summary fails tests dev-ruby/json-1.4.6-r1 from comment #5 installs ok here on x86 52 tests, 1932 assertions, 0 failures, 0 errors >>> Install json-1.4.6-r1 into /var/tmp/portage/dev-ruby/json-1.4.6-r1/image/ category dev-ruby
x86 stable, thanks David (no test failures here, or maybe I missed something)
amd64 done
ppc stable
1.4.6 fails tests same way as in c#4. 1.4.6-r1 works fine. Diff r1 vs r0 shows only tests were affected, so why we're still stabilizing -r0?
(In reply to comment #10) > 1.4.6 fails tests same way as in c#4. 1.4.6-r1 works fine. > Diff r1 vs r0 shows only tests were affected, so why we're still stabilizing > -r0? I have backported the new test mechanism to json 1.4.6 so test should now work there as well. Note that json-1.4.6-r1 cannot be stabilized due to ruby19 in USE_RUBY.
ppc64 stable
ia64/sparc stable, closing