Bug#558291: proposed patch for the build-dep issue

Patrick Winnertz winnie at debian.org
Sun Jan 24 14:02:53 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: classpath_adjust_builddeps.patch
Type: text/x-patch
Size: 4260 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100124/bcabff7f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100124/bcabff7f/attachment.pgp>


More information about the pkg-java-maintainers mailing list