Message320947
when compiling Python 3.7.0 setup.py is reporting that the ssl module failed to compile due to missing support for X509_VERIFY_PARAM_set1_host() despite it existing in rsa.h for all versions of OpenSSL 1.1.0.
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
In addition _ssl.o does actually compile.
The issue appears that _ssl is appearing in "missing", "self.failed", "self.failed_on_import"
setup.py
366 if any('_ssl' in l
367 for l in (missing, self.failed, self.failed_on_import)):
368 print()
369 print("Could not build the ssl module!")
370 print("Python requires an OpenSSL 1.0.2 or 1.1 compatible "
371 "libssl with X509_VERIFY_PARAM_set1_host().")
372 print("LibreSSL 2.6.4 and earlier do not provide the necessary "
373 "APIs, https://github.com/libressl-portable/portable/issues/381")
374 print()
I havent had time to go through the code yet to find out where the error is gettng flagged and if its a associated with how I have compiled openssl i.e. I need a compilation flag to enabled X509_VERIFY_PARAM_set1_host() support. |
|
Date |
User |
Action |
Args |
2018-07-03 09:13:31 | simon@simonfoley.net | set | recipients:
+ simon@simonfoley.net, christian.heimes |
2018-07-03 09:13:31 | simon@simonfoley.net | set | messageid: <1530609211.5.0.56676864532.issue34028@psf.upfronthosting.co.za> |
2018-07-03 09:13:31 | simon@simonfoley.net | link | issue34028 messages |
2018-07-03 09:13:31 | simon@simonfoley.net | create | |
|