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

Bug#963698: lintian: 'stripped-library' error after dh_dwz



Package: lintian
Version: 2.80.0
Severity: normal

Hi,

apologies in advance if I reported the bug against the wrong component
but I'm unsure about where to start.

I'm testing the debhelper compatibity level v12 with the webkit2gtk
package (which currently uses v10). I had already updated some of my
other packages from 10 to 12 without any issues, but with webkit2gtk I
get this lintian error:

E: libwebkit2gtk-4.0-37-dbgsym: stripped-library usr/lib/debug/.dwz/x86_64-linux-gnu/libwebkit2gtk-4.0-37.debug

I haven't used dwz before and I'm not familiar with how it works, but
/usr/bin/file reports this file as being indeed stripped:

libwebkit2gtk-4.0-37.debug: ELF 64-bit LSB relocatable, x86-64, version 1 (GNU/Linux), BuildID[sha1]=be59818d27177e23fbd4890fe6852121f1c74e62, stripped

However if I run strip on that file it does reduce its size further,
so I'm wondering if /usr/bin/file is reporting it incorrectly (and
perhaps lintian gets the information from there?).

Comparing the output of readelf -a shows that running strip manually
removes the .debug_str section from the file.

Second question, if this turns out to be a false positive, how do I
override it? It seems that debhelper won't let me install the
.lintian-overrides file for the dbgsym package (see #820310).

I'm attaching the original libwebkit2gtk-4.0-37.debug as produced by
dh_dwz, its size is 744 bytes.

Thanks,

Berto

Attachment: libwebkit2gtk-4.0-37.debug
Description: application/object


Reply to: