[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages depending on libncurses5 but not build-depending on libncurses-dev

On 2011-10-20 14:05 +0200, Colin Watson wrote:

> On Wed, Oct 19, 2011 at 11:06:20PM +0200, Sven Joachim wrote:
>> Colin Watson <cjwatson@debian.org>
>>    spectemu
> Fixed in 0.94a-13, thanks.

Actually, just adding the build dependency is not the best solution in
such cases, since you'll get a spurious dependency on libncurses5
(dpkg-shlibdeps: warning: dependency on libncurses.so.5 could be avoided
if "debian/spectemu-x11/usr/bin/xspect" were not uselessly linked
against it (they use none of its symbols)).

TRT is to patch the upstream build system and fix the
configure.in/configure.ac/Makefile files which erroneously believe that
-lncurses/-lcurses/-ltermcap is necessary for linking against readline.

Though with build systems that use -ltermcap rather than -lcurses (like
spectemu does), the next ncurses upload will bring some relieve
automatically by linking against tinfo rather than ncurses[1,2].


1. http://anonscm.debian.org/gitweb/?p=collab-maint/ncurses.git;a=commit;h=678cb35a4193212887e1d1455aa56faa26808cd3
2. http://anonscm.debian.org/gitweb/?p=collab-maint/ncurses.git;a=commit;h=0b403f0b648ecc0d64e106e83df36da68fabb029

Attachment: pgpyvUJpk4klT.pgp
Description: PGP signature

Reply to: