Gentoo Archives: gentoo-user

From: Space Cake <spacecakex@×××××.com>
To: gentoo-user@l.g.o
Cc: Alan McKinnon <alan.mckinnon@×××××.com>
Subject: [SOLVED] Re: [gentoo-user] Re: solving curl dependency issues
Date: Tue, 15 May 2012 10:06:45
Message-Id: 4FB22A23.5070106@gmail.com
In Reply to: Re: [gentoo-user] Re: solving curl dependency issues by Alan McKinnon
1 Thank you. It seems to be ok now
2
3 [ebuild R ~] net-misc/curl-7.25.0-r1 CURL_SSL="gnutls* -openssl*"
4 [ebuild R ~] net-libs/liboauth-0.9.6 USE="-curl*"
5
6 >=net-misc/curl-7.24.0 -curl_ssl_nss -curl_ssl_openssl curl_ssl_gnutls
7 ssl -nss ssh
8
9
10 Laszlo
11
12
13 On 2012. máj. 14., hétfő, 17.34.19 CEST, Alan McKinnon wrote:
14 >
15 > On Mon, 14 May 2012 16:02:15 +0200
16 > Space Cake<spacecakex@×××××.com> wrote:
17 >
18 >>
19 >> Removing keywords from curl produces this
20 >>
21 >> brutal keywords # emerge --keep-going -upND world
22 >>
23 >> These are the packages that would be merged, in order:
24 >>
25 >> Calculating dependencies... done!
26 >>
27 >> emerge: there are no ebuilds built with USE flags to satisfy
28 >> "net-misc/curl[ssl,curl_ssl_nss]".
29 >> !!! One of the following packages is required to complete your
30 >> request:
31 >> - net-misc/curl-7.25.0-r1::gentoo (Change USE: +curl_ssl_nss, this
32 >> change violates use flag constraints defined by
33 >> net-misc/curl-7.25.0-r1: 'threads? ( !ares ) ssl? ( exactly-one-of (
34 >> curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_openssl
35 >> curl_ssl_nss curl_ssl_polarssl ) )')
36 >> (dependency required by
37 >> "net-libs/liboauth-0.9.6[curl,nss]" [installed]) (dependency required
38 >> by
39 >> "gnome-extra/evolution-data-server-3.2.3-r1[gnome-online-accounts]"
40 >> [installed])
41 >> (dependency required by
42 >> "gnome-extra/gnome-contacts-3.2.2" [installed]) (dependency required
43 >> by "@selected" [set]) (dependency required by "@world" [argument])
44 >>
45 >>
46 >> eix output:[I] net-misc/curl
47 >> Available versions: 7.21.4 (~)7.21.6 (~)7.21.7 (~)7.21.7-r2
48 >> (~)7.22.0 (~)7.23.1 7.24.0 (~)7.25.0 (~)7.25.0-r1 {ares
49 >> curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss
50 >> +curl_ssl_openssl curl_ssl_polarssl gnutls idn ipv6 kerberos ldap nss
51 >> ssh ssl static-libs test threads}
52 >> Installed versions: 7.25.0-r1(12.34.47
53 >> 2012-05-14)(curl_ssl_openssl idn ipv6 ldap ssh ssl threads -ares
54 >> -curl_ssl_axtls -curl_ssl_cyassl -curl_ssl_gnutls -curl_ssl_nss
55 >> -curl_ssl_polarssl -kerberos -static-libs -test)
56 >> Homepage: http://curl.haxx.se/
57 >> Description: A Client that groks URLs
58 >>
59 >>
60 >> So, this is asking for curl_ssl_nss,
61 >>
62 >> But after I set this I'm getting this
63 >>
64 >> brutal ~ # emerge --keep-going -upND world
65 >>
66 >> These are the packages that would be merged, in order:
67 >>
68 >> Calculating dependencies /
69 >>
70 >> !!! Problem resolving dependencies for net-misc/curl from @selected
71 >> ... done!
72 >>
73 >> !!! The ebuild selected to satisfy "net-misc/curl" has unmet
74 >> requirements.
75 >> - net-misc/curl-7.25.0-r1::gentoo USE="idn ipv6 ldap ssl threads
76 >> -ares -kerberos -ssh -static-libs -test" CURL_SSL="nss openssl -axtls
77 >> -cyassl -gnutls -polarssl"
78 >>
79 >> The following REQUIRED_USE flag constraints are unsatisfied:
80 >> ssl? ( exactly-one-of ( curl_ssl_axtls curl_ssl_cyassl
81 >> curl_ssl_gnutls curl_ssl_openssl curl_ssl_nss curl_ssl_polarssl ) )
82 >>
83 >> The above constraints are a subset of the following complete
84 >> expression:
85 >> threads? ( !ares ) ssl? ( exactly-one-of ( curl_ssl_axtls
86 >> curl_ssl_cyassl curl_ssl_gnutls curl_ssl_openssl curl_ssl_nss
87 >> curl_ssl_polarssl ) )
88 >>
89 >> (dependency required by "@selected" [set])
90 >> (dependency required by "@world" [argument])
91 >>
92 >>
93 >>
94 >>
95 >> On 2012. máj. 14., hétfő, 15.08.17 CEST, walt wrote:
96 >>>
97 >>> On 05/14/2012 03:49 AM, Space Cake wrote:
98 >>>>
99 >>>> Hi,
100 >>>>
101 >>>> For several weeks I'm trying to solve dependency issues with curl,
102 >>>> but I'm lost.. any idea?
103 >>>
104 >>>
105 >>> That problem drove me nuts for months. I finally discovered by
106 >>> desperate trial and error that un-setting the 'curl' useflag fixes
107 >>> it. Finally!
108 >>>
109 >>>
110 >>>
111 >>
112 >>
113 >
114 >
115 > The requirements are (from the error message):
116 >
117 > If USE=ssl then use exactly one of the following:
118 > curl_ssl_axtls
119 > curl_ssl_cyassl
120 > curl_ssl_gnutls
121 > curl_ssl_openssl
122 > curl_ssl_nss
123 > curl_ssl_polarssl
124 >
125 > You have the following set for curl (per eix):
126 >
127 > curl_ssl_openssl
128 >
129 > But the error message also says that this is required:
130 > net-misc/curl[ssl,curl_ssl_nss] by liboauth
131 >
132 > You cannot have curl_ssl_nss and curl_ssl_openssl both set for curl as
133 > liboauth complains
134 >
135 > So, what you need to do is set
136 >
137 > USE="-curl_ssl_openssl curl_ssl_nss" for curl
138 >
139 > If you read my post carefully and see how all the bits fit the output
140 > you supplied, it all makes sense. Portage output is not exactly
141 > intuitive but it can be understood.
142 >
143 > Or you could unset USE="curl" for liboauth.
144 >
145 > I don't know if you'll be willing to switch from curl_ssl just to make
146 > liboauth happy. That's your call.

Attachments

File name MIME type
smime.p7s application/pkcs7-signature