Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 726306

Summary: dev-python/pycurl- failed configure with mbedtls
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-30 14:13:23 UTC
Created attachment 642770 [details]

Using curl-config (libcurl 7.70.0)
Traceback (most recent call last):
  File "", line 960, in <module>
    ext = get_extension(sys.argv, split_extension_source=split_extension_source)
  File "", line 623, in get_extension
    ext_config = ExtensionConfiguration(argv)
  File "", line 101, in __init__
  File "", line 322, in configure_unix
  File "", line 171, in detect_ssl_backend
    raise ConfigurationError('Invalid value "%s" for PYCURL_SSL_LIBRARY' % ssl_lib)
__main__.ConfigurationError: Invalid value "" for PYCURL_SSL_LIBRARY

# curl-config --ssl-backends

Note that curl has been configured here with just CURL_SSL="mbedtls". Looks like support for mbedtls was added to pycurl in which is the oldest version in tree anyway, so not clear what the problem is.

We have deps in the pycurl ebuild for the various SSL impls but I don't see this directly causing it.