tags 640583 patch 
thanks

On Mon, Sep 05, 2011 at 09:34:15PM +0200, Mònica Ramírez Arceda wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> >  debian/rules build
> > dh --with javahelper build
> >    dh_testdir
> >    dh_auto_configure
> >    jh_linkjars
> >    dh_auto_build
> >    jh_build
> > find src -name *.java -and -type f -print0 | xargs -0 
> > /usr/lib/jvm/java-6-openjdk/bin/javac -cp :debian/_jh_build.terraintool -d 
> > debian/_jh_build.terraintool -source 1.5
> > xargs: /usr/lib/jvm/java-6-openjdk/bin/javac: No such file or directory
> > make: *** [build] Error 1

The attached patch fixes the error by removing the definition of the
JAVA_HOME variable in rules. 

Miguel
diff -u terraintool-1.09a/debian/changelog terraintool-1.09a/debian/changelog
--- terraintool-1.09a/debian/changelog
+++ terraintool-1.09a/debian/changelog
@@ -1,3 +1,12 @@
+terraintool (1.09a-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: xargs: /usr/lib/jvm/java-6-openjdk/bin/javac: No such
+    file or directory" removing the line that sets the JAVA_HOME environment
+    variable (Closes: #640583)
+
+ -- Miguel de Val Borro <[email protected]>  Sun, 04 Dec 2011 14:21:21 +0100
+
 terraintool (1.09a-2) unstable; urgency=low
 
   * Correct section and priorty to science,extra
diff -u terraintool-1.09a/debian/rules terraintool-1.09a/debian/rules
--- terraintool-1.09a/debian/rules
+++ terraintool-1.09a/debian/rules
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
-
 DH_VERBOSE=1
 
 # Put depended upon jars in here

Reply via email to