Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
curl & ssl dependency issues
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
dkasak
n00b
n00b


Joined: 10 Feb 2012
Posts: 61

PostPosted: Mon Dec 11, 2017 2:43 am    Post subject: curl & ssl dependency issues Reply with quote

Hi all. I'm trying to "rebuild world" after the profile update. There are a SHITLOAD of issues, most of which I can hopefully deal with, but the one below, I can't:

Code:
emerge: there are no ebuilds built with USE flags to satisfy "net-misc/curl[ssl,curl_ssl_nss]".
!!! One of the following packages is required to complete your request:
- net-misc/curl-7.57.0::gentoo (Change USE: +curl_ssl_nss, this change violates use flag constraints defined by net-misc/curl-7.57.0: 'curl_ssl_winssl? ( elibc_Winnt ) threads? ( !adns ) ssl? ( exactly-one-of ( curl_ssl_axtls curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss curl_ssl_openssl curl_ssl_winssl ) )')
(dependency required by "net-libs/liboauth-1.0.3::gentoo[curl,nss]" [ebuild])
(dependency required by "dev-libs/libgdata-0.17.9-r1::gentoo" [ebuild])
(dependency required by "media-plugins/grilo-plugins-0.3.5::gentoo[youtube]" [ebuild])
(dependency required by "media-sound/gnome-music-3.24.2::gentoo" [ebuild])
(dependency required by "gnome-base/gnome-extra-apps-3.24.0::gentoo[tracker]" [ebuild])
(dependency required by "gnome-base/gnome-3.24.0::gentoo[extras]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


I had an attempt at fixing this quite a while back, failed, and hoped it would quietly disappear by itself. I don't really care which of the ssl options gets used, as long as it builds. However I seem to have somehow built stuff that has mutually exclusive dependencies - no matter what ssl option I go with, there is a long list of issues. What's the best one to choose for "just getting stuff to build", if there is such an option?
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Dec 11, 2017 3:50 am    Post subject: Reply with quote

Code:
- net-misc/curl-7.57.0::gentoo (Change USE: +curl_ssl_nss, this change violates use flag constraints defined by net-misc/curl-7.57.0: 'curl_ssl_winssl? ( elibc_Winnt ) threads? ( !adns ) ssl? ( exactly-one-of ( curl_ssl_axtls curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss curl_ssl_openssl curl_ssl_winssl ) )')


Well, as it is saying you are having an issue of having multiple USE flags enabled for CURL_SSL (only one flag can be enabled at the same time), where both curl_ssl_openssl (enabled by default) and liboauth wanting curl_ssl_nss enabled.

Now you have 2 ways to fix this, you can disable the curl USE flag on liboauth (removing the dependency of having the curl_ssl_nss USE flag enabled) or disable curl_ssl_openssl USE flag on curl.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Dec 11, 2017 5:58 am    Post subject: Reply with quote

An openssl monoculture is a good thing to avoid, so...
Code:
echo "net-misc/curl CURL_SSL: -* nss" >> /etc/portage/package.use
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Wed Jan 24, 2018 6:07 pm    Post subject: Reply with quote

In order to get net_misc/curl and net-libs/liboauth to emerge I have used
Code:
net-misc/curl ssl -curl_ssl_nss curl_ssl_openssl
net-libs/liboauth -nss
in /etc/portage/package.use
Back to top
View user's profile Send private message
pcfreak85
n00b
n00b


Joined: 11 Feb 2005
Posts: 57

PostPosted: Thu Mar 29, 2018 11:32 am    Post subject: Reply with quote

Confirmed to work for me also!

Code:

net-misc/curl ssl -curl_ssl_nss curl_ssl_openssl
net-libs/liboauth -nss

_________________
---
Gentoo running on Lenovo Thinkpad T420 with KDE / SDDM
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz / 8GB memory / nvidia graphics
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