Source: slang2 Version: 2.3.3-2 Severity: minor The configure script in slang2 uses "ncurses5-config --terminfo" to determine which directory to put first into the search path, see autoconf/aclocal.m4.
Since ncurses has bumped the ABI from 5 to 6 quite some time ago (upstream in August 2015, Debian in April 2018), the script is now called ncurses6-config. Until now I have shipped compatibility symlinks, but intend to remove them after the Bookworm release, see #1029977. The impact on slang2 appears to be rather low. I did two test builds in chroots, where the second one removed the libncurses-dev build dependency. From what I could tell, the only difference is the search order for terminfo files. With libncurses-dev installed in the build chroot: /etc/terminfo /usr/local/etc/terminfo /usr/local/share/terminfo /usr/local/lib/terminfo /usr/share/terminfo /usr/lib/terminfo /usr/share/lib/terminfo /lib/terminfo Without libncurses-dev: /usr/local/etc/terminfo /usr/local/share/terminfo /usr/local/lib/terminfo /etc/terminfo /usr/share/terminfo /usr/lib/terminfo /usr/share/lib/terminfo /lib/terminfo So, if ncurses5-config is not found, libslang2 will search some /usr/local directories before /etc/terminfo. Since these directories usually do not exist, this should hardly make a difference. It seems to me that the libncurses-dev build dependency could just be removed. Or, if it is important to you that /etc/terminfo is at the top of the search path, patch autoconf/aclocal.m4 to run ncurses6-config rather than ncurses5-config. -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Foreign Architectures: i386