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

Bug 564754

Summary: unable to emerge ruby rails circular conflict with openssl
Product: Gentoo Linux Reporter: far jump <far.jmp>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=473332
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description far jump 2015-11-03 06:53:25 UTC
Created attachment 415982 [details]
emerge --info

This is a brand new install of gentoo on a new machine
unable to emerge dev-ruby/rails.  1st emerge says:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-libs/nodejs-0.12.6::gentoo[ssl]
# required by dev-ruby/execjs-2.6.0::gentoo
# required by dev-ruby/coffee-script-2.4.1::gentoo[ruby_targets_ruby20]
# required by dev-ruby/coffee-rails-4.1.0::gentoo[ruby_targets_ruby21]
# required by dev-ruby/rails-4.2.4::gentoo[asset-pipeline,ruby_targets_ruby20]
# required by dev-ruby/rails (argument)
>=dev-libs/openssl-1.0.2d -bindist

when I update package.use

2nd attempt says:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2d:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-libs/openssl-0.9.8f:0[bindist] required by (net-misc/openssh-6.9_p1-r2:0/0::gentoo, installed)
                                ^^^^^^^ 


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-libs/nodejs-0.12.6::gentoo[ssl]
# required by dev-ruby/execjs-2.6.0::gentoo
# required by dev-ruby/coffee-script-2.4.1::gentoo[ruby_targets_ruby20]
# required by dev-ruby/coffee-rails-4.1.0::gentoo[ruby_targets_ruby20]
# required by dev-ruby/rails-4.2.4::gentoo[asset-pipeline,ruby_targets_ruby20]
# required by dev-ruby/rails (argument)
=dev-libs/openssl-1.0.1p -bindist

so I update package.use as advised and 3rd emerge says:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2d:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/openssl:0=[-bindist] required by (net-libs/nodejs-0.12.6:0/0::gentoo, ebuild scheduled for merge)
                        ^^^^^^^^                                                                                                                  

  (dev-libs/openssl-1.0.2d:0/0::gentoo, installed) pulled in by
    >=dev-libs/openssl-0.9.8f:0[bindist=] required by (net-misc/openssh-6.9_p1-r2:0/0::gentoo, installed)
                                ^^^^^^^^
Comment 1 Tomáš Mózes 2015-11-03 07:27:35 UTC
nodejs as a dep needs openssl[-bindist]. But openssh and openssl need to agree on bindist, so either set -bindist on openssh or globally.
Comment 2 far jump 2015-11-03 16:14:22 UTC
(In reply to Tomas Mozes from comment #1)
> nodejs as a dep needs openssl[-bindist]. But openssh and openssl need to
> agree on bindist, so either set -bindist on openssh or globally.

Thank You