Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726306 - dev-python/pycurl-7.43.0.5: failed configure with mbedtls
Summary: dev-python/pycurl-7.43.0.5: failed configure with mbedtls
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 14:13 UTC by Sam James
Modified: 2020-05-30 14:13 UTC (History)
0 users

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


Attachments
build.log (file_726306.txt,3.43 KB, text/plain)
2020-05-30 14:13 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
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.