Bug#730133: java-common: policy vs lintian: needless-dependency-on-jre
Source: java-common
Version: 0.49
Severity: serious
Justification: the java policy diff'd below is a "must", so a serious bug on lintian
While looking at #681763, I found a conflict between policy and lintian:
java-common 0.35 removed a "must", that libraries must depend on the jre.
lintian 2.4.4 added a warning that libraries should not do that.
java-common 0.49 re-adds a "must" directive to do it.
lintian (2.4.4):
+Tag: needless-dependency-on-jre
+Severity: normal
+Certainty: possible
+Info: The package appear to be a Java library and depending on one
+ or more JRE/JDK packages. As of 05 Apr 2010, the Java Policy no
+ longer mandates that Java libraries depend on Java Runtimes.
+ .
+ If there is a valid reason for this dependency, please override
+ the tag.
+Ref: http://packages.qa.debian.org/j/java-common/news/20100405T221415Z.html,
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227587
java-common (0.49):
+ Libraries &must; depend on the needed runtime environment (&d-jre; and/or &d-jre-h; if need a GUI or not).
Cheers,
Steve
Reply to: