public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Please help me understand this emerge error message.
@ 2023-08-11 18:46 Alan Mackenzie
  2023-08-11 18:52 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Alan Mackenzie @ 2023-08-11 18:46 UTC (permalink / raw
  To: gentoo-user

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!

-- 
Alan Mackenzie (Nuremberg, Germany).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 18:46 [gentoo-user] Please help me understand this emerge error message Alan Mackenzie
@ 2023-08-11 18:52 ` Dale
  2023-08-11 18:55   ` David Rosenbaum
  2023-08-12 10:14   ` Alan Mackenzie
  2023-08-11 19:45 ` Arsen Arsenović
  2023-08-12  1:15 ` [gentoo-user] " Paul Colquhoun
  2 siblings, 2 replies; 11+ messages in thread
From: Dale @ 2023-08-11 18:52 UTC (permalink / raw
  To: gentoo-user

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. 


root@fireball / # equery u net-misc/curl
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-misc/curl-8.0.1:
 U I
 - - abi_x86_32       : 32-bit (x86) libraries
 + + adns             : Add support for asynchronous DNS resolution
 - - alt-svc          : Enable alt-svc support
 - - brotli           : Enable brotli compression support
 - - curl_ssl_gnutls  : Use GnuTLS
 - - curl_ssl_mbedtls : Use mbed TLS
 - - curl_ssl_nss     : Use Mozilla's Network Security Services
 + + curl_ssl_openssl : Use OpenSSL
 + + ftp              : Enable FTP support
 - - gnutls           : Enable gnutls ssl backend
 - - gopher           : Enable Gopher protocol support
 - - hsts             : Enable HTTP Strict Transport Security
 + + http2            : Enable HTTP/2.0 support
 - - idn              : Enable support for Internationalized Domain Names
 + + imap             : Enable Internet Message Access Protocol support
 - - kerberos         : Add kerberos support
 - - ldap             : Add LDAP support (Lightweight Directory Access
Protocol)
 - - mbedtls          : Enable mbedtls ssl backend
 - - nss              : Enable nss ssl backend
 + + openssl          : Enable openssl ssl backend
 + + pop3             : Enable Post Office Protocol 3 support
 + + progress-meter   : Enable the progress meter
 - - rtmp             : Enable RTMP Streaming Media support
 - - samba            : Add support for SAMBA (Windows File and Printer
sharing)
 + + smtp             : Enable Simple Mail Transfer Protocol support
 - - ssh              : Enable SSH urls in curl using libssh2
 + + ssl              : Enable crypto engine support (via openssl if
USE='-gnutls -nss')
 - - static-libs      : Build static versions of dynamic libraries as well
 - - telnet           : Enable Telnet protocol support
 - - test             : Enable dependencies and/or preparations
necessary to run tests (usually controlled by FEATURES=test but can be
toggled independently)
 + + tftp             : Enable TFTP support
 - - verify-sig       : Verify upstream signatures on distfiles
 - - websockets       : Enable websockets support
 - - zstd             : Enable zstd compression
root@fireball / #



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. 

Hope that helps.

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 18:52 ` Dale
@ 2023-08-11 18:55   ` David Rosenbaum
  2023-08-12 10:14   ` Alan Mackenzie
  1 sibling, 0 replies; 11+ messages in thread
From: David Rosenbaum @ 2023-08-11 18:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4557 bytes --]

Thanks I'm a dam47 year old man that pays wifi an ph.bill

David

