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

Bug#532022: libncursesw5-dbg: installs files in the wrong directory

found 532022 5.7+20090607-1
retitle 532022 libncursesw5-dbg: does not ship detached debugging symbols
severity 532022 normal

On 2009-06-05 21:32 +0200, Raphael Geissert wrote:

> Package: libncursesw5-dbg
> Version: 5.7+20090523-1
> Severity: grave

I disagree with the severity, as explained below.

> $ dpkg -L libncursesw5-dbg
> [...]
> /usr/lib/debug/libticw.so.5.7
> /usr/lib/debug/libformw.so.5.7
> /usr/lib/debug/libpanelw.so.5.7
> /usr/lib/debug/libncursesw.so.5.7
> /usr/lib/debug/libmenuw.so.5.7
> /usr/lib/debug/libmenuw.so.5
> /usr/lib/debug/libpanelw.so.5
> /usr/lib/debug/libticw.so.5
> /usr/lib/debug/libformw.so.5
> /usr/lib/debug/libncursesw.so.5
> But the shlibs are installed in /lib/, not in /; so the files 
> in /usr/lib/debug should be moved to /usr/lib/debug/*lib*/

No, and had the maintainer looked at the lintian warnings and errors¹, he
would not have done that.  These files are not detached debugging
symbols, but rather a debug version of the library, built with different
options (which, due to a packaging mistake, causes interesting problems
like #365120²).

> Otherwise dbg and other tools can't find the debug symbols, rendering the 
> package completely useless.

Not really, you have to set LD_LIBRARY_PATH accordingly.  Which you have
to do anyway even with the current packages, so I've reopened the bug.

My testbed git repository³ (a preliminary one until a team takes over
ncurses maintenance, #543852⁴) ships detached debugging symbols in the
libncurses5-dbg package using the --dbg-package option of dh_strip.
This is not completely ideal, I'll try to find out how to best move the
debugging symbols for libncursesw5 to libncursesw5-dbg.


¹ http://lintian.debian.org/maintainer/packages@qa.debian.org.html#ncurses
² http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365120
³ http://git.debian.org/?p=users/joachim-guest/ncurses.git;a=summaryhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543852

Reply to: