-
Notifications
You must be signed in to change notification settings - Fork 16
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
IO-Tty-1.18 does not work on FreeBSD 14 #38
Comments
Can you tell me if 1.19 fixes your issue? |
Yes and no. I retrieved 1.20 and tried it with the FreeBSD ports skeleton for p5-IO-Tty and it had the same problem ("perl Makefile.PL" step doesn't find openpty() and friends). The ports skeleton has a patch for Makefile.PL which changes line 149 from: If I back out that change, then 1.20 builds and works OK. I now suspect if I backed out that change 1.18 might also work but I haven't tried it. I guess we need to raise this with the maintainer of the port. |
I'm just confirming the discovery of this same behavior on FreeBSD 13.2-STABLE. However this seems related to this issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276535 |
I haven't tested on different FreeBSD versions, but I have tested on two different FreeBSD 14 systems, one with 1.17 (from packages) and one with 1.18 (from ports).
The symptom is it installs but can't open any ptys. This test program demonstrates it:
In the broken state, truss indicates it's trying to open lots of pty variations that don't exist:
And then pty_allocate() returns nothing.
Comparing build output from 1.17 and 1.18 shows the build process is not finding a lot of needed functions.
Doing the same with 1.18:
I'm happy to test any fixes.
The text was updated successfully, but these errors were encountered: