Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301962

Summary: emerge dev-ruby/eventmachine-0.12.10-r1 failed (Missing IUSE: ruby_targets_ruby18)
Product: Gentoo Linux Reporter: Cheng <chenggn>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cheng 2010-01-23 17:39:36 UTC
`emerge eventmachine` failed. It seems eventmachine-0.12.10 was fine, but 0.12.10-r1 was not.


Reproducible: Always

Steps to Reproduce:
1. emerge eventmachine -up
Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "dev-ruby/rake[ruby_targets_ruby18]".
!!! One of the following packages is required to complete your request:
- dev-ruby/rake-0.8.7 (Missing IUSE: ruby_targets_ruby18)
(dependency required by "dev-ruby/eventmachine-0.12.10-r1" [ebuild])
(dependency required by "eventmachine" [argument])



#cat /etc/portage/package.keywords
www-servers/thin ~amd64
dev-ruby/eventmachine ~amd64
dev-ruby/radiant ~amd64
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-24 00:03:57 UTC
Either use rake from ~amd64 or don't use eventmachine from ~amd64, see http://blog.flameeyes.eu/tag/rubyng for the whole story behind this, but you're now getting part of the packages from the new interface and part from the old, which is not going to work.
Comment 2 Cheng 2010-01-24 11:17:14 UTC
I try to install the ruby web server `thin`, and a similar error occur.

 Missing IUSE: ruby_targets_ruby18

What is it anyway? Here is the emerge log:

emerge: there are no ebuilds built with USE flags to satisfy ">=dev-ruby/daemons-1.0.9[ruby_targets_ruby18]".
!!! One of the following packages is required to complete your request:
- dev-ruby/daemons-1.0.10 (Missing IUSE: ruby_targets_ruby18)
(dependency required by "www-servers/thin-1.2.5-r1" [ebuild])
(dependency required by "thin" [argument])
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-25 12:10:27 UTC
*** Bug 302154 has been marked as a duplicate of this bug. ***
Comment 4 Cheng 2010-01-25 14:40:06 UTC
Hello Diego:

How to resolve the problem happens to `thin`. I don't get a clear idea from the blog.

(In reply to comment #3)
> *** Bug 302154 has been marked as a duplicate of this bug. ***
> 

Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-28 13:47:20 UTC
> Either use rake from ~amd64 or don't use eventmachine from ~amd64
> Either use rake from ~amd64 or don't use eventmachine from ~amd64
> Either use rake from ~amd64 or don't use eventmachine from ~amd64

You're mixing stable and non-stable, so you're going to get problems. Just use _all_ the Ruby packages from unstable if you want some, as we're transitioning to a new system.