Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299595 - dev-ruby/jruby-openssl fails to emerge due to masked ruby_targets_jruby USE flag
Summary: dev-ruby/jruby-openssl fails to emerge due to masked ruby_targets_jruby USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://sources.gentoo.org/viewcvs.py/...
Whiteboard:
Keywords:
: 299807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-04 12:24 UTC by Martin von Gagern
Modified: 2010-01-08 10:46 UTC (History)
6 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 Martin von Gagern 2010-01-04 12:24:08 UTC
emerge -uND @world fails for me with USE="ssl" and NETBEANS_MODULES="ruby":

 * ERROR: dev-ruby/jruby-openssl-0.6-r1 failed:
 *   You need to select at least one Ruby implementation by setting RUBY_TARGETS in /etc/make.conf.

This error message appears even when I have RUBY_TARGETS="ruby18 jruby" in my make.conf. The cause for seems to be that ruby_targets_jruby is listed in profiles/base/use.mask since 2009-12-14. It would be nice if jruby-openssl would always build for jruby, no matter the RUBY_TARGETS and USE flag masks.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-04 14:43:04 UTC
This should really proceed with the plan I sent to Ali (unmasking of the USE flag).
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-05 23:47:46 UTC
*** Bug 299807 has been marked as a duplicate of this bug. ***
Comment 3 Kristian Karl 2010-01-07 13:26:31 UTC
Is there a workaround for this one?
Comment 4 Gabor Garami 2010-01-08 08:57:49 UTC
(In reply to comment #3)
> Is there a workaround for this one?
> 

I know one: install jruby-openssl with jgem and put it to packages.provided file.
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-01-08 10:17:13 UTC
(In reply to comment #4)
> I know one: install jruby-openssl with jgem and put it to packages.provided
> file.
> 

Don't do that.

Our JRuby guys plan on unmasking ruby_targets_jruby soon.

If you really need the package now:
File /etc/portage/profile/package.use.mask, add the following lines:

dev-ruby/jruby-openssl -ruby_targets_jruby
virtual/rubygems -ruby_targets_jruby

File /etc/make.conf, add:

RUBY_TARGETS="ruby18 jruby"

Note that this is a workaround, things might still break, so don't use this in production.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-08 10:46:55 UTC
Okay I unmasked the jruby target right now, so it should be all fine and dandy.

Have fun!