Bug#595869: antlr3: FTBFS in squeeze: maven errors
On Thu, Sep 09, 2010 at 11:01:57PM +0200, Torsten Werner wrote: actually it does not fix any problem for me because I have no problem. :) But feel free to merge your changes in the svn trunk. Looking more closely at this, I also could not reproduce this problem, so by the moment I am not merging the changes. Cheers, -- Miguel Landaeta, miguel at miguel.cc secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/ Faith means not wanting to know what is true. -- Nietzsche -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#595869: antlr3: FTBFS in squeeze: maven errors
Hi Lucas, I cannot reproduce the problem. May you verify the build failure, please? Hi Miguel, On Tue, Sep 7, 2010 at 8:09 PM, Miguel Landaeta mig...@miguel.cc wrote: Please check my proposed patch for this. actually it does not fix any problem for me because I have no problem. :) But feel free to merge your changes in the svn trunk. Cheers, Torsten -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#595869: antlr3: FTBFS in squeeze: maven errors
Hello Lucas, Can you find the contents of this file? It's probably a simple memory issue, but I'll need this information to fix this FTBFS. /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/target/invoker/maven-javadoc-plugin1535221466.tx Message du 07/09/10 01:27 De : Lucas Nussbaum A : sub...@bugs.debian.org Copie à : Objet : Bug#595869: antlr3: FTBFS in squeeze: maven errors Package: antlr3 Version: 3.2-4 Severity: serious Tags: squeeze sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20100906 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in a squeeze chroot, your package failed to build on amd64. Relevant part: make[1]: Entering directory `/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2' mh_patchpoms -pantlr3 --debian-build --keep-pom-version --maven-repo=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven-repo touch debian/stamp-poms-patched make[1]: Leaving directory `/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2' cd . /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven-repo -DbuildNumber=debian-4 package [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ANTLR Master build control POM [INFO] Antlr 3 Runtime [INFO] ANTLR Grammar Tool [INFO] Maven plugin for ANTLR V3 [INFO] ANTLR gUnit [INFO] Maven plugin for gUnit ANTLR V3 [INFO] [INFO] Building ANTLR Master build control POM [INFO] task-segment: [package] [INFO] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [INFO] Building Antlr 3 Runtime [INFO] task-segment: [package] [INFO] [INFO] [resources:resources {execution: default-resources}] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Not compiling test sources [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/target/antlr-runtime-3.2.jar [INFO] [INFO] Building ANTLR Grammar Tool [INFO] task-segment: [package] [INFO] [INFO] [antlr:generate {execution: default}] [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/codegen.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.print.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org
Bug#595869: antlr3: FTBFS in squeeze: maven errors
Hi Ludovic, On Tue, Sep 07, 2010 at 06:25:44PM +0200, ludovic.cla...@laposte.net wrote: Can you find the contents of this file? It's probably a simple memory issue, but I'll need this information to fix this FTBFS. /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/target/invoker/maven-javadoc-plugin1535221466.tx The same bug was found recently in libhibernate3-java (#594441). Please check my proposed patch for this. (I also had to fix the clean target because antlr3 was FTBFS on pbuilder with --twice flag). Cheers, -- Miguel Landaeta, miguel at miguel.cc secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/ Faith means not wanting to know what is true. -- Nietzsche diff -Nru antlr3-3.2/debian/changelog antlr3-3.2/debian/changelog --- antlr3-3.2/debian/changelog 2010-07-25 16:32:20.0 -0430 +++ antlr3-3.2/debian/changelog 2010-09-07 13:25:14.0 -0430 @@ -1,3 +1,13 @@ +antlr3 (3.2-5) UNRELEASED; urgency=low + + * Team upload. + * Fix javadoc generation with Maven. (Closes: #595869). + * debian/rules: Fix clean target since it was not removing all files +generated during build time. + * Bump Standards-Version to 3.9.1. No changes were required. + + -- Miguel Landaeta mig...@miguel.cc Tue, 07 Sep 2010 13:23:47 -0430 + antlr3 (3.2-4) unstable; urgency=low [ Ludovic Claude ] diff -Nru antlr3-3.2/debian/control antlr3-3.2/debian/control --- antlr3-3.2/debian/control 2010-07-25 16:32:20.0 -0430 +++ antlr3-3.2/debian/control 2010-09-07 13:24:51.0 -0430 @@ -7,7 +7,7 @@ maven-debian-helper (= 1.1), libstringtemplate-java (= 3.2.1), libantlr-maven-plugin-java (= 2.1), libmaven-plugin-testing-java, libmaven-javadoc-plugin-java, default-jdk-doc, gcj-native-helper -Standards-Version: 3.9.0 +Standards-Version: 3.9.1 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/antlr3 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/antlr3 Homepage: http://www.antlr.org/ diff -Nru antlr3-3.2/debian/libantlr3-gunit-java-doc.install antlr3-3.2/debian/libantlr3-gunit-java-doc.install --- antlr3-3.2/debian/libantlr3-gunit-java-doc.install 2010-07-25 16:32:20.0 -0430 +++ antlr3-3.2/debian/libantlr3-gunit-java-doc.install 2010-09-07 13:21:40.0 -0430 @@ -1,2 +1,2 @@ -gunit/target/apidocs/* usr/share/doc/libantlr3-gunit-java/api +target/site/apidocs/* usr/share/doc/libantlr3-gunit-java/api diff -Nru antlr3-3.2/debian/rules antlr3-3.2/debian/rules --- antlr3-3.2/debian/rules 2010-07-25 16:32:20.0 -0430 +++ antlr3-3.2/debian/rules 2010-09-07 13:21:40.0 -0430 @@ -14,7 +14,7 @@ endif DEB_MAVEN_INSTALL_TO_USJ := false -DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate +DEB_MAVEN_DOC_TARGET := javadoc:aggregate PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | cut -d'+' -f1 -) JAVA_HOME:= /usr/lib/jvm/default-java @@ -53,5 +53,8 @@ ln -s antlr3 \ debian/antlr3-gcj/usr/share/doc/antlr3-gcj +clean:: + -rm -rf debian/null mvn-build + get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack
Bug#595869: antlr3: FTBFS in squeeze: maven errors
Package: antlr3 Version: 3.2-4 Severity: serious Tags: squeeze sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20100906 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in a squeeze chroot, your package failed to build on amd64. Relevant part: make[1]: Entering directory `/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2' mh_patchpoms -pantlr3 --debian-build --keep-pom-version --maven-repo=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven-repo touch debian/stamp-poms-patched make[1]: Leaving directory `/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2' cd . /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/debian/maven-repo -DbuildNumber=debian-4 package [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ANTLR Master build control POM [INFO] Antlr 3 Runtime [INFO] ANTLR Grammar Tool [INFO] Maven plugin for ANTLR V3 [INFO] ANTLR gUnit [INFO] Maven plugin for gUnit ANTLR V3 [INFO] [INFO] Building ANTLR Master build control POM [INFO]task-segment: [package] [INFO] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [INFO] Building Antlr 3 Runtime [INFO]task-segment: [package] [INFO] [INFO] [resources:resources {execution: default-resources}] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Not compiling test sources [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/runtime/Java/target/antlr-runtime-3.2.jar [INFO] [INFO] Building ANTLR Grammar Tool [INFO]task-segment: [package] [INFO] [INFO] [antlr:generate {execution: default}] [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/codegen.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.print.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g [INFO] The grammar is already generated. [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/define.g [INFO] The grammar is already generated. [INFO] [antlr3:antlr {execution: default}] [INFO] ANTLR: Processing source directory /build/user-antlr3_3.2-4-amd64-xgAjwj/antlr3-3.2/tool/src/main/antlr3 ANTLR Parser Generator Version 3.2 debian-4 org/antlr/grammar/v3/ANTLRv3.g warning(105): org/antlr/grammar/v3/ANTLRv3.g:94:9: no lexer rule corresponding to token: DOC_COMMENT warning(105): org/antlr/grammar/v3/ANTLRv3.g:249:6: no lexer rule corresponding to