Backport of ant?

Ludovic Claude ludovic.claude at
Fri Feb 10 23:36:05 UTC 2012

Hello Joachim,

It looks like either src/main/org/apache/tools/ant/types/resolver/ is
missing from your source tarball (are you using the correct tarball for
ant 1.8.2?) or - more likely - libxml-commons-resolver1.1-java does not
provide /usr/share/java/xml-resolver-1.2.jar. If that is the case, then
you can work around this issue by removing the mh_installjar line(s)
which fail, as I don't think that fop uses the <xmlcatalog> task
provided by ant-apache-resolver in its build.


On 10/02/2012 22:32, Joachim Breitner wrote:
> Hi ant maintainers,
> I’m trying to backport fop to squeeze, and it needs a newer ant (and
> xmlgraphics-commons). The build dependencies of ant-1.8.2-4 are
> fulfillable in squeeze, but it fails to build correctly:
> mh_installjar -pant-optional -l src/etc/poms/ant-apache-resolver/pom.xml
> build/lib/ant-apache-resolver.jar /usr/share/ant/lib/ant-apache-resolver.jar
> Cannot find the jar to install: build/lib/ant-apache-resolver.jar
> make: *** [install/ant-optional] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
> Full build log is attached.
> Should I just not install the ant-apache-resolver.jar file, i.e. remove
> that line from debian/rules, or what is going on here?
> Oh, and if someone else feels like backporting this, I’d be very
> grateful :-)
> Thanks,
> Joachim

More information about the pkg-java-maintainers mailing list