Bug 252849 - ncurses: Doesn't have libpanelw.so, libtinfo.so, etc.
Summary: ncurses: Doesn't have libpanelw.so, libtinfo.so, etc.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Baptiste Daroussin
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-01-20 07:56 UTC by Yuri Victorovich
Modified: 2022-01-19 08:43 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (bapt)
koobs: mfc-stable13?
koobs: mfc-stable12?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 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 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 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)