Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
An issue that use Emerge to install package[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Mon Feb 29, 2016 3:54 am    Post subject: An issue that use Emerge to install package[Solved] Reply with quote

Hi,
el. I'm not too much experienced within Gentoo portage,
issue is when i install the Nodejs use emerge as wiki: https://wiki.gentoo.org/wiki/NodeJS
and this time i get this error this:
Code:

[ebuild  N     ] net-libs/http-parser-2.6.1  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild   R    ] dev-libs/openssl-1.0.2f  USE="-bindist*"
[ebuild  N     ] dev-libs/libuv-1.8.0  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] app-admin/monit-5.16.1  USE="pam ssl -libressl"
[ebuild  N     ] www-servers/nginx-1.9.10-r3  USE="http http-cache http2 ipv6 pcre ssl -aio -debug -libatomic -libressl -luajit -pcre-jit -rtmp (-selinux) -threads -vim-syntax" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi -addition -ajp -auth_ldap -auth_pam -auth_request -cache_purge -dav -dav_ext -degradation -echo -fancyindex -flv -geoip -gunzip -gzip_static -headers_more -image_filter -lua -memc -metrics -mogilefs -mp4 -naxsi -perl -push_stream -random_index -realip -secure_link -security -slice -slowfs_cache -spdy -sticky -stub_status -sub -upload_progress -upstream_check -xslt" NGINX_MODULES_MAIL="-imap -pop3 -smtp" NGINX_MODULES_STREAM="-access -limit_conn -upstream"
[ebuild  N     ] net-libs/nodejs-5.6.0-r1  USE="npm snapshot ssl -debug -doc -icu {-test}" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7"

!!! 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.2f:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/openssl-1.0.2f:0=[-bindist] required by (net-libs/nodejs-5.6.0-r1:0/0::gentoo, ebuild scheduled for merge)
                                 ^^^^^^^^                                                                                                                   

  (dev-libs/openssl-1.0.2f:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0[bindist=] required by (dev-qt/qtnetwork-5.5.1:5/5::gentoo, installed)
                       ^^^^^^^^                                                                                                 
    >=dev-libs/openssl-0.9.8f:0[bindist=] required by (net-misc/openssh-7.1_p2-r1:0/0::gentoo, installed)
                                ^^^^^^^^                                                                                                     


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

so, i find the solution in wiki: https://wiki.gentoo.org/wiki/Troubleshooting in Portage issues
But issue not solved.
And absolutely i don't know what the problem is... :roll:
any help appreciate.


Last edited by se ven on Mon Mar 07, 2016 5:40 am; edited 1 time in total
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Feb 29, 2016 6:36 am    Post subject: Reply with quote

Quote:
(dev-libs/openssl-1.0.2f:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=dev-libs/openssl-1.0.2f:0=[-bindist] required by (net-libs/nodejs-5.6.0-r1:0/0::gentoo, ebuild scheduled for merge)
^^^^^^^^

(dev-libs/openssl-1.0.2f:0/0::gentoo, installed) pulled in by
dev-libs/openssl:0[bindist=] required by (dev-qt/qtnetwork-5.5.1:5/5::gentoo, installed)
^^^^^^^^
>=dev-libs/openssl-0.9.8f:0[bindist=] required by (net-misc/openssh-7.1_p2-r1:0/0::gentoo, installed)


Well frankly put, the bindist USE flag is the cause of the problem. (It is well known for causing numerous issues with it being enabled.) The output is saying is that nodejs needs openssl with bindist disabled. The next 2 in short, is saying that they need to be recompiled if that USE flag is changed. (note: Most likely, there is other packages too that needs recompiled.)
Back to top
View user's profile Send private message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Mon Feb 29, 2016 1:34 pm    Post subject: Reply with quote

ct85711 wrote:

Well frankly put, the bindist USE flag is the cause of the problem. (It is well known for causing numerous issues with it being enabled.) The output is saying is that nodejs needs openssl with bindist disabled. The next 2 in short, is saying that they need to be recompiled if that USE flag is changed. (note: Most likely, there is other packages too that needs recompiled.)

Thank you for your help.
And is that means i need to remove the 'bindist' from `USE` and recompiled package dev-qt/qtnetwork and net-misc/openssh?
Back to top
View user's profile Send private message
se ven
n00b
n00b


Joined: 22 Feb 2016
Posts: 18

PostPosted: Tue Mar 01, 2016 2:43 am    Post subject: Reply with quote

Code:

# emerge -pv openssh nodejs openssl qtnetwork monit nginx   

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

Calculating dependencies... done!
[ebuild  N     ] net-libs/http-parser-2.6.1:0/2.6.1::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 48 KiB
[ebuild   R    ] dev-libs/openssl-1.0.2f::gentoo  USE="asm tls-heartbeat zlib -bindist* -gmp -kerberos -rfc3779 -sctp -static-libs {-test} -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild  N     ] dev-libs/libuv-1.8.0:0/1::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 1,024 KiB
[ebuild  N     ] app-admin/monit-5.16.1::gentoo  USE="pam ssl -libressl" 1,198 KiB
[ebuild  N     ] www-servers/nginx-1.9.10-r3:mainline::gentoo  USE="http http-cache http2 ipv6 pcre ssl -aio -debug -libatomic -libressl -luajit -pcre-jit -rtmp (-selinux) -threads -vim-syntax" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi -addition -ajp -auth_ldap -auth_pam -auth_request -cache_purge -dav -dav_ext -degradation -echo -fancyindex -flv -geoip -gunzip -gzip_static -headers_more -image_filter -lua -memc -metrics -mogilefs -mp4 -naxsi -perl -push_stream -random_index -realip -secure_link -security -slice -slowfs_cache -spdy -sticky -stub_status -sub -upload_progress -upstream_check -xslt" NGINX_MODULES_MAIL="-imap -pop3 -smtp" NGINX_MODULES_STREAM="-access -limit_conn -upstream" 932 KiB
[ebuild   R    ] dev-qt/qtnetwork-5.5.1:5::gentoo  USE="ssl -bindist* -connman -debug -libproxy -networkmanager {-test}" 0 KiB
[ebuild  N     ] net-libs/nodejs-5.6.0-r1::gentoo  USE="npm snapshot ssl -debug -doc -icu {-test}" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python2_7" 13,000 KiB
[ebuild   R    ] net-misc/openssh-7.1_p2-r1::gentoo  USE="X hpn ldap pam pie ssl -X509 -bindist* -debug -kerberos -ldns -libedit -libressl -sctp (-selinux) -skey -ssh1 -static" 0 KiB

Total: 8 packages (5 new, 3 reinstalls), Size of downloads: 16,200 KiB

I reinstall the openssh openssl qtnetwork without 'bindist' flag as https://forums.gentoo.org/viewtopic-t-1020062-highlight-nodejs.html said,
and the problem solved! All packages were successfully rebuilded.
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Tue Mar 01, 2016 4:58 pm    Post subject: Reply with quote

se ven wrote:

I reinstall the openssh openssl qtnetwork without 'bindist' flag as https://forums.gentoo.org/viewtopic-t-1020062-highlight-nodejs.html said,
and the problem solved! All packages were successfully rebuilded.
That's fine. Now you should add
Code:
[Solved]
next to the title of the thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum