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

Bug#678896: lintian: please add check for multi-arch: foreign -dbg packages



I'd tend to agree that M-A:foreign for -dbg packages is always wrong.

* Niels Thykier <niels@thykier.net>, 2012-09-03, 13:49:
For a library, I see the problem the "-dbg" has symbols for a "M-A: same" package (e.g. a library). But for some package that is "M-A: foreign", I don't see why the related "-dbg" package couldn't be "M-A: foreign". Sure it might be "weird", but I don't immediately see how it would break anything.

If there's a -dbg package for a MA:foreign package, then something is already broken. Imagine a situation like this:

Package: foo
Multi-Arch: foreign

Package: foo-dbg
Depends: foo (= ${binary:Version})

Now I can co-install foo-dbg:amd64 and foo:i386, despite the fact that foo-dbg is useless in such setup.

(I'm afraid it's a corner-case of multi-arch that hasn't been well-thought yet...)

--
Jakub Wilk


Reply to: