On Fri, Oct 19, 2007 at 11:28:11AM +0530, Kumar Appaiah wrote:
> Hi!
> 
> I propose to make an NMU to fix the RC bug. Please find attached the
> NMU diff.

Please ignore the previous diff, which changed the Depends
unnecesarily. I now have a new diff which just builds using
java-gcj-compat-dev.

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -urN libgetenv-java-1.0.0/debian/changelog libgetenv-java-1.0/debian/changelog
--- libgetenv-java-1.0.0/debian/changelog	2007-10-19 09:11:42.000000000 +0530
+++ libgetenv-java-1.0/debian/changelog	2007-10-19 11:30:54.000000000 +0530
@@ -1,3 +1,11 @@
+libgetenv-java (1.0-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS by switching to java-gcj-compat instead of
+    jikes. (Closes: #424469)
+
+ -- Kumar Appaiah <[EMAIL PROTECTED]>  Fri, 19 Oct 2007 09:05:26 +0530
+
 libgetenv-java (1.0-6) unstable; urgency=low
 
   * Increase jikes-gij build-dep version. Closes: #393016
diff -urN libgetenv-java-1.0.0/debian/control libgetenv-java-1.0/debian/control
--- libgetenv-java-1.0.0/debian/control	2007-10-19 09:11:42.000000000 +0530
+++ libgetenv-java-1.0/debian/control	2007-10-19 11:30:54.000000000 +0530
@@ -1,7 +1,7 @@
 Source: libgetenv-java
 Priority: optional
 Maintainer: Mark Howard <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 5), jikes-gij (>=1:1.22-5.1), fastjar, gcj (>=3.2), classpath
+Build-Depends: debhelper (>> 5), java-gcj-compat-dev
 Section: libs
 Standards-Version: 3.7.2.0
 
diff -urN libgetenv-java-1.0.0/debian/rules libgetenv-java-1.0/debian/rules
--- libgetenv-java-1.0.0/debian/rules	2007-10-19 09:11:42.000000000 +0530
+++ libgetenv-java-1.0/debian/rules	2007-10-19 11:30:54.000000000 +0530
@@ -11,9 +11,10 @@
 build: build-stamp
 build-stamp: configure-stamp 
 	dh_testdir
-	jikes-gij uk/co/tigress/System.java
-	fastjar -c -f libgetenv-java.jar uk/co/tigress/*.class
-	gcc -c -fPIC -g -Wall -O2 -I/usr/include/classpath/ uk_co_tigress_System.c
+	export JAVA_HOME=/usr/lib/jvm/java-gcj
+	javac uk/co/tigress/System.java
+	jar -c -f libgetenv-java.jar uk/co/tigress/*.class
+	gcc -c -fPIC -g -Wall -O2 -I/usr/lib/jvm/java-gcj/include uk_co_tigress_System.c
 	gcc -shared -fPIC -o libgetenv-java.so uk_co_tigress_System.o
 	touch build-stamp
 

Reply via email to