Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LibreSSL overlay: Constant Python build failures
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
guru meditation
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2018
Posts: 149
Location: Planet Earth

PostPosted: Sun Mar 03, 2024 1:20 pm    Post subject: LibreSSL overlay: Constant Python build failures Reply with quote

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);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum