Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2024 15:03:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 276535] devel/p5-IO-Tty 1.18 is broken
Message-ID:  <bug-276535-14331-wl8d5sbdGQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276535-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276535-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276535

Tomohiro Hosaka <bokutin@bokut.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bokutin@bokut.in

--- Comment #1 from Tomohiro Hosaka <bokutin@bokut.in> ---
Hello.

I just updated from FreeBSD 12.4 with 2023Q4 to 13.3 with 2024Q1.
I encountered a problem with IO::Pty which I use in my own scripts.

My conclusion is that the patch in files/ is not needed for the current main
branch.

The following may be relevant
https://github.com/cpan-authors/IO-Tty/issues/38

# cd /usr/ports/devel/p5-IO-Tty
# git log -1 .
commit 8d9c159ef7a9f70e2c1930d13f776cd4074b398f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Date:   Wed Feb 21 23:01:01 2024 +0800

    devel/p5-IO-Tty: Update to 1.20

    Changes:        https://metacpan.org/dist/IO-Tty/changes
# make test
=3D=3D=3D>  License ART10 GPLv1+ accepted by the user
=3D=3D=3D>   p5-IO-Tty-1.20 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by p5-IO-Tty-1.20 for building
=3D=3D=3D>  Extracting for p5-IO-Tty-1.20
=3D> SHA256 Checksum OK for IO-Tty-1.20.tar.gz.
=3D=3D=3D>  Patching for p5-IO-Tty-1.20
=3D=3D=3D>  Applying FreeBSD patches for p5-IO-Tty-1.20 from
/usr/ports/devel/p5-IO-Tty/files
=3D=3D=3D>   p5-IO-Tty-1.20 depends on package: perl5>=3D5.36<5.37 - found
=3D=3D=3D>  Configuring for p5-IO-Tty-1.20
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
Looking for _getpty()...... not found.
Looking for getpt()........ not found.
Looking for grantpt()...... not found.
Looking for openpty()...... not found.
Looking for posix_openpt(). not found.
Looking for ptsname()...... not found.
Looking for ptsname_r().... not found.
Looking for sigaction().... not found.
Looking for strlcpy()...... not found.
Looking for ttyname()...... not found.
Looking for unlockpt()..... not found.
Looking for libutil.h...... FOUND.
Looking for pty.h.......... not found.
Looking for sys/pty.h...... not found.
Looking for sys/ptyio.h.... not found.
Looking for sys/stropts.h.. not found.
Looking for termio.h....... not found.
Looking for termios.h...... FOUND.
Looking for util.h......... not found.
Checking which symbols compile OK...

# make clean
# =3D=3D=3D>  Cleaning for p5-IO-Tty-1.20
# rm -rf files
# make test
=3D=3D=3D>  License ART10 GPLv1+ accepted by the user
=3D=3D=3D>   p5-IO-Tty-1.20 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by p5-IO-Tty-1.20 for building
=3D=3D=3D>  Extracting for p5-IO-Tty-1.20
=3D> SHA256 Checksum OK for IO-Tty-1.20.tar.gz.
=3D=3D=3D>  Patching for p5-IO-Tty-1.20
=3D=3D=3D>   p5-IO-Tty-1.20 depends on package: perl5>=3D5.36<5.37 - found
=3D=3D=3D>  Configuring for p5-IO-Tty-1.20
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
Looking for _getpty()...... not found.
Looking for getpt()........ not found.
Looking for grantpt()...... FOUND.
Looking for openpty()...... FOUND.
Looking for posix_openpt(). FOUND.
Looking for ptsname()...... FOUND.
Looking for ptsname_r().... FOUND.
Looking for sigaction().... FOUND.
Looking for strlcpy()...... FOUND.
Looking for ttyname()...... FOUND.
Looking for unlockpt()..... FOUND.
Looking for libutil.h...... FOUND.
Looking for pty.h.......... not found.
Looking for sys/pty.h...... not found.
Looking for sys/ptyio.h.... not found.
Looking for sys/stropts.h.. not found.
Looking for termio.h....... not found.
Looking for termios.h...... FOUND.
Looking for util.h......... not found.
Checking which symbols compile OK...


With this fix my scripts work fine as before.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276535-14331-wl8d5sbdGQ>