Package: ne
Version: 3.0.1-2+b1
Severity: minor
User: ncur...@packages.debian.org
Usertags: libncurses5-dependency

The ne binary is linked with ncurses, although it only uses functions
from tinfo.  This causes an unnecessary dependency on libncurses5, as
can be seen in the build logs:

,----
|    dh_shlibdeps -a
| dpkg-shlibdeps: warning: package could avoid a useless dependency if 
debian/ne/usr/bin/ne was not linked against libncurses.so.5 (it uses none of 
the library's symbols)
`----

The solution is to link with -ltinfo rather than -lcurses in
src/makefile.  Will send a patch as soon as I have the bug number.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 4.6.4-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ne depends on:
ii  libc6        2.23-2
ii  libncurses5  6.0+20160625-1
ii  libtinfo5    6.0+20160625-1

Versions of packages ne recommends:
ii  ne-doc  3.0.1-2

ne suggests no packages.

-- no debconf information

Reply via email to