Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476212 - virtual/rubygems is causing slot errors since ruby20
Summary: virtual/rubygems is causing slot errors since ruby20
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 18:11 UTC by Harris Landgarten
Modified: 2013-07-27 10:55 UTC (History)
2 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 Harris Landgarten 2013-07-08 18:11:28 UTC
This is the error on paludis. Portage shows much the same complaining about slot conflicts. Seems packages that don't have rails20 ruby targets are all complaining about the rubygems-6:rail20 virtual

virtual/rubygems
    Reasons: target (installed-packages::installed), dev-ruby/abstract-1.0.0-r1:0::installed, dev-ruby/actionmailer-3.2.13:3.2::installed, 90 more
    Unsuitable candidates:
      * virtual/rubygems-6:ruby20::gentoo
        Did not meet virtual/rubygems[ruby_targets_jruby], use existing if same, installing to / from dev-ruby/abstract-1.0.0-r1:0::installed (and 49 more)
            Flag 'ruby_targets_jruby' enabled
        Did not meet virtual/rubygems[ruby_targets_ruby18], use existing if same, installing to / from dev-ruby/abstract-1.0.0-r1:0::installed (and 86 more)
            Flag 'ruby_targets_ruby18' enabled
        Did not meet virtual/rubygems[ruby_targets_ruby19], use existing if same, installing to / from dev-ruby/abstract-1.0.0-r1:0::installed (and 86 more)
            Flag 'ruby_targets_ruby19' enabled
Comment 1 Hans de Graaff gentoo-dev Security 2013-07-08 18:18:11 UTC
I haven't seen such errors with portage. Can you show me an example?
Comment 2 Harris Landgarten 2013-07-08 18:26:56 UTC
$ sudo emerge abstract -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-ruby/abstract-1.0.0-r1::gentoo [1.0.0-r1::__unknown__] USE="{-test}" RUBY_TARGETS="ruby18 ruby19 -jruby* (-ree18)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/abstract:0

  (dev-ruby/abstract-1.0.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-ruby/abstract-1.0.0-r1::__unknown__, installed) pulled in by
    >=dev-ruby/abstract-1.0.0[ruby_targets_jruby] required by (dev-ruby/erubis-2.7.0::__unknown__, installed)
Comment 3 Hans de Graaff gentoo-dev Security 2013-07-10 06:21:15 UTC
(In reply to Harris Landgarten from comment #0)
> This is the error on paludis. Portage shows much the same complaining about
> slot conflicts. Seems packages that don't have rails20 ruby targets are all
> complaining about the rubygems-6:rail20 virtual

Hopefully fixed yesterday by forcing the right USE flag for the package.
Comment 4 Hans de Graaff gentoo-dev Security 2013-07-10 06:21:59 UTC
(In reply to Harris Landgarten from comment #2)

> dev-ruby/abstract:0
> 
>   (dev-ruby/abstract-1.0.0-r1::gentoo, ebuild scheduled for merge) pulled in
> by
>     (no parents that aren't satisfied by other packages in this slot)
> 
>   (dev-ruby/abstract-1.0.0-r1::__unknown__, installed) pulled in by
>     >=dev-ruby/abstract-1.0.0[ruby_targets_jruby] required by
> (dev-ruby/erubis-2.7.0::__unknown__, installed)

This appears to be a different issue. You seem to have erubis installed with jruby support, and now want to install a dependency without it.