[gentoo-user] Re: Please help me understand this emerge error message.
On 2023-08-12, Alan Mackenzie wrote: > > On Fri, Aug 11, 2023 at 21:45:38 +0200, Arsen Arsenović wrote: > >> Alan Mackenzie writes: > >> > The following REQUIRED_USE flag constraints are unsatisfied: >> > curl_ssl_openssl? ( openssl ) > >> A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be >> set. In boolean algebra, it can be expressed as a X => ( Y AND Z ). > > OK, thanks! I tried to look up curl_ssl_openssl in use.desc and > use.local.desc, but couldn't find it there. I think openssl was missing, > too. So it didn't occur to me that they were themselves USE flags. The description for CURL_SSL USE_EXPAND flags appears to be in /usr/portage/profiles/desc/curl_ssl.desc Just in case this wasn't mentioned yet in the thread, and to make sure it's mentioned explicitly: CURL_SSL=openssl is expanded to curl_ssl_openssl as a USE flag. So my understanding is that the openssl flag controls building the curl part that can use openssl, and curl_ssl_openssl selects that part to be used for SSL. >From a quick (hopefully not *too* quick) glance at the ebuild, I think this is because curl can be built with more than one SSL backend (the USE flags that appear in USE=...), and the CURL_SSL=... USE_EXPAND flags control which one gets to be the default. (But someone more knowledgeable please correct me if this is wrong or incomplete.) -- Nuno Silva
Re: [gentoo-user] Please help me understand this emerge error message.
Hello, Paul. On Sat, Aug 12, 2023 at 11:15:05 +1000, Paul Colquhoun wrote: > On Saturday, August 12, 2023 4:46:17 A.M. AEST Alan Mackenzie wrote: > > Hello, Gentoo. > > For the past couple of days, after $ emerge --sync, I've tried > > $ emerge -auND @world > > .. It has come back very quickly with the error message: > > # > > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet > > requirements. - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap > > pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn > > -kerberos -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba > > -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" > > ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss > > (-rustls)" > > The following REQUIRED_USE flag constraints are unsatisfied: > > curl_ssl_openssl? ( openssl ) > > The above constraints are a subset of the following complete expression: > > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss > > curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) > > curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( > > openssl ) curl_ssl_rustls? ( rustls ) > > # > > .. I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in > > the above message. I assume it's talking about some USE flag, but which? > > openssl? curl_ssl_openssl? As a matter of interest, I have > > =dev-libs/openssl-3.0.9-r2 installed. > > Please help me understand what's happening. > > Thanks for the help! > In the USE flsgs you have: gnutls -openssl > In the CURL_SSL flags you have: openssl -gnutls > These 2 are contradicting each other. One says use gnutls instead of openssl, > the other says no, use openssl instead of gnutls. > Pick which option you want to use, and adjust the flags to agree on that > option. Thanks, that's what I did. I set openssl for curl (in /etc/portage/package.use), and the problem resolved itself. > -- > Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ > Asking for technical help in newsgroups? Read this first: > http://catb.org/~esr/faqs/smart-questions.html#intro -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Please help me understand this emerge error message.
Hello, Arsen. On Fri, Aug 11, 2023 at 21:45:38 +0200, Arsen Arsenović wrote: > Alan Mackenzie writes: [ ] > > The following REQUIRED_USE flag constraints are unsatisfied: > > curl_ssl_openssl? ( openssl ) > A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be > set. In boolean algebra, it can be expressed as a X => ( Y AND Z ). OK, thanks! I tried to look up curl_ssl_openssl in use.desc and use.local.desc, but couldn't find it there. I think openssl was missing, too. So it didn't occur to me that they were themselves USE flags. > See https://wiki.gentoo.org/wiki/Required_USE_flags OK. > Hope that helps, have a lovely day. It does, thanks. I set the USE flag openssl for curl, and it all built OK. [ ] > -- > Arsen Arsenović -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Please help me understand this emerge error message.
On Fri, Aug 11, 2023 at 13:52:25 -0500, Dale wrote: > Alan Mackenzie wrote: > > Hello, Gentoo. > > For the past couple of days, after $ emerge --sync, I've tried > > $ emerge -auND @world > > .. It has come back very quickly with the error message: > > # > > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet > > requirements. > > - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 > > progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos > > -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh > > (-sslv3) -static-libs -telnet > > -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" > > CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)" > > The following REQUIRED_USE flag constraints are unsatisfied: > > curl_ssl_openssl? ( openssl ) > > The above constraints are a subset of the following complete expression: > > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss > > curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) > > curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( > > openssl ) curl_ssl_rustls? ( > > rustls ) > > # > > .. I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in > > the above message. I assume it's talking about some USE flag, but which? > > openssl? curl_ssl_openssl? As a matter of interest, I have > > =dev-libs/openssl-3.0.9-r2 installed. > > Please help me understand what's happening. > > Thanks for the help! > I think I got that a while back. This is what I have for my USE flags > for that package. [ ] > I think it wants you to enable openssl or one of the other USE flag > options. Since I seem to recall having openssl installed already, I > just picked it. I'd try enabling that and see if the error goes away. That was the problem. Although I had openssl installed, I hadn't set the USE flag openssl for curl. When I did that, the problem went away. :-) > Hope that helps. It did. Thanks! > Dale > :-) :-) -- Alan Mackenzie (Nuremberg, Germany).