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

Bug 726306

Summary: dev-python/pycurl-7.43.0.5: 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   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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

Snippet:
Using curl-config (libcurl 7.70.0)
Traceback (most recent call last):
  File "setup.py", line 960, in <module>
    ext = get_extension(sys.argv, split_extension_source=split_extension_source)
  File "setup.py", line 623, in get_extension
    ext_config = ExtensionConfiguration(argv)
  File "setup.py", line 101, in __init__
    self.configure()
  File "setup.py", line 322, in configure_unix
    self.detect_ssl_backend()
  File "setup.py", 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
mbedTLS

Note that curl has been configured here with just CURL_SSL="mbedtls". Looks like support for mbedtls was added to pycurl in 7.43.0.3 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.