Package: azureus
Version: 2.3.0.4-1
Severity: serious
Tags: patch

When building 'azureus' in a clean 'unstable' chroot,
I get the following error:

   223.                                         sun.misc.Cleaner cleaner = 
(sun.misc.Cleaner)getCleanerMethod.invoke( buffer, new Object[0] );
                                                                                
^--^
*** Semantic Error: You need to modify your classpath, sourcepath, 
bootclasspath, and/or extdirs setup. Jikes could not find package "sun.misc" 
in: 
                /usr/share/classpath/glibj.zip
                /usr/share/java/commons-cli-1.0.jar
                /usr/share/java/log4j-1.2.jar
                /usr/share/java/seda.jar
                /usr/share/java/swt-gtk-3.1.jar
                .

make[1]: *** [org/gudy/azureus2/ui/common/Main.class] Error 1
make[1]: Leaving directory `/azureus-2.3.0.4'
make: *** [build] Error 2

This can be fixed by installing sun-j2sdk1.5 instead of jikes-classpath.

Later in the build process, I get the follwing error:

javac -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn -classpath 
/usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar
 `find . -name *.java`
find . \
-name \*.class -or \
-name \*.gif -or \
-name \*.jpg -or \
-name \*.png -or \
-name \*.properties -or \
-name \*.stf -or \
-name \*.wav | fastjar cfm@ Azureus2.jar manifest.mf
/bin/sh: fastjar: command not found
make[1]: *** [Azureus2.jar] Error 127
make[1]: Leaving directory `/srv/dbuild/tmp/azureus-2.3.0.4'

With the attached patch 'azureus' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/azureus-2.3.0.4/debian/control ./debian/control
--- ../tmp-orig/azureus-2.3.0.4/debian/control  2005-09-02 18:21:13.000000000 
+0000
+++ ./debian/control    2005-09-02 18:20:30.000000000 +0000
@@ -2,7 +2,7 @@
 Section: contrib/net
 Priority: optional
 Maintainer: Shaun Jackman <[EMAIL PROTECTED]>
-Build-Depends-Indep: libcommons-cli-java, liblog4j1.2-java, libseda-java, 
libswt-gtk-3.1-java, jikes-classpath | java2-compiler, debhelper (>> 4.0.0)
+Build-Depends-Indep: debhelper, sun-j2sdk1.5, fastjar, libcommons-cli-java, 
liblog4j1.2-java, libseda-java, libswt-gtk-3.1-java
 Standards-Version: 3.6.1.0
 
 Package: azureus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to