Package: henplus
Version: 0.9.5-2
Severity: normal
Tags: patch

When building 'henplus' on amd64/testing, I get the following error:

ANT_OPTS="-Dbuild.compiler=jikes -Dant.home=$ANT_HOME"
ANT="$JAVACMD -classpath $CLASSPATH org.apache.tools.ant.Main $ANT_OPTS"

$ANT install -DDESTDIR=$ROOT
Buildfile: build.xml

prepare:

Version.java:

compile:

jar:

BUILD FAILED
/henplus-0.9.5/build.xml:40: java.lang.NullPointerException

Total time: 2 seconds
make: *** [debian/tmp-henplus/DEBIAN/control] Error 1


With the attached patch, which makes the package use sablevm
instead of kaffe, 'henplus' can be compiled on amd64. With sablevm
it works also on i386/testing.

This looks like a kaffe bug.


Regards
Andreas Jochens

diff -urN ../tmp-orig/henplus-0.9.5/debian/control ./debian/control
--- ../tmp-orig/henplus-0.9.5/debian/control    2005-04-29 19:48:06.024243070 
+0200
+++ ./debian/control    2005-04-29 19:47:44.397530830 +0200
@@ -3,12 +3,11 @@
 Section: utils
 Priority: optional
 Standards-Version: 3.6.1
-Build-Depends-Indep: kaffe-jthreads, jikes-kaffe, libant1.6-java, 
libxerces-java, libreadline-java (>= 0.7.3), yada (>= 0.32)
-Build-Conflicts-Indep: kaffe-pthreads
+Build-Depends-Indep: sablevm, jikes-sablevm, libant1.6-java, libxerces-java, 
libreadline-java (>= 0.7.3), yada (>= 0.33)
 
 Package: henplus
 Architecture: all
-Depends: kaffe-jthreads | java-virtual-machine, libreadline-java (>= 0.7.3)
+Depends: sablevm | java-virtual-machine, libreadline-java (>= 0.7.3)
 Description: JDBC SQL commandline frontend with TAB-completion
  HenPlus is a SQL shell written in Java that works for any database that
  has JDBC support. It provides commandline history, commandline completion,
diff -urN ../tmp-orig/henplus-0.9.5/debian/packages ./debian/packages
--- ../tmp-orig/henplus-0.9.5/debian/packages   2005-04-29 19:48:06.023243222 
+0200
+++ ./debian/packages   2005-04-29 19:47:25.190450750 +0200
@@ -6,8 +6,8 @@
 #   $ yada rebuild rules
 
 
-%define with_sablevm 0
-%define with_kaffe 1
+%define with_sablevm 1
+%define with_kaffe 0
 
 # Macro switches:
 #   with_sablevm=%{with_sablevm}


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

Reply via email to