[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609657: libreoffice-gcj: needs versioned dependency on gcj compat package



On Tue, Jan 11, 2011 at 11:31:17AM +0100, Lionel Elie Mamane wrote:
> When libreoffice-gcj is installed, but the version of the
> Java-RTE-like interface of gcj (package gcj-jre or java-gcj-compat)
> that is installed is not the right one, and LibreOffice is configured
> to use gcj, LibreOffice aborts as soon as it tries to use java with
> error message:
>  libgcj failure: gcj linkage error.
> 
> 
> The dependency on gcj-jre / java-gcj-compat should thus be versioned
> accordingly to ensure that a compatible version is installed.

That requires that gcj-jre (well, libgcj) has that info available and
wouldn't change it without notifiying maintainers of -gcj using packages.
It already has a .shlibs, why point to the libgcj-bc package, which *is*
in the dependencies, though: 

#

dep: libgcj-bc (>= 4.4.5-1~)
    Link time only library for use with gcj 

#

dep: libgcj-common (>= 1:4.1.1-14)
    Java runtime library (common files) 


Apparently that doesn't help much, and there's no other info.

I don't think having a strict dependency on the newest gcj is an option,
really? Besides that if you e.g. build with 4.4.4 and 4.4.5 breaks the stuff
(or 4.4.4-1 and 4.4.4-2 for that matter) a >= 4.4.4-1 would still break.
And a strict = depends on gcj is even more nonsense..

I honestly don't see how this is fixable.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: