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
> 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
> 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.