Bug#898472: hunspell: needlessly linked with ncurses
Package: hunspell
Version: 1.6.2-1
Severity: minor
Tags: upstream
The hunspell binary is linked with both ncursesw and ncurses, and the
latter is redundant as can be seen in the dpkg-shlibdeps warning:
,----
| dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/hunspell/usr/bin/hunspell was not linked against libncurses.so.5 (it uses none of the library's symbols)
`----
AFAICS this stems from the fact that the readline check in configure.ac
assumes it is necessary to link with -lncurses. I'll try to work out a
patch once I have the bug number.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.17.0-rc4-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages hunspell depends on:
ii hunspell-de-de [hunspell-dictionary] 20161207-4
ii hunspell-en-us [hunspell-dictionary] 1:2018.04.16-1
ii libc6 2.27-3
ii libgcc1 1:8.1.0-2
ii libhunspell-1.6-0 1.6.2-1
ii libncurses5 6.1+20180210-3
ii libncursesw5 6.1+20180210-3
ii libreadline7 7.0-5
ii libstdc++6 8.1.0-2
ii libtinfo5 6.1+20180210-3
hunspell recommends no packages.
Versions of packages hunspell suggests:
ii unzip 6.0-21
-- no debconf information
Reply to: