Bug 252849

Summary: ncurses: Doesn't have libpanelw.so, libtinfo.so, etc.
Product: Base System Reporter: Yuri Victorovich <yuri>
Component: miscAssignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Some People CC: emaste, swills
Priority: --- Keywords: needs-qa
Version: 12.2-STABLEFlags: koobs: maintainer-feedback? (bapt)
koobs: mfc-stable13?
koobs: mfc-stable12?
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2021-01-20 07:56:58 UTC
The devel/ncurses port provides many libraries:

> $ pkg info -l ncurses | grep lib/ | grep "so$"
> 	/usr/local/lib/libform.so
> 	/usr/local/lib/libformw.so
> 	/usr/local/lib/libmenu.so
> 	/usr/local/lib/libmenuw.so
> 	/usr/local/lib/libncurses.so
> 	/usr/local/lib/libncursesw.so
> 	/usr/local/lib/libpanel.so
> 	/usr/local/lib/libpanelw.so
> 	/usr/local/lib/libtinfo.so
> 	/usr/local/lib/libtinfow.so

At least libpanelw.so and libtinfo.so are missing in /lib, and maybe more libraries are missing.

Please note that the header /usr/include/panel.h corresponding to libpanelw.so is present.

The ncurses port is at version 6.2, and the base ncurses is at version 5.x.

12.2-STABLE r368977
Comment 1 Steve Wills freebsd_committer freebsd_triage 2021-01-26 16:01:49 UTC
Take a look at /usr/src/lib/ncurses/ncurses/Makefile and you'll see that libtinfo is a symlink and a number of other libs are all symlinks. Everything is built into one lib and symlinked, which isn't ideal but is how it's historically been done. Base ncurses probably needs a bit of an overhaul.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-27 00:02:53 UTC
@Bapt, libtinfo has now been split out, so we now provide all other modules as individual libraries now? If not, is this (matching upstream default & ports install) something we are going to do or already have planned?
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2022-01-19 08:43:01 UTC
Sorry for the delay, now ncurses is provided the way upstream expect it, this fixes this issue (it won't be MFCed and there is no more work planned at this stage)