-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Description
Bug report
Bug description:
I want to compile python on my GhostBSD 20.10.1 OS based on freeBSD 14.1 STABLE
The bug is the same for python 3.11, 3.12, 3.13.
I have not tried with earlier versions.
Here is the bug:
ptmx is detected, but stropts.h does not exist.
In the ./Modules/posixmodule.c file, on lines 8814, 8815 and 8816, there is no test to see if HAVE_STROPTS_H is defined, even though the variable I_PUSH defined in stropts.h is used.
I've looked hard but in the current version of GhostBSD stropts.h is no longer included.
While browsing the internet, I read here and there that stropts.h was no longer part of posix.
EDIT: Removed in POSIX.1-2024.
To solve the problem I could install openpty, but this library doesn't seem to be available any more either.
# checking for stropts.h... no
# checking for pty.h... no
# checking for _getpty... no
# checking for openpty... no
# checking for openpty in -lutil... no
# checking for openpty in -lbsd... no
# checking for library containing login_tty... no
# checking for forkpty... no
# checking for forkpty in -lutil... no
# checking for forkpty in -lbsd... no
# checking for /dev/ptmx... yes
CPython versions tested on:
3.13
Operating systems tested on:
No response
Metadata
Metadata
Assignees
Labels
Projects
Status