Re: Backport of ant?
Dear Maintainers of fop, ant, maven-repo-helper, libxml-commons-resolver1.1-java and xmlgraphics-commons, I’d like to backport fop to sequeeze, and I successfully built it on sequeeze after also backporting the packages mentioned above. No source changes were required besides these two changes to the metadata (all of which could safely go into the packages in unstable): diff -Nru ant-1.8.2/debian/control ant-1.8.2/debian/control --- ant-1.8.2/debian/control2011-09-21 16:36:38.0 +0200 +++ ant-1.8.2/debian/control2012-02-13 11:51:07.0 +0100 @@ -8,7 +8,7 @@ Build-Depends: cdbs (= 0.4.8), debhelper (= 7), default-jdk, maven-repo-helper ( 1.0), libxerces2-java, libbsf-java (= 2.3.0rc1), liboro-java, libxalan2-java (= 2.4.0), junit, junit4, antlr, liblog4j1.2-java, libregexp-java, libbcel-java (= 5.0), libcommons-logging-java, libjdepend-java, - libgnumail-java, libxml-commons-resolver1.1-java, libcommons-net-java, libjsch-java, libjaxp1.3-java, + libgnumail-java, libxml-commons-resolver1.1-java (= 1.2-7~), libcommons-net-java, libjsch-java, libjaxp1.3-java, gcj-native-helper Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/ant diff -Nru fop-1.0.dfsg2/debian/control fop-1.0.dfsg2/debian/control --- fop-1.0.dfsg2/debian/control2012-01-10 18:38:17.0 +0100 +++ fop-1.0.dfsg2/debian/control2012-02-13 13:01:34.0 +0100 @@ -39,8 +39,8 @@ Package: libfop-java Section: java Architecture: all -Replaces: fop ( 1:1.0.dfsg2-6) -Breaks: fop ( 1:1.0.dfsg2-6) +Replaces: fop ( 1:1.0.dfsg2-6~) +Breaks: fop ( 1:1.0.dfsg2-6~) Depends: libxerces2-java, libxalan2-java, libbsf-java, libavalon-framework-java (=4.1.2-2), libbatik-java (= 1.7), libcommons-io-java, libcommons-logging-java, libxt6, Are there any objections of uploading these packages to squeeze-backports? Thanks Joachim -- Joachim nomeata Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata signature.asc Description: This is a digitally signed message part __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Re: Backport of ant?
Hi Joachim, On Mon, Feb 13, 2012 at 6:01 PM, Joachim Breitner nome...@debian.org wrote: Dear Maintainers of fop, ant, maven-repo-helper, libxml-commons-resolver1.1-java and xmlgraphics-commons, I’d like to backport fop to sequeeze, and I successfully built it on sequeeze after also backporting the packages mentioned above. No source changes were required besides these two changes to the metadata (all of which could safely go into the packages in unstable): Shouldn't RC bug be fixed first ? I am thinking of #657281. Thanks -- Mathieu __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Re: Backport of ant?
Hi, Am Montag, den 13.02.2012, 18:47 +0100 schrieb Mathieu Malaterre: On Mon, Feb 13, 2012 at 6:01 PM, Joachim Breitner nome...@debian.org wrote: Dear Maintainers of fop, ant, maven-repo-helper, libxml-commons-resolver1.1-java and xmlgraphics-commons, I’d like to backport fop to sequeeze, and I successfully built it on sequeeze after also backporting the packages mentioned above. No source changes were required besides these two changes to the metadata (all of which could safely go into the packages in unstable): Shouldn't RC bug be fixed first ? I am thinking of #657281. thanks for checking that, I did not look at open bugs. In this particular case (non-free but distributable file lying around in the source unmodfified) I think it is reasonable to upload the package as it is to backports, nothing gets worse this way. I’ll try to remember to update the package when a fixed packages enters testing. Greetings, Joachim -- Joachim nomeata Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata signature.asc Description: This is a digitally signed message part __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Re: Backport of ant?
Dear Ludovic, Am Samstag, den 11.02.2012, 00:36 +0100 schrieb Ludovic Claude: 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?) it’s there, the source tarball was obtained with apt-get source. or - more likely - libxml-commons-resolver1.1-java does not provide /usr/share/java/xml-resolver-1.2.jar. Indeed: http://packages.debian.org/squeeze/all/libxml-commons-resolver1.1-java/filelist vs. http://packages.debian.org/wheezy/all/libxml-commons-resolver1.1-java/filelist 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. well, if I upload fop to squeeze-backports, I’d also have to upload ant, and I don’t think I should upload a version with less functionality than the same version in testing. So I need to backport xml-commons-resolver as well, will do that later. Maybe you want to bump the build dependency to (= 1.2-7) in ant if it does not build with the version in squeeze. Thanks for your feedback, Joachim -- Joachim nomeata Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata signature.asc Description: This is a digitally signed message part __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Re: Backport of ant?
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. Ludovic 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 __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.