Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10.1 build errors on Ubuntu 18.04 #90439

Closed
rhr242 mannequin opened this issue Jan 6, 2022 · 4 comments
Closed

Python 3.10.1 build errors on Ubuntu 18.04 #90439

rhr242 mannequin opened this issue Jan 6, 2022 · 4 comments
Labels
3.10 only security fixes build The build process and cross-build

Comments

@rhr242
Copy link
Mannequin

rhr242 mannequin commented Jan 6, 2022

BPO 46281
Nosy @tiran
Files
  • python-3.10.1-build-errors.txt: Terminal window error outputs
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-07.08:53:44.917>
    created_at = <Date 2022-01-06.14:45:56.208>
    labels = ['build', '3.10']
    title = 'Python 3.10.1 build errors on Ubuntu 18.04'
    updated_at = <Date 2022-01-07.16:07:46.406>
    user = 'https://bugs.python.org/rhr242'

    bugs.python.org fields:

    activity = <Date 2022-01-07.16:07:46.406>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-07.08:53:44.917>
    closer = 'christian.heimes'
    components = []
    creation = <Date 2022-01-06.14:45:56.208>
    creator = 'rhr242'
    dependencies = []
    files = ['50545']
    hgrepos = []
    issue_num = 46281
    keywords = []
    message_count = 4.0
    messages = ['409853', '409954', '409968', '409981']
    nosy_count = 2.0
    nosy_names = ['christian.heimes', 'rhr242']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue46281'
    versions = ['Python 3.10']

    @rhr242
    Copy link
    Mannequin Author

    rhr242 mannequin commented Jan 6, 2022

    _hashlib and _ssl modules failed to compile on my Ubuntu 18.04 system. Attached is a file with the error outputs.

    @rhr242 rhr242 mannequin added 3.10 only security fixes build The build process and cross-build labels Jan 6, 2022
    @tiran
    Copy link
    Member

    tiran commented Jan 7, 2022

    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.

    @tiran tiran closed this as completed Jan 7, 2022
    @tiran tiran closed this as completed Jan 7, 2022
    @rhr242
    Copy link
    Mannequin Author

    rhr242 mannequin commented Jan 7, 2022

    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?

    @tiran
    Copy link
    Member

    tiran commented Jan 7, 2022

    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.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant