Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470960 - dev-ruby/amqp-0.9.7 add ruby 1.9 support
Summary: dev-ruby/amqp-0.9.7 add ruby 1.9 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 08:34 UTC by Krzysztof Tomczyk
Modified: 2013-12-10 07:32 UTC (History)
0 users

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 Krzysztof Tomczyk 2013-05-22 08:34:35 UTC
Looks like after adding ruby19 target amqp works without any problems
Comment 1 Hans de Graaff gentoo-dev Security 2013-05-22 16:43:58 UTC
This is an old version. Why do you need this particular version?
Comment 2 Krzysztof Tomczyk 2013-05-22 19:38:26 UTC
I need version equal or higher than 0.9.7. I tested my software working using version 0.9.7 as well as with version 0.9.8. I thought that it will be simpler to add ruby19 targets to older version which is longer in portage.
Comment 3 Hans de Graaff gentoo-dev Security 2013-05-26 08:26:14 UTC
amqp-1.0.2 was in the queue of gems to bump, but unfortunately it fails its specs with ruby19:

 * Running test phase for ruby19 ...
Using Ruby 1.9.3, amq-client 1.0.2 and amq-protocol 1.3.0
........*..................

Pending:
/var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:205:in `initialize': AMQP can only be used from within EM.run {} (RuntimeError)
	from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1281:in `new'
	from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1281:in `default'
	from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1288:in `method_missing'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:146:in `flatten'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:146:in `full_description'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:73:in `store_computed'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:46:in `[]'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:118:in `full_description'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:73:in `store_computed'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:46:in `[]'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:41:in `block (2 levels) in delegate_to_metadata'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:107:in `block in dump_pending'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:106:in `each'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:106:in `dump_pending'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:98:in `block in notify'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `each'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `notify'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:80:in `finish'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:36:in `report'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
	from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
 * ERROR: dev-ruby/amqp-1.0.2 failed (test phase):


Upstream doesn't have a clear place to report this.
Comment 4 Hans de Graaff gentoo-dev Security 2013-12-10 07:32:25 UTC
*amqp-1.0.2 (10 Sep 2013)

  10 Sep 2013; Hans de Graaff <graaff@gentoo.org> +amqp-1.0.2.ebuild:
  Version bump. Add ruby19.