Hi, Damien Raude-Morvan wrote: [...] > I'm getting : > [...] > libmx4j-java source: missing-build-dependency-for-dh_-command > dh_nativejava=java-gcj-compat-dev > [...] > > but libmx4j-java Build-Depends on default-jdk-builddep > which in turn Depends on default-jdk > which Depends on java-gcj-compat-dev. > > I don't want to add explicit B-D on java-gcj-compat-dev package.
That's exactly what you should do; if default-jdk stops depending on java-cgj-compat-dev, or default-jdk-builddep stops depending on default-jdk, your package will fail to build. You should not rely on whether a build dependency pulls another package if you use something from that other package. If it was used only by some component of, for example, default-jdk then neither lintian would know you use it nor you should depend on it. > Should I override this lintian "E" tag ? > Maybe lintian should check full dependency chain (seems to time consuming for > me) ? No and no; the latter can't be done because lintian works on each package in isolation, it only knows about the package it is currently working on. As I'm not a maintainer I'm leaving the report open, although IMO there's nothing to change here (and the tag description sounds fine). Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org