Skip to content

Availability of ptsname_r is not checked at runtime on macOS #123797

Description

@zanieb

Bug report

Bug description:

Use of this was recently added in Python 3.13 but it is only available in macOS 10.13.4+ and there is not a proper runtime check for availability. This means that in python-build-standalone we need to ban the symbol instead of allowing proper weak linking.

See discussion at astral-sh/python-build-standalone#319 (comment)

Similar to #75782

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Sep 6, 2024
  2. zanieb commented on Sep 6, 2024

    @zanieb
    ContributorAuthor

    This is a build issue but I can't make those.

    edit: and thanks for fixing my typo

  3. changed the title [-]Availability of `ptsrname_r` is not checked at runtime on macOS[/-] [+]Availability of `ptsname_r` is not checked at runtime on macOS[/+] on Sep 6, 2024
  4. added 3 commits that reference this issue on Sep 7, 2024
  5. self-assigned this
    on Sep 7, 2024
  6. added a commit that references this issue on Sep 7, 2024
  7. added a commit that references this issue on Sep 20, 2024
  8. added a commit that references this issue on Sep 20, 2024
  9. added 2 commits that reference this issue on Sep 22, 2024
  10. added a commit that references this issue on Sep 30, 2024
  11. zanieb commented on Oct 9, 2024

    @zanieb
    ContributorAuthor

    I believe this was resolved?

  12. sobolevn commented on Oct 9, 2024

    @sobolevn
    Member

    Yes, thanks a lot, @zanieb, for the report! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only security fixes3.14bugs and security fixesOS-macbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions