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.

classification
Title: Python 3.10.1 build errors on Ubuntu 18.04
Type: compile error Stage: resolved
Components: Versions: Python 3.10
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, rhr242
Priority: normal Keywords:

Created on 2022-01-06 14:45 by rhr242, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-3.10.1-build-errors.txt rhr242, 2022-01-06 14:45 Terminal window error outputs
Messages (4)
msg409853 - (view) Author: Bob Rivoir (rhr242) Date: 2022-01-06 14:45
_hashlib and _ssl modules failed to compile on my Ubuntu 18.04 system.  Attached is a file with the error outputs.
msg409954 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2022-01-07 08:53
Ubuntu 18.04's OpenSSL is too old and unsupported by 3.10. OpenSSL 1.0.2 is EOL since 2019. You either need to update to a more recent version of Ubuntu or build your own OpenSSL.
msg409968 - (view) Author: Bob Rivoir (rhr242) Date: 2022-01-07 14:39
According to synaptic, I have openssl 1.1.1-1ubuntu2.1~18.04-14 installed.  On the openssl.org site they mention that this version doesn't eol till 2023.  Shouldn't this still work?  Or does python require the 3.0 version?
msg409981 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2022-01-07 16:07
You seem to have OpenSSL 1.0.2 headers installed somewhere on your computer. Python's configure script and build system uses these headers instead of the system headers from libssl-dev.
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90439
2022-01-07 16:07:46christian.heimessetmessages: + msg409981
2022-01-07 14:39:11rhr242setmessages: + msg409968
2022-01-07 08:53:44christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg409954

resolution: wont fix
stage: resolved
2022-01-06 14:45:56rhr242create