On Fri, Aug 11, 2023, 2:52 PM Dale <rdalek1967@gmail.com> 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.
>
>
> root@fireball / # equery u net-misc/curl
> [ Legend : U - final flag setting for installation]
> [        : I - package is installed with flag     ]
> [ Colors : set, unset                             ]
>  * Found these USE flags for net-misc/curl-8.0.1:
>  U I
>  - - abi_x86_32       : 32-bit (x86) libraries
>  + + adns             : Add support for asynchronous DNS resolution
>  - - alt-svc          : Enable alt-svc support
>  - - brotli           : Enable brotli compression support
>  - - curl_ssl_gnutls  : Use GnuTLS
>  - - curl_ssl_mbedtls : Use mbed TLS
>  - - curl_ssl_nss     : Use Mozilla's Network Security Services
>  + + curl_ssl_openssl : Use OpenSSL
>  + + ftp              : Enable FTP support
>  - - gnutls           : Enable gnutls ssl backend
>  - - gopher           : Enable Gopher protocol support
>  - - hsts             : Enable HTTP Strict Transport Security
>  + + http2            : Enable HTTP/2.0 support
>  - - idn              : Enable support for Internationalized Domain Names
>  + + imap             : Enable Internet Message Access Protocol support
>  - - kerberos         : Add kerberos support
>  - - ldap             : Add LDAP support (Lightweight Directory Access
> Protocol)
>  - - mbedtls          : Enable mbedtls ssl backend
>  - - nss              : Enable nss ssl backend
>  + + openssl          : Enable openssl ssl backend
>  + + pop3             : Enable Post Office Protocol 3 support
>  + + progress-meter   : Enable the progress meter
>  - - rtmp             : Enable RTMP Streaming Media support
>  - - samba            : Add support for SAMBA (Windows File and Printer
> sharing)
>  + + smtp             : Enable Simple Mail Transfer Protocol support
>  - - ssh              : Enable SSH urls in curl using libssh2
>  + + ssl              : Enable crypto engine support (via openssl if
> USE='-gnutls -nss')
>  - - static-libs      : Build static versions of dynamic libraries as well
>  - - telnet           : Enable Telnet protocol support
>  - - test             : Enable dependencies and/or preparations
> necessary to run tests (usually controlled by FEATURES=test but can be
> toggled independently)
>  + + tftp             : Enable TFTP support
>  - - verify-sig       : Verify upstream signatures on distfiles
>  - - websockets       : Enable websockets support
>  - - zstd             : Enable zstd compression
> root@fireball / #
>
>
>
> 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.
>
> Hope that helps.
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 5748 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 18:46 [gentoo-user] Please help me understand this emerge error message Alan Mackenzie
  2023-08-11 18:52 ` Dale
@ 2023-08-11 19:45 ` Arsen Arsenović
  2023-08-11 19:57   ` Kusoneko
  2023-08-12 10:19   ` Alan Mackenzie
  2023-08-12  1:15 ` [gentoo-user] " Paul Colquhoun
  2 siblings, 2 replies; 11+ messages in thread
From: Arsen Arsenović @ 2023-08-11 19:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]


Alan Mackenzie <acm@muc.de> writes:

> 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 )

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 ).

See https://wiki.gentoo.org/wiki/Required_USE_flags

Hope that helps, have a lovely day.

>   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!


-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 19:45 ` Arsen Arsenović
@ 2023-08-11 19:57   ` Kusoneko
  2023-08-11 20:24     ` Dale
  2023-08-12 10:19   ` Alan Mackenzie
  1 sibling, 1 reply; 11+ messages in thread
From: Kusoneko @ 2023-08-11 19:57 UTC (permalink / raw
  To: gentoo-user


Aug 11, 2023 15:48:22 Arsen Arsenović <arsen@gentoo.org>:

>
> Alan Mackenzie <acm@muc.de> writes:
>
>> 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 )
>
> 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 ).
>
> See https://wiki.gentoo.org/wiki/Required_USE_flags
>
> Hope that helps, have a lovely day.
>

To add to this, essentially what it's saying is either to change the USE flags of curl to include openssl or to change the CURL_SSL flag to "-openssl gnutls" (by adding "-curl_ssl_openssl curl_ssl_gnutls" to curl's USE flags) so that it aligns with your current curl USE flags.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 19:57   ` Kusoneko
@ 2023-08-11 20:24     ` Dale
  0 siblings, 0 replies; 11+ messages in thread
From: Dale @ 2023-08-11 20:24 UTC (permalink / raw
  To: gentoo-user

Kusoneko wrote:
> Aug 11, 2023 15:48:22 Arsen Arsenović <arsen@gentoo.org>:
>
>> Alan Mackenzie <acm@muc.de> writes:
>>
>>> 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 )
>> 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 ).
>>
>> See https://wiki.gentoo.org/wiki/Required_USE_flags
>>
>> Hope that helps, have a lovely day.
>>
> To add to this, essentially what it's saying is either to change the USE flags of curl to include openssl or to change the CURL_SSL flag to "-openssl gnutls" (by adding "-curl_ssl_openssl curl_ssl_gnutls" to curl's USE flags) so that it aligns with your current curl USE flags.
>
>


That's a much better explanation than mine.  Me, I just beat it with a
hammer until it works.  ROFLMBO 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 18:46 [gentoo-user] Please help me understand this emerge error message Alan Mackenzie
  2023-08-11 18:52 ` Dale
  2023-08-11 19:45 ` Arsen Arsenović
@ 2023-08-12  1:15 ` Paul Colquhoun
  2023-08-12 10:22   ` Alan Mackenzie
  2 siblings, 1 reply; 11+ messages in thread
From: Paul Colquhoun @ 2023-08-12  1:15 UTC (permalink / raw
  To: gentoo-user

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.


-- 
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





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 18:52 ` Dale
  2023-08-11 18:55   ` David Rosenbaum
@ 2023-08-12 10:14   ` Alan Mackenzie
  1 sibling, 0 replies; 11+ messages in thread
From: Alan Mackenzie @ 2023-08-12 10:14 UTC (permalink / raw
  To: gentoo-user

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).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-11 19:45 ` Arsen Arsenović
  2023-08-11 19:57   ` Kusoneko
@ 2023-08-12 10:19   ` Alan Mackenzie
  2023-08-12 11:49     ` [gentoo-user] " Nuno Silva
  1 sibling, 1 reply; 11+ messages in thread
From: Alan Mackenzie @ 2023-08-12 10:19 UTC (permalink / raw
  To: gentoo-user

Hello, Arsen.

On Fri, Aug 11, 2023 at 21:45:38 +0200, Arsen Arsenović wrote:

> Alan Mackenzie <acm@muc.de> 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).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Please help me understand this emerge error message.
  2023-08-12  1:15 ` [gentoo-user] " Paul Colquhoun
@ 2023-08-12 10:22   ` Alan Mackenzie
  0 siblings, 0 replies; 11+ messages in thread
From: Alan Mackenzie @ 2023-08-12 10:22 UTC (permalink / raw
  To: gentoo-user

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).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Please help me understand this emerge error message.
  2023-08-12 10:19   ` Alan Mackenzie
@ 2023-08-12 11:49     ` Nuno Silva
  0 siblings, 0 replies; 11+ messages in thread
From: Nuno Silva @ 2023-08-12 11:49 UTC (permalink / raw
  To: gentoo-user

On 2023-08-12, Alan Mackenzie wrote:
>
> On Fri, Aug 11, 2023 at 21:45:38 +0200, Arsen Arsenović wrote:
>
>> Alan Mackenzie <acm@muc.de> 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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-08-12 11:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 18:46 [gentoo-user] Please help me understand this emerge error message Alan Mackenzie
2023-08-11 18:52 ` Dale
2023-08-11 18:55   ` David Rosenbaum
2023-08-12 10:14   ` Alan Mackenzie
2023-08-11 19:45 ` Arsen Arsenović
2023-08-11 19:57   ` Kusoneko
2023-08-11 20:24     ` Dale
2023-08-12 10:19   ` Alan Mackenzie
2023-08-12 11:49     ` [gentoo-user] " Nuno Silva
2023-08-12  1:15 ` [gentoo-user] " Paul Colquhoun
2023-08-12 10:22   ` Alan Mackenzie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox