Date: Mon, 24 Feb 2020 18:25:30 -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: <20200224232530.2ehw6l4blvqkgbd4@prl-debianold-64.jexium-island.net> In-Reply-To: <20200225.043711.677660873587364878.yasu@utahime.org> References: <20200224202021.65ca7f64@thor.intern.walstatt.dynvpn.de> <20200225.043711.677660873587364878.yasu@utahime.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--t4thckgjs7euaile Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 runn= ing systems (CURRENT). > > /usr/src/UPDATING states one should reinstall all ncurses depending por= ts, but no hint is > > given! Can someone mitigate this lack of information? Is there a simple= 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/117710.ht= ml That's a start, but it gives an overly-broad approach, saying that anything linked to the ncurses library has to be recompiled. 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. For example gettext uses terminfo (not curses). Curses applications use initscr or newterm (nm helps). I have a script which uses nm to tell me which interface is used. 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). Here's an example of what it tells me (n5=3D=3Dncurses5, tc=3Dtermcap, ti=3Dterminfo): ti bison n5*+ti captoinfo n5*+ti captoinfo6 n5*+ti clear n5*+ti clear6 n5+tc ded n5+ti dialog4ports n5* dittot n5* dittotw tc info n5* infocmp n5* infocmp6 n5*+ti infotocap n5*+ti infotocap6 n5 lynx n5 lynx-bw n5 lynx-cs s lynx-slang n5 lynx-wide ti msgattrib ti msgcat ti msgcmp ti msgcomm ti msgconv ti msgen ti msgexec ti msgfilter ti msgfmt ti msggrep ti msginit ti msgmerge ti msgunfmt ti msguniq n5*+ti ncurses n6*+ti ncurses6 n5*+ti ncursest n6*+ti ncursestw n5*+ti ncursesw n5* raint n5* raintw n5*+ti reset n5*+ti reset6 tc resize tc resize-339 tc resize-340h tc resize-350 tc resize-dev tc slsh n5*+ti tabs n5*+ti tabs6 c4+ti tack n5*+ti tic n5*+ti tic6 n5* toe n5* toe6 n5*+ti tput n5*+ti tput6 n5*+ti tset n5*+ti tset6 *n+cx view6 *n+cx vieww ti vile n5* wormt n5* wormtw ti xgettext tc xterm tc xterm-330 tc xterm-339 tc xterm-340h tc xterm-350 tc xterm-dev --=20 Thomas E. Dickey <dickey@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net --t4thckgjs7euaile Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCXlRbZwAKCRBwI1Pg9+SO 2xOkAJkBhYFJr7GBiGgbRhoiWxLh3cKViQCeIfZnRsemfkAmaPkIab9h+FVilIE= =IG14 -----END PGP SIGNATURE----- --t4thckgjs7euaile--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200224232530.2ehw6l4blvqkgbd4>