mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 06:17:16 +00:00
mercurial's setup.py treats ssl.HAS_TLSv1_2 as authoritative and refuses to build at all: The `ssl` module does not advertise support for TLS 1.2. Please make sure that your Python installation was compiled against an OpenSSL version enabling these features (likely this requires the OpenSSL version to be at least 1.0.1). ERROR: mercurial-7.2.4-r0 do_compile: Execution of .../run.do_compile failed with exit code 1 Add a patch which only trusts the flag with OpenSSL < 4.0, in setup.py and in sslutil.supportedprotocols (which otherwise loses b'tls1.2' and makes `hg debuginstall` under-report the available protocols). Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>