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

Bug#963698: marked as done (lintian: 'stripped-library' error after dh_dwz)



Your message dated Thu, 13 Jan 2022 13:40:54 -0800
with message-id <CAFHYt551850GeO0GMQYAj0oNkg=fgBAFwwYvnF37=ukO=5gK4A@mail.gmail.com>
and subject line Re: Bug#963698: lintian: 'stripped-library' error after dh_dwz
has caused the Debian Bug report #963698,
regarding lintian: 'stripped-library' error after dh_dwz
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
963698: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963698
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Hi,

On Thu, Jun 25, 2020 at 7:15 AM Alberto Garcia <berto@igalia.com> wrote:
>
> E: libwebkit2gtk-4.0-37-dbgsym: stripped-library usr/lib/debug/.dwz/x86_64-linux-gnu/libwebkit2gtk-4.0-37.debug

On a stable system after the bullseye release (which took place after
the bug was filed) I ce no longer reproduce the condition using the
development version of Lintian. I used the most recent debug
installable from snapshots.d.o. [1]

➤ bin/lintian ../bugs/debug/libwebkit2gtk-4.0-37-dbgsym_2.35.1-1_amd64.deb
I: libwebkit2gtk-4.0-37-dbgsym:
cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package

[1] http://snapshot.debian.org/archive/debian-debug/20211125T204357Z/pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37-dbgsym_2.35.1-1_amd64.deb

> The same is happening to me building konsole

Likewise with konsole. [2]

➤ bin/lintian ../bugs/debug/konsole-dbgsym_21.08.2-1_amd64.deb
E: konsole-dbgsym: non-debug-file-in-debug-package
[usr/share/lintian/overrides/konsole-dbgsym]
W: konsole-dbgsym: mismatched-override non-debug-file-in-debug-package
usr/share/lintian/overrides/konsole-dbgsym
[usr/share/lintian/overrides/konsole-dbgsym:2]
I: konsole-dbgsym:
cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package

[2] http://snapshot.debian.org/archive/debian-debug/20211008T083836Z/pool/main/k/konsole/konsole-dbgsym_21.08.2-1_amd64.deb

The bug probably originated elsewhere.

Closing this bug. Please reopen if the action was taken in error.

Kind regards
Felix Lechner

--- End Message ---

Reply to: