Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411507 - dev-lang/ruby-1.9.3_p194-r1 stable request
Summary: dev-lang/ruby-1.9.3_p194-r1 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: STABLEREQ
: 436878 (view as bug list)
Depends on: 416963 421611
Blocks: CVE-2012-2125 416583 421615
  Show dependency tree
 
Reported: 2012-04-10 19:08 UTC by Hans de Graaff
Modified: 2012-11-06 16:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2012-04-10 19:08:50 UTC
Please test and mark stable dev-lang/ruby:1.9. This new slot has been in the tree for almost two months. dev-lang/ruby:1.8 will no longer be supported by upstream starting this summer and we want to make sure we are ready to make ruby:1.9 the primary ruby implementation at this time.

Please note that will technically not a dependency, we also need to mark stable a newer version of rubygems, since ruby:1.9 blocks older versions and ruby without rubygems is not usable.

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.15
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
Comment 1 Hans de Graaff gentoo-dev Security 2012-05-19 06:35:32 UTC
A new list with update rubygems version to ensure that we also fix bug 412901 and a few more essential packages.

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6
=dev-ruby/rdoc-3.5.3
Comment 2 Hans de Graaff gentoo-dev Security 2012-05-20 15:57:23 UTC
Updated list with a new enough rdoc for ruby 1.9:

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6
=dev-ruby/rdoc-3.12
Comment 3 Hans de Graaff gentoo-dev Security 2012-05-20 16:22:56 UTC
Apologies for the additional bugspam, but rdoc itself obviously also has dependencies that I missed in the list. Below I've created two lists, since rdoc is a PDEPEND of dev-lang/ruby.

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6


=dev-ruby/racc-1.4.6-r1
=dev-ruby/json-1.5.4-r1
=dev-ruby/minitest-2.8.1
=dev-ruby/rubyforge-2.0.4-r2
=dev-ruby/rdoc-3.12
Comment 4 Hans de Graaff gentoo-dev Security 2012-05-20 17:44:45 UTC
... and while copying the list from my notes I somehow forgot to include hoe... 

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6


=dev-ruby/racc-1.4.6-r1
=dev-ruby/json-1.5.4-r1
=dev-ruby/minitest-2.8.1
=dev-ruby/rubyforge-2.0.4-r2
=dev-ruby/hoe-2.12.5
=dev-ruby/rdoc-3.12
Comment 5 Agostino Sarubbo gentoo-dev 2012-05-20 21:03:43 UTC
amd64 stable
Comment 6 Markus Meier gentoo-dev 2012-05-27 17:54:12 UTC
arm stable
Comment 7 Andreas Schürch gentoo-dev 2012-06-21 07:47:29 UTC
on x86:
dev-ruby/rubygems-1.8.24 with FEATURES=test and RUBY_TARGET=jruby would like to pull in =virtual/ruby-rdoc-2.

Should virtual/ruby-rdoc-2 also get marked stable on x86?

But even with it, i get a test failure if i have jruby as target and emerge =dev-ruby/minitest-2.8.1

 * Running test phase for jruby ...
(in /var/tmp/portage/dev-ruby/minitest-2.8.1/work/jruby/minitest-2.8.1)
/usr/bin/jruby -w -Ilib:bin:test:. -e 'require "rubygems"; require "minitest/autorun"; require "test/test_minitest_mock.rb"; require "test/test_minitest_benchmark.rb"; require "test/test_minitest_spec.rb"' -- 
Run options: --seed 46514

# Running tests:

...............................................................E.E.

Finished tests in 0.349000s, 191.9771 tests/s, 644.6991 assertions/s.

  1) Error:
