This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author simon@simonfoley.net
Recipients christian.heimes, simon@simonfoley.net
Date 2018-07-03.09:13:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530609211.5.0.56676864532.issue34028@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-07-03 09:13:31simon@simonfoley.netsetrecipients: + simon@simonfoley.net, christian.heimes
2018-07-03 09:13:31simon@simonfoley.netsetmessageid: <1530609211.5.0.56676864532.issue34028@psf.upfronthosting.co.za>
2018-07-03 09:13:31simon@simonfoley.netlinkissue34028 messages
2018-07-03 09:13:31simon@simonfoley.netcreate