Repository navigation
Availability of ptsname_r is not checked at runtime on macOS #123797
Copy link
Copy link
Closed
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesOS-macbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Sep 6, 2024 This is a
buildissue but I can't make those.edit: and thanks for fixing my typo
- addedbuildThe build process and cross-buildThe build process and cross-build
on Sep 6, 2024 - 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 - added a commit that references this issue
on Sep 20, 2024 - added a commit that references this issue
on Sep 30, 2024 I believe this was resolved?
Yes, thanks a lot, @zanieb, for the report! 👍
Metadata
Metadata
Assignees
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesOS-macbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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-standalonewe 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
ptsname_ron macos #123806ptsname_ron macos (GH-123806) #124270