Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 20:28:03 -0500
From:      Thomas Dickey <dickey@his.com>
To:        Yasuhiro KIMURA <yasu@utahime.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: r358062(ncurses) breaks installed ports, howto check?
Message-ID:  <20200225012803.7zem2qml7kpfnh53@prl-debianold-64.jexium-island.net>
In-Reply-To: <20200224233516.z6ateiibdm4hk36s@prl-debianold-64.jexium-island.net>
References:  <20200224202021.65ca7f64@thor.intern.walstatt.dynvpn.de> <20200225.043711.677660873587364878.yasu@utahime.org> <20200224232530.2ehw6l4blvqkgbd4@prl-debianold-64.jexium-island.net> <20200224233516.z6ateiibdm4hk36s@prl-debianold-64.jexium-island.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--hlacvb5qx444nsj4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 24, 2020 at 06:35:16PM -0500, Thomas Dickey wrote:
> On Mon, Feb 24, 2020 at 06:25:30PM -0500, Thomas Dickey wrote:
> > On Tue, Feb 25, 2020 at 04:37:11AM +0900, Yasuhiro KIMURA wrote:
> > > From: "O. Hartmann" <ohartmann@walstatt.org>
> > > Subject: r358062(ncurses) breaks installed ports, howto check?
> > > Date: Mon, 24 Feb 2020 20:19:59 +0100
> > >=20
> > > > After r358062, many installed ports do not work anymore on several =
running systems (CURRENT).
> > > > /usr/src/UPDATING states one should reinstall all ncurses depending=
 ports, but no hint is
> > > > given! Can someone mitigate this lack of information? Is there a si=
mple way to check what
> > > > ports installed on a system rely on ncurses provided by the system?
> > >=20
> > > Check thread starting with following message.
> > >=20
> > > https://lists.freebsd.org/pipermail/freebsd-ports/2020-February/11771=
0.html
> >=20
> > That's a start, but it gives an overly-broad approach, saying that
> > anything linked to the ncurses library has to be recompiled.
> >=20
> > The ABI change is just to the (upper-level) curses interface.
> > Most of the programs you'll have in ports use the (lower-level) termcap
> > or terminfo interfaces.
> >=20
> > For example gettext uses terminfo (not curses).
> >=20
> > Curses applications use initscr or newterm (nm helps).
> > I have a script which uses nm to tell me which interface is used.
> >=20
> > Actually, in my own ports, I don't see any which would be affected,
> > since all of the curses applications are the utilities for ncurses
> > (or for my testing of ncurses).
> >=20
> > Here's an example of what it tells me
> > (n5=3D=3Dncurses5, tc=3Dtermcap, ti=3Dterminfo):
> >=20
> > ti	bison
> > n5*+ti	captoinfo
> > n5*+ti	captoinfo6
> > n5*+ti	clear
> > n5*+ti	clear6
> > n5+tc	ded
> > n5+ti	dialog4ports
>=20
> actually this one isn't one of mine (needs to be recompiled)
>=20
> But for the rest - recompiling would be a waste of time.

=2E..that's just looking at /usr/local/bin.  I see Millard's list
includes /usr/local/lib.  I have some of those:

c3+tc	libXvMCr600.so
tc	libedit.so
tc	libedit.so.0
ti	libgettextsrc.so
tc	libreadline.so
tc	libslang.so
ti	libtextstyle.so
c3+tc   libvulkan_radeon.so

that is, mesa-dri uses curses, but libedit and libreadline do not.

I have llvm80, but that doesn't live in either of /usr/local/bin
or /usr/local/lib.  It's in its own directory (with a script in
the former pointing there).  It uses curses (and is not a quick
recompile).

--=20
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

--hlacvb5qx444nsj4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCXlR4IAAKCRBwI1Pg9+SO
2zWvAJ0TG80iwO8F85q8ccDpecZ7iy3g1gCg0O3KFbed+Q9ABzYqEQXW2/kpaBs=
=Vw3T
-----END PGP SIGNATURE-----

--hlacvb5qx444nsj4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200225012803.7zem2qml7kpfnh53>