Hey,

I've worked on a patch for this issue (see attached file).. however currently 
the build still fails with this error msg: 

/bin/bash ../../../libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../../../include  -I../../../include -
I../../../native/jni/classpath -I../../../native/jni/native-lib -
I/usr/include/xulrunner-1.9.1/unstable -W -Wall -Wmissing-declarations -
Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -
pedantic -fexceptions -fasynchronous-unwind-tables -g -O2 -c -o 
gnu_java_net_VMPlainSocketImpl.lo gnu_java_net_VMPlainSocketImpl.c              
                                                                             
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include 
-I../../../include -I../../../native/jni/classpath -
I../../../native/jni/native-lib -I/usr/include/xulrunner-1.9.1/unstable -W -
Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-
long -Wstrict-prototypes -pedantic -fexceptions -fasynchronous-unwind-tables -
g -O2 -c gnu_java_net_VMPlainSocketImpl.c  -fPIC -DPIC -o 
.libs/gnu_java_net_VMPlainSocketImpl.o                                          
                                                                  
/bin/bash ../../../libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../../../include  -I../../../include -
I../../../native/jni/classpath -I../../../native/jni/native-lib -
I/usr/include/xulrunner-1.9.1/unstable -W -Wall -Wmissing-declarations -
Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -
pedantic -fexceptions -fasynchronous-unwind-tables -g -O2 -c -o 
gnu_java_net_local_LocalSocketImpl.lo gnu_java_net_local_LocalSocketImpl.c      
                                                                             
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include 
-I../../../include -I../../../native/jni/classpath -
I../../../native/jni/native-lib -I/usr/include/xulrunner-1.9.1/unstable -W -
Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-
long -Wstrict-prototypes -pedantic -fexceptions -fasynchronous-unwind-tables -
g -O2 -c gnu_java_net_local_LocalSocketImpl.c  -fPIC -DPIC -o 
.libs/gnu_java_net_local_LocalSocketImpl.o                                      
                                                              
/bin/bash ../../../libtool --tag=CC   --mode=link x86_64-linux-gnu-gcc -W -
Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-
long -Wstrict-prototypes -pedantic -fexceptions -fasynchronous-unwind-tables -
g -O2 -module -version-info 0:0:0 -no-undefined  -o libjavanet.la -rpath 
/usr/lib/classpath javanet.lo java_net_VMInetAddress.lo 
java_net_VMNetworkInterface.lo java_net_VMURLConnection.lo 
gnu_java_net_VMPlainSocketImpl.lo gnu_java_net_local_LocalSocketImpl.lo 
../../../native/jni/classpath/jcl.lo ../../../native/jni/native-
lib/libclasspathnative.la -lmagic                                               
                                                                         
libtool: link: unsupported hardcode properties                                  
                                                             
libtool: link: See the libtool documentation for more information.              
                                                             
libtool: link: Fatal configuration error.                                       
                                                             
make[4]: *** [libjavanet.la] Error 1                                            
                                                             
make[4]: Leaving directory `/tmp/buildd/classpath-0.98/native/jni/java-net'     
                                                             
make[3]: *** [all-recursive] Error 1                                            
                                                             
make[3]: Leaving directory `/tmp/buildd/classpath-0.98/native/jni'              
                                                             
make[2]: *** [all-recursive] Error 1                                            
                                                             
make[2]: Leaving directory `/tmp/buildd/classpath-0.98/native'                  
                                                             
make[1]: *** [all-recursive] Error 1                                            
                                                             
make[1]: Leaving directory `/tmp/buildd/classpath-0.98'                         
                                                             
make: *** [build-stamp] Error 2                                                 
                                                             
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
2                                                              
E: Failed autobuilding of package                                      

Hope that helps someone else to find the libtool error. 

Greetings
Winnie

diff -Nurwd orig/classpath-0.98/debian/changelog classpath-0.98/debian/changelog
--- orig/classpath-0.98/debian/changelog	2010-01-24 12:53:18.000000000 +0100
+++ classpath-0.98/debian/changelog	2010-01-24 12:55:59.005822737 +0100
@@ -1,3 +1,12 @@
+classpath (2:0.98-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bumped gcj build-dep to >= 4.4 and removed gjdoc as build-dep
+    - added patch to recognise gjdoc versions >= 0.9* 
+    (Closes: #558291)
+
+ -- Patrick Winnertz <[email protected]>  Sun, 24 Jan 2010 12:54:52 +0100
+
 classpath (2:0.98-5) unstable; urgency=low
 
   * Build against xulrunner-dev (>= 1.9.1) (Closes: #551253).
diff -Nurwd orig/classpath-0.98/debian/control classpath-0.98/debian/control
--- orig/classpath-0.98/debian/control	2010-01-24 12:53:18.000000000 +0100
+++ classpath-0.98/debian/control	2010-01-24 13:57:45.965825890 +0100
@@ -3,8 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <[email protected]> 
 Uploaders: Michael Koch <[email protected]>, Arnaud Vandyck <[email protected]>, John Leuner <[email protected]>
-Build-Depends: debhelper (>= 5), ecj [!alpha], gcj [!alpha], default-jdk [alpha], zip, libgtk2.0-dev, libgconf2-dev, libart-2.0-dev, libx11-dev, libice-dev, libxt-dev, libxtst-dev, libasound2-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libcairo2-dev, dpatch, libqt4-dev (>= 4.1.0), dssi-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], xulrunner-dev (>= 1.9.1), libmagic-dev
-Build-Depends-Indep: gjdoc (>= 0.7.9)
+Build-Depends: debhelper (>= 5), ecj [!alpha], gcj (>= 4.4) [!alpha], default-jdk [alpha], zip, libgtk2.0-dev, libgconf2-dev, libart-2.0-dev, libx11-dev, libice-dev, libxt-dev, libxtst-dev, libasound2-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libcairo2-dev, dpatch, libqt4-dev (>= 4.1.0), dssi-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], xulrunner-dev (>= 1.9.1), libmagic-dev, libtool, autoconf, automake
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/classpath
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/classpath
diff -Nurwd orig/classpath-0.98/debian/patches/00list classpath-0.98/debian/patches/00list
--- orig/classpath-0.98/debian/patches/00list	2010-01-24 12:53:18.000000000 +0100
+++ classpath-0.98/debian/patches/00list	2010-01-24 13:03:21.781843776 +0100
@@ -1,2 +1,3 @@
 10_appletviewer.dpatch
 20_abstractbuttonicon.dpatch
+30_gjdoc_version.patch
\ Kein Zeilenumbruch am Dateiende.
diff -Nurwd orig/classpath-0.98/debian/patches/30_gjdoc_version.patch classpath-0.98/debian/patches/30_gjdoc_version.patch
--- orig/classpath-0.98/debian/patches/30_gjdoc_version.patch	1970-01-01 01:00:00.000000000 +0100
+++ classpath-0.98/debian/patches/30_gjdoc_version.patch	2010-01-24 13:44:44.301906731 +0100
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 3p_gjdoc_version.dpatch by Petter Reinholdtsen
+##
+## All lines beginning with `## DP:' are a description of the patch
+## DP: add 0.9 to the list of known gjdoc versions
+
+...@dpatch@
+diff -Nurwd orig/classpath-0.98/m4/acinclude.m4 classpath-0.98/m4/acinclude.m4
+--- classpath-0.98/m4/acinclude.m4	2008-09-14 18:49:44.000000000 +0200
++++ classpath-0.98/m4/acinclude.m4	2010-01-24 12:52:35.030029160 +0100
+@@ -190,6 +190,7 @@
+     case ${gjdoc_version} in
+       0.7.9) ;;
+       0.8*) ;;
++      0.9*) ;;
+       *) AC_MSG_ERROR([Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found.]) ;;
+     esac
+   fi
+diff -Nurwd orig/classpath-0.98/autogen.sh classpath-0.98/autogen.sh
+--- orig/classpath-0.98/autogen.sh	2007-05-18 22:18:53.000000000 +0200
++++ classpath-0.98/autogen.sh	2010-01-24 13:43:25.378920498 +0100
+@@ -21,6 +21,9 @@
+ 	    1.5*)
+ 		have_libtool=true
+ 		;;
++	    2.2*)
++		have_libtool=true
++		;;
+ 	esac
+ fi
+ if $have_libtool ; then : ; else
+
diff -Nurwd orig/classpath-0.98/debian/rules classpath-0.98/debian/rules
--- orig/classpath-0.98/debian/rules	2010-01-24 12:53:18.000000000 +0100
+++ classpath-0.98/debian/rules	2010-01-24 13:32:40.369863831 +0100
@@ -24,6 +24,7 @@
 
 config.status: patch configure
 	dh_testdir
+	sh autogen.sh
 	CPPFLAGS=-I/usr/include/xulrunner-1.9.1/unstable \
 	MOC=moc-qt4 ./configure \
 		--host=$(DEB_HOST_GNU_TYPE) \

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to