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

Bug 592806

Summary: dev-ruby/activesupport-5.0.0.1 dev-ruby/rails_deprecated_sanitizer blocker
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2016-09-03 14:43:57 UTC
[ebuild   R    ] dev-ruby/activesupport-5.0.0.1:5.0::gentoo [5.0.0.1:5.0::__unknown__] USE="{-test}" RUBY_TARGETS="ruby22 ruby23 (-ruby21%*)" 0 KiB
[ebuild   R    ] dev-ruby/rails-deprecated_sanitizer-1.0.3-r1::gentoo [1.0.3-r1::__unknown__] USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22 ruby23 -ruby20" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

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

dev-ruby/activesupport:5.0

  (dev-ruby/activesupport-5.0.0.1:5.0/5.0::gentoo, ebuild scheduled for merge) pulled in by
    dev-ruby/activesupport:5.0 (Argument)

  (dev-ruby/activesupport-5.0.0.1:5.0/5.0::__unknown__, installed) pulled in by
    >=dev-ruby/activesupport-4.2[ruby_targets_ruby21] required by (dev-ruby/rails-deprecated_sanitizer-1.0.3-r1:0/0::gentoo, ebuild scheduled for merge)
Comment 1 Hans de Graaff gentoo-dev Security 2016-09-04 06:15:09 UTC
It is not clear to me what you are trying to do and the log file snippet does not provide enough information to determine that.

Could you explain what you are trying to do and upload better log files?
Comment 2 Harris Landgarten 2016-09-04 11:53:24 UTC
Since installing the new activesupport:5.0, rails-deprecated-sanitizer complains that it has to support ruby21 which it does not. Removing ruby21 support from rails-deprecated-sanitizer breaks other things.

Now when I update the computer I get the following error from paludis:

I encountered the following errors:

!   dev-ruby/activesupport
    Reasons: target (installed-packages::installed), dev-ruby/rails-deprecated_sanitizer-1.0.3-r1:0::installed
    Unsuitable candidates:
      * dev-ruby/activesupport-5.0.0.1:5.0::installed
      * dev-ruby/activesupport-5.0.0.1:5.0::gentoo
        Did not meet >=dev-ruby/activesupport-4.2[ruby_targets_ruby21], use existing if same metadata, installing to / from dev-ruby/rails-deprecated_sanitizer-1.0.3-r1:0::installed
            Flag 'ruby_targets_ruby21' enabled
Comment 3 Hans de Graaff gentoo-dev Security 2016-09-05 17:23:07 UTC
Does this happen even when you have activesupport:4.2 (or an earlier slot) installed?
Comment 4 Harris Landgarten 2016-09-05 22:41:35 UTC
I do have activesupport:4.2 installed for ruby21, ruby22 and ruby23.

I think the:

  >=dev-ruby/activesupport-4.2[ruby_targets_ruby21] required by (dev-ruby/rails-deprecated_sanitizer-1.0.3-r1:0/0::gentoo, ebuild scheduled for merge)

is being applied to all slots and needs to be adjusted now that activesupport:5.0 no longer supports ruby21
Comment 5 Hans de Graaff gentoo-dev Security 2018-12-01 08:26:28 UTC
Rails 5.0 has now been masked for removal.