test_mock_args_does_not_raise(TestMiniTestMock):
NoMethodError: unmocked method :==, expected one of []
    org/jruby/RubyArray.java:1928:in `=='
    org/jruby/RubyHash.java:979:in `=='
    org/jruby/RubyArray.java:1309:in `include?'
    org/jruby/RubyHash.java:1236:in `each_key'
    ./test/test_minitest_mock.rb:73:in `test_mock_args_does_not_raise'
    org/jruby/RubyKernel.java:2093:in `send'
    org/jruby/RubyArray.java:2318:in `collect'
    org/jruby/RubyArray.java:2318:in `collect'
    org/jruby/RubyKernel.java:2093:in `send'
    org/jruby/RubyArray.java:1612:in `each'
    org/jruby/RubyProc.java:270:in `call'
    org/jruby/RubyProc.java:224:in `call'

  2) Error:
test_return_mock_does_not_raise(TestMiniTestMock):
NoMethodError: unmocked method :==, expected one of []
    org/jruby/RubyHash.java:979:in `=='
    org/jruby/RubyArray.java:1309:in `include?'
    org/jruby/RubyHash.java:1236:in `each_key'
    ./test/test_minitest_mock.rb:64:in `test_return_mock_does_not_raise'
    org/jruby/RubyKernel.java:2093:in `send'
    org/jruby/RubyArray.java:2318:in `collect'
    org/jruby/RubyArray.java:2318:in `collect'
    org/jruby/RubyKernel.java:2093:in `send'
    org/jruby/RubyArray.java:1612:in `each'
    org/jruby/RubyProc.java:270:in `call'
    org/jruby/RubyProc.java:224:in `call'

67 tests, 225 assertions, 0 failures, 2 errors, 0 skips
rake aborted!
Command failed with status (1): [/usr/bin/jruby -w -Ilib:bin:test:. -e 'req...]
Comment 8 Hans de Graaff gentoo-dev Security 2012-06-21 18:32:11 UTC
(In reply to comment #7)

> Should virtual/ruby-rdoc-2 also get marked stable on x86?

It should already have been marked stable when jruby went stable. I've marked it stable now.
Comment 9 Hans de Graaff gentoo-dev Security 2012-06-21 18:33:29 UTC
(In reply to comment #7)
> on x86:

> But even with it, i get a test failure if i have jruby as target and emerge
> =dev-ruby/minitest-2.8.1

It looks like something got broken with newer jruby releases. We'll need a newer minitest version. New complete list:

=dev-lang/ruby-1.9.3_p125
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6


=dev-ruby/racc-1.4.6-r1
=dev-ruby/json-1.5.4-r1
=dev-ruby/minitest-2.12.1
=dev-ruby/rubyforge-2.0.4-r2
=dev-ruby/hoe-2.12.5
=dev-ruby/rdoc-3.12
Comment 10 Andreas Schürch gentoo-dev 2012-06-22 21:27:16 UTC
(In reply to comment #9)
> It looks like something got broken with newer jruby releases. We'll need a
> newer minitest version. New complete list:

Thanks, that looks good now! :-)

A revdep (sci-biology/bioruby) has no ruby-target support yet and only seem to work with 1.8! 
dev-ruby/quixml suffers from the same thing in current stable (0.2.1-r1), but 0.2.1-r2 looks good... should we also add dev-ruby/quixml-0.2.1-r2 to the list?
Comment 11 Hans de Graaff gentoo-dev Security 2012-06-23 05:55:33 UTC
(In reply to comment #10)

> A revdep (sci-biology/bioruby) has no ruby-target support yet and only seem
> to work with 1.8! 
> dev-ruby/quixml suffers from the same thing in current stable (0.2.1-r1),
> but 0.2.1-r2 looks good... should we also add dev-ruby/quixml-0.2.1-r2 to
> the list?

There has been ample warning for the new ruby version, so please continue with stabling. Also some arches are already done and I don't want to add new packages to this list unless we have to. We can file new bugs for packages that still have issues (and quixml seems to work fine for me).
Comment 12 Andreas Schürch gentoo-dev 2012-06-25 07:46:13 UTC
x86 stable! Thank you!
Comment 13 nixnut (RETIRED) gentoo-dev 2012-07-22 14:24:21 UTC
ppc stable
Comment 14 Hans de Graaff gentoo-dev Security 2012-07-23 17:11:00 UTC
We are now targeting a newer version of dev-lang/ruby. New complete list:

=dev-lang/ruby-1.9.4_p94-r1
=dev-ruby/rubygems-1.8.24
=virtual/rubygems-4
=virtual/ruby-minitest-0-r2
=virtual/ruby-rdoc-1
=virtual/ruby-ssl-1
=virtual/ruby-test-unit-0-r4
=virtual/ruby-threads-1
=dev-ruby/rake-0.8.7-r6


=dev-ruby/racc-1.4.6-r1
=dev-ruby/json-1.5.4-r1
=dev-ruby/minitest-2.12.1
=dev-ruby/rubyforge-2.0.4-r2
=dev-ruby/hoe-2.12.5
=dev-ruby/rdoc-3.12
Comment 15 Anthony Basile gentoo-dev 2012-07-25 17:18:00 UTC
> =dev-lang/ruby-1.9.4_p94-r1

I think you mean here ruby-1.9.3_p194-r1  You're missing a 1 after the _p
Comment 16 Anthony Basile gentoo-dev 2012-07-25 21:06:32 UTC
Okay ppc64 done.  Here's what was stabilized in the order that it was committed (due to unstable deps leading to repoman warnings): 

dev-lang/ruby-1.9.3_p194-r1
virtual/rubygems-4
virtual/ruby-minitest-0-r2
virtual/ruby-rdoc-1
virtual/ruby-ssl-1
virtual/ruby-test-unit-0-r4
virtual/ruby-threads-1
dev-ruby/rake-0.8.7-r6
dev-ruby/racc-1.4.6-r1
dev-ruby/json-1.5.4-r1
dev-ruby/rubyforge-2.0.4-r2
dev-ruby/rdoc-3.12
dev-ruby/hoe-2.12.5
dev-ruby/minitest-2.12.1
dev-ruby/rubygems-1.8.24
Comment 17 Hans de Graaff gentoo-dev Security 2012-07-31 05:45:07 UTC
We are now targeting a newer version of json. New complete list:

dev-lang/ruby-1.9.3_p194-r1
virtual/rubygems-4
virtual/ruby-minitest-0-r2
virtual/ruby-rdoc-1
virtual/ruby-ssl-1
virtual/ruby-test-unit-0-r4
virtual/ruby-threads-1
dev-ruby/rake-0.8.7-r6
dev-ruby/racc-1.4.6-r1
dev-ruby/json-1.6.7
dev-ruby/rubyforge-2.0.4-r2
dev-ruby/rdoc-3.12
dev-ruby/hoe-2.12.5
dev-ruby/minitest-2.12.1
dev-ruby/rubygems-1.8.24
Comment 18 Anthony Basile gentoo-dev 2012-08-14 12:13:27 UTC
(In reply to comment #17)
> We are now targeting a newer version of json. New complete list:
> 

You should re-add the arches that need to do that.  I would never have seen that if I had not revisited the bug.
Comment 19 Hans de Graaff gentoo-dev Security 2012-10-02 05:30:38 UTC
*** Bug 436878 has been marked as a duplicate of this bug. ***
Comment 20 Hans de Graaff gentoo-dev Security 2012-10-02 05:50:12 UTC
We will start recommending that people select ruby 1.9 as their default ruby in a month or so. We are starting to see packages no longer supporting ruby 1.8, and ruby 1.8 is currently in end-of-life security-only support. It would be great if all remaining arches could also mark ruby 1.9 stable so we can tell the same story to everyone.
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-22 09:22:10 UTC
There is still bug #388123 which seems pretty grave to me. I'll test this new ruby version soon.
Comment 22 Raúl Porcel (RETIRED) gentoo-dev 2012-10-27 18:42:58 UTC
alpha/ia64/s390/sh/sparc stable, i believe
Comment 23 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-06 16:59:50 UTC
Stable for HPPA. Closing.