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

Bug#372190: build-depends-without-arch-dep with cdbs/ant packages



Package: lintian
Version: 1.23.21
Severity: normal

When a package using cdbs and ant runs its clean rule, it looks like
this:

cd . && /usr/lib/kaffe/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/servlet-2.3.jar:/usr/lib/kaffe/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true  -Dbuild.compiler=jikes -buildfile build/build.xml  clean

I don't know what ant does internally, but the safest assumption is that
all these components are at least referenced.  That means that all these
tools are needed in Build-Depends:

ant
kaffe
jikes
libanything-java

and equivalent alternatives.  The strict interpretation of policy would
then force me to write all build dependencies in Build-Depends.  This is
a bit silly but I don't see a way around it.  Lintian needs to be
adjusted to this though.  I'd also be happy to make adjustments to cdbs
if anyone sees possibilities.



Reply to: