On Tue, Nov 10, 2009 at 10:49:47AM +0100, ??????? ????????? wrote: > Package: libdw1 > Version: 0.143-1 > Severity: normal > > Currently libdw1 tries to append .debug to module name to find debug > information. This fails with make-kpkg because debug info for kernel > modules is installed under /usr/lib/debug/lib/modules/VER/... without > appending .debug extension. It would be good if libdw1 could check for > files without .debug extension. Alternatively make-kpkg can be changed > to append the extension, but it will be against "Best practices for > debug packages" from Developers References (6.7.9), and other debug > packages in Debian do not append this extension (it looks like it is > Fedora's policy to add .debug).
Are you sure this is libdw's problem? The name of the file should be stored in the ".gnu_debuglink" section of the elf file. This name can be set using objcopy's --add-gnu-debuglink, and that is what things like dh_strip do. As I understand the code, find-debuginfo.c:find_debuginfo_in_path() uses a default with ".debug" if no debuglink is set. Kurt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org