Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
tags 907423 + pending thanks Fixed in Git, pending upload: https://salsa.debian.org/lintian/lintian/commit/2e52f1aaf612b03701502b6503a300cb87fb520f checks/changes-file.desc | 11 +++ checks/changes-file.pm | 8 + debian/changelog | 3 ++ .../debian/debian/control.in | 36 ++ .../desc | 7 + .../tags | 3 ++ t/tests/control-file-general/tags | 1 + 7 files changed, 69 insertions(+) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
Control: tags -1 - moreinfo On Thu, Sep 06, 2018 at 11:32:07AM +0100, Chris Lamb wrote: > tags 907423 + moreinfo > thanks > > Hi Adrian, > > > > > lintian should give an error when both foo-dbg and foo-dbgsym are > > > > built > > Sorry for the delay in getting back to you. I wonder; why not rely on > the existing debian-control-has-obsolete-dbg-package tag? That's for a related but different problem (and currently not even a warning). It cannot find #907422 due to https://sources.debian.org/src/lintian/2.5.99/data/common/dbg-pkg/#L4 > Regards, cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
tags 907423 + moreinfo thanks Hi Adrian, > > > lintian should give an error when both foo-dbg and foo-dbgsym are > > > built Sorry for the delay in getting back to you. I wonder; why not rely on the existing debian-control-has-obsolete-dbg-package tag? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
On Mon, Aug 27, 2018 at 09:18:43PM +0100, Chris Lamb wrote: > Hi Adrian, > > > lintian should give an error when both foo-dbg and foo-dbgsym are > > built > > Could you provide another draft description? Thank you in advance. Both -dbg and -dbgsym are built for this package. Only one should be built for the debug symbols. Usually the -dbg should be dropped in favour of the -dbgsym. In some cases (e.g. for Python modules) the -dbg contains more than just the debug symbols. In these cases the -dbgsym should not be built. > Regards, cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
Hi Adrian, > lintian should give an error when both foo-dbg and foo-dbgsym are > built Could you provide another draft description? Thank you in advance. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#907423: lintian should give an error when both foo-dbg and foo-dbgsym are built
Package: lintian Version: 2.5.98 Severity: normal #907362 and #907422 are examples of this problem. Note that it is not always the -dbg that is wrong, e.g. #907422 is a python case where the -dbgsym are likely bogus.