guru meditation Apprentice
Joined: 18 Mar 2018 Posts: 150 Location: Planet Earth
|
Posted: Sun Mar 03, 2024 1:20 pm Post subject: LibreSSL overlay: Constant Python build failures |
|
|
On 4 Gentoo machines the LibreSSL overlay of Python 3.10.13 is compliling file, on the 5th it is constantly failing to build _hashlib and _ssl with the execuse:
Python requires a OpenSSL 1.1.1 or newer
Does anybody know how to prevent this, or what causes this error?
Some speicifc entries from the error log:
Code: | /var/tmp/portage/dev-lang/python-3.10.13/work/Python-3.10.13/Modules/_hashopenssl.c:1922:18: error: implicit declaration of function 'FIPS_mode' [-Werror=implicit-function-declaration]
1922 | int result = FIPS_mode();
| ^~~~~~~~~
/var/tmp/portage/dev-lang/python-3.10.13/work/Python-3.10.13/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function 'SSL_CTX_set_keylog_callback'; did you mean 'SSL_CTX_set_info_callback'? [-Werror=implicit-function-declaration]
180 | SSL_CTX_set_keylog_callback(self->ctx, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| SSL_CTX_set_info_callback
/var/tmp/portage/dev-lang/python-3.10.13/work/Python-3.10.13/Modules/_ssl.c:1876:29: error: implicit declaration of function 'SSL_get0_verified_chain' [-Werror=implicit-function-declaration]
1876 | STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl);
| ^~~~~~~~~~~~~~~~~~~~~~~ |
|
|