Bug#272295: incremental progress for lucene source package build using kaffe/kjc combination

Barry Hawkins Barry Hawkins <barry@alltc.com>, 272295@bugs.debian.org
Tue Jan 18 09:13:06 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

~    Progress is being made in the move of the lucene source package to
main.  Issues with stack size for kjc necessitated an override of the
default maximum stack size to 768k; with that setting, the execution of
javac statements no longer resulted in a StackOverflowError as
documented in bug report #290454.  Currently, rmic statements are
failing.  A recent patch to kaffe should rectify the rmic issues; once
the patch makes it into the Debian kaffe package, these issues may
resolve.  A trimmed transcript appears below:

barryh@case:~/debian_packages/lucene/1.4.3/lucene-1.4.3$ debuild -us -uc
dpkg-buildpackage: source package is lucene
dpkg-buildpackage: source version is 1.4.3-2
dpkg-buildpackage: source maintainer is Jeff Breidenbach <jab@debian.org>
dpkg-buildpackage: host architecture is powerpc
~ fakeroot debian/rules clean
dpatch  deapply-all
reverting patch 02_upstream_javac_nowarn_enable_fix from ./ ... ok.
reverting patch 01_upstream_StandardTokenizer_fix from ./ ... ok.
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
/usr/lib/kaffe/bin/java -Xss 768k  -classpath
/usr/share/java/gnujaxp.jar:/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/ant1.6/lib/ant-junit.jar:/usr/share/java/junit.jar
org.apache.tools.ant.Main -verbose -propertyfile
/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/debian/ant.properties
clean
Apache Ant version 1.6.2 compiled on September 30 2004
Buildfile: build.xml
Detected Java version: 1.4 in: /usr/lib/kaffe/pthreads
Detected OS: Linux
parsing buildfile
/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build.xml with
URI =
file:///home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build.xml
Project base dir set to:
/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3
[...]
~     [rmic] org/apache/lucene/search/RemoteSearchable.class added as
org/apache/lucene/search/RemoteSearchable_Stub.class doesn't exist.
~     [rmic] RMI Compiling 1 class to
/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build/classes/java
~     [rmic] Using SUN rmic compiler
~     [rmic] Compilation arguments:
~     [rmic] '-d'
~     [rmic]
'/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build/classes/java'
~     [rmic] '-classpath'
~     [rmic]
'/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build/classes/java:/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/lib/junit-3.8.1.jar:/usr/share/java/gnujaxp.jar:/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/usr/share/ant1.6/lib/ant-junit.jar:/usr/share/java/junit.jar'
~     [rmic]
~     [rmic] The ' characters around the executable and arguments are
~     [rmic] not part of the command.
~     [rmic] File to be compiled:
org.apache.lucene.search.RemoteSearchable

BUILD FAILED
/home/barryh/debian_packages/lucene/1.4.3/lucene-1.4.3/build.xml:146:
Cannot use SUN rmic, as it is not available.  A common solution is to
set the environment variable JAVA_HOME or CLASSPATH.
~   at org.apache.tools.ant.taskdefs.rmic.SunRmic.execute (SunRmic.java:58)
~   at org.apache.tools.ant.taskdefs.Rmic.execute (Rmic.java:478)
~   at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:275)
~   at org.apache.tools.ant.Task.perform (Task.java:364)
~   at org.apache.tools.ant.Target.execute (Target.java:341)
~   at org.apache.tools.ant.Target.performTasks (Target.java:369)
~   at org.apache.tools.ant.Project.executeTarget (Project.java:1214)
~   at org.apache.tools.ant.Project.executeTargets (Project.java:1062)
~   at org.apache.tools.ant.Main.runBuild (Main.java:673)
~   at org.apache.tools.ant.Main.startAnt (Main.java:188)
~   at org.apache.tools.ant.Main.start (Main.java:151)
~   at org.apache.tools.ant.Main.main (Main.java:241)

Total time: 2 minutes 25 seconds
make: *** [build-stamp] Error 1
debuild: fatal error at line 764:
dpkg-buildpackage failed!

Regards,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB7TDC7bZ6kUftWZwRAhb/AJ964yKzUt6WbUlgRdLqt6XtJ+RWeQCgr/E/
YM1Np2gb9hPC9MQ+f/iXYTk=
=iYHd
-----END PGP SIGNATURE-----