Bug#272295: Fwd: discussion on Lucene Java Dev list (was: Re: Version 1.9)

Barry Hawkins barry at bytemason.org
Mon Sep 19 20:49:45 UTC 2005


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



- -------- Original Message --------
Subject: Re: Version 1.9
Date: Mon, 19 Sep 2005 16:38:45 -0400
From: Barry Hawkins <barry at bytemason.org>
To: java-dev at lucene.apache.org
References: <50f43336050911125252c72a7f at mail.gmail.com>
<432DAC27.1010204 at scalix.com>

John Haxby wrote:
> John Haxby wrote:
>
>> [...] compiled with gcj that I believe is compiled with gcj [...]
>
>
> It's only compiled once with gcj, if at all :-)
>
> You can get it from
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/SRPMS/lucene-1.4.3-1jpp_3fc.src.rpm
>
>
> A quick inspection of the .spec file suggests that it's compiled with
> gcj and, indeed, the compiled RPM
> (http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/lucene-1.4.3-1jpp_3fc.i386.rpm)
> has both shared libraries and a jar.
>
> jch
[...]
    Hi guys, I am the co-maintainer of the Lucene package for Debian
with Jeff B.  We have been working on getting Lucene to build completely
with a free runtime for quite a while, as Jeff had mentioned.  The
principle challenge was the single RMI class
org.apache.lucene.search.RemoteSearchable.  RMI compilation has only
recently made progress in GNU Classpath and subsequently in the other
free runtimes for Java besides GCJ that use it.
    As you can see in the source RPM referenced above, patch
lucene-bz133180.patch disables the compilation of RemoteShareable.  The
Fedora team simply removes the class in order to package Lucene using GCJ.
    We have been using Kaffe in our work to get Lucene packaged via a
free runtime.  Kaffe has its own GNU Classpath library copy.  As of this
weekend, we got RemoteSearchable to compile and pass its 4 unit tests
using Kaffe's RMI compiling facilities (from GNU Classpath).  We have
been running Lucene's entire unit test suite as part of our build.
    One additional expediency employed in the RPM is that the unit test
suite is foregone until the RMI issue is resolved, as it states in their
changelog:

- - Add patch for rmic (rh#133180 -- gbenson).  Should be fixed by
forthcoming grmic patch.
- - Don't run tests until we get a patched grmic (all pass except those
needing stubs).

    We communicate with the Fedora and GNU Classpath people on a pretty
regular basis via IRC, and for now they are watching us to see if we get
this stuff figured out. ;-)  Our current roadblock is that the unit test
for org.apache.lucene.analysis.ru.RussianStem pukes and fails; you can
see the output in Debian Bug Report #272295[0].

[0] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272295

Regards,


- --
Barry Hawkins
site: www.bytemason.org
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDLyRoHuKcDICy0QoRAmyfAJ9E8A6Rw22GRpZt9EUrlGCZXEWppACgnuLc
xE0l8cMBDLvti12rTlw6+z8=
=ztwd
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list