Hi Ludovic,

On Tue, Sep 07, 2010 at 06:25:44PM +0200, [email protected] 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.000000000 -0430
+++ antlr3-3.2/debian/changelog 2010-09-07 13:25:14.000000000 -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 <[email protected]>  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.000000000 -0430
+++ antlr3-3.2/debian/control   2010-09-07 13:24:51.000000000 -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.000000000 -0430
+++ antlr3-3.2/debian/libantlr3-gunit-java-doc.install  2010-09-07 
13:21:40.000000000 -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.000000000 -0430
+++ antlr3-3.2/debian/rules     2010-09-07 13:21:40.000000000 -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

Reply via email to