Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631154 - Compiling curl against libressl fails with "The following REQUIRED_USE flag constraints are unsatisfied: ssl? ( exactly-one-of)
Summary: Compiling curl against libressl fails with "The following REQUIRED_USE flag c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-16 20:39 UTC by Bernhard
Modified: 2017-09-16 23:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_631154.txt,4.73 KB, text/plain)
2017-09-16 20:39 UTC, Bernhard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard 2017-09-16 20:39:24 UTC
Created attachment 494780 [details]
emerge --info

I have a fresh install with Libressl 2.6.0. emerge -q net-misc/curl fails with:

!!! Problem resolving dependencies for net-misc/curl

!!! The ebuild selected to satisfy "net-misc/curl" has unmet requirements.
- net-misc/curl-7.55.1::gentoo USE="ipv6 ssl -adns -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs -test -threads" CURL_SSL="-axtls -gnutls (-libressl) -mbedtls -nss -openssl (-winssl)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    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 ) )

  The above constraints are a subset of the following complete expression:
    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 ) )

In /etc/portage/make.conf,
USE contains "libressl" and CURL_SSL="libressl".

If libraries in brackets – here: (-libressl) and (-winssl) – are going to be used for whatever reason, it cannot satisfy "exactly-one-of".

When I switch CURL_SSL to "gnutls" and then compile gnutls, curl also compiles OK.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-09-16 23:57:31 UTC
This is expected when using stable as libressl is unstable.

You need to either mark net-misc/curl as unstable again (package.accept_keywords), or unmask curl_ssl_libressl in /etc/portage/profile/use.mask.

In any case, this is a configuration issue.