Re: Backport of ant?

2012-02-13 Thread Joachim Breitner
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?

2012-02-13 Thread Mathieu Malaterre
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?

2012-02-13 Thread Joachim Breitner
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?

2012-02-11 Thread Joachim Breitner
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.

Backport of ant?

2012-02-10 Thread Joachim Breitner
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


-- 
Joachim nomeata Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package ant
dpkg-buildpackage: source version 1.8.2-4~bpo60+1
dpkg-buildpackage: source changed by Joachim Breitner nome...@debian.org
 dpkg-source --before-build ant-1.8.2
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
dh_clean 
rm -f gjdoc_rawcomment.cache
rm -rf bin bootstrap build lib/*.jar
rm -f stamp-build-ant
rm -rf debian/tmp
mh_clean
 dpkg-source -b ant-1.8.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ant using existing ./ant_1.8.2.orig.tar.gz
dpkg-source: info: building ant in ant_1.8.2-4~bpo60+1.debian.tar.gz
dpkg-source: info: building ant in ant_1.8.2-4~bpo60+1.dsc
 debian/rules build
test -x debian/rules
mkdir -p .
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
mkdir -p .
Adding cdbs dependencies to debian/ant.substvars
dh_installdirs -pant 
# doing bootstrapping
install -d bootstrap/lib
ln -sf /usr/share/java/xml-apis.jar ./bootstrap/lib/xml-apis.jar
ln -sf /usr/share/java/xercesImpl.jar ./bootstrap/lib/xercesImpl.jar
/bin/sh bootstrap.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Buildfile: /home/jojo/debian/backports/ant-1.8.2/build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: /home/jojo/debian/backports/ant-1.8.2/build/lib
Compiling 228 source files to 
/home/jojo/debian/backports/ant-1.8.2/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Copying 5 files to /home/jojo/debian/backports/ant-1.8.2/build/classes
Copying 2 files to /home/jojo/debian/backports/ant-1.8.2/build/classes
Copying 2 files to 
/home/jojo/debian/backports/ant-1.8.2/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl

jars:
Copying 2 files to /home/jojo/debian/backports/ant-1.8.2/build
Copying 1 file to /home/jojo/debian/backports/ant-1.8.2/build
Building jar: /home/jojo/debian/backports/ant-1.8.2/build/lib/ant-launcher.jar
Building jar: /home/jojo/debian/backports/ant-1.8.2/build/lib/ant.jar
Building jar: /home/jojo/debian/backports/ant-1.8.2/build/lib/ant-bootstrap.jar
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-resolver.jar because 
no files were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-resolver.jar because 
no files were included.
Building jar: /home/jojo/debian/backports/ant-1.8.2/build/lib/ant-junit.jar
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-junit4.jar because no files 
were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-junit4.jar because no files 
were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-regexp.jar because 
no files were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-regexp.jar because 
no files were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-oro.jar because no 
files were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-oro.jar because no 
files were included.
Warning: skipping jar archive 
/home/jojo/debian/backports/ant-1.8.2/build/lib/ant-apache-bcel.jar because no 
files were included.

Re: Backport of ant?

2012-02-10 Thread Ludovic Claude
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.