#820310 dh_lintian doesn't copy overrides for automatic -dbgsym packages

#820310#5
Date:
2016-04-07 10:14:56 UTC
From:
To:
Package: debhelper
Version: 9.20160313

Hi!

The debian/foo-dbgsym.lintian-overrides file doesn't get copied to the
automatic package and thus it's not possible to override any lintian
warnings.

I guess this is because the automatic package is not added
to @{$dh{DOPACKAGES}}

Thanks!

#820310#10
Date:
2016-04-07 17:17:34 UTC
From:
To:
Hi Marga,

Thanks for the rapport.

What tags are you observing with your dbgsym packages?  Ideally the
debhelper generated packages should be fully policy compliant with no
lintian warnings (provided you use an up to date lintian).

Thanks,
~Niels

#820310#15
Date:
2016-04-07 18:23:14 UTC
From:
To:
It was an internal package that shipped binaries that had been
pre-compiled, thus missing debugging symbols (the .debug files did have the
strings though, as the original binaries were unstripped).

#820310#22
Date:
2021-04-09 15:56:54 UTC
From:
To:
Hi,

Marga Manterola <marga@google.com> (2016-04-07):

I'm seeing the same issue on buster when preparing a customer's package
that relies on an external supplier's shared object that's unstripped
initially but doesn't seem to output anything interesting in the auto
-dbgsym package.

I resorted to manually creating this directory and shipping the
debian/my-package-dbgsym.lintian-overrides through a dh_lintian
override:

      debian/.debhelper/my-package/dbgsym-root/usr/share/lintian/overrides/

Looking at https://sources.debian.org/ it seems some other maintainers
have tried stashing such a debian/their-package-dbsym.lintian-overrides
in their source tree… ;)


Cheers,