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

Bug#476587: lintian: incorrectly raises dbg-package-missing-depends



Josselin Mouette <joss@debian.org> writes:

> Package: lintian
> Version: 1.23.46
> Severity: normal
>
> lintian incorrectly raises the following warning:
> W: epiphany-browser-dbg: dbg-package-missing-depends epiphany-browser
>
> However, this package has correct dependencies:
> Depends: epiphany-gecko (= ${binary:Version}) | epiphany-webkit (= ${binary:Version})
> The epiphany-browser package is an empty package, there’s no use 
> depending on it.
>
> I understand that it is not easy to write a correct heuristic for this 
> check; maybe you could just check that it depends on at least one of the 
> architecture-dependent packages of the source package.

The problem is that, when looking at a binary package, I don't think I can
get a list of other binary packages were built from the same source
package.  Lintian works on binary packages in isolation, and that isn't
information included in the metadata of the binary package.

I can think of various other heuristics that we could use, although this
particular case is hard.  It would be easier if the debug package were
named epiphany-dbg; then I could check for dependencies on packages
starting with the name of the debug package with -dbg stripped off....

Maybe I should just peel off the first "word" (splitting at -) in the
debug package name and see if there's a dependency on some other package
starting with that "word".

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: