Bug#606915: openoffice.org-writer2latex: lenny->squeeze upgrade error
Hi,
On Mon, Dec 13, 2010 at 01:01:27AM +0100, Luca Capello wrote:
> Enabling: writer2latex-filter.jar
> libgcj failure: gcj linkage error.
> Incorrect library ABI version detected. Aborting.
Hrmpf.
> This latter should be caused by openoffice.org-java-common not being
> upgraded as well, given that openoffice.org-writer2latex:
>
> Depends: openoffice.org-core (>= 1:2.3.0~oog680m1),
> openoffice.org-java-common (>= 1:2.3.0~oog680m1)
Nah, this sounds like a ABI mismatch. And this baffles me, as -writer2latex
doesn't contain compiled-to-native code, but a "pure" jar, this has no
.sos, thus there is no ABI.
Sure your gcj stuff is in sync and this isn't a gcj bug?
> However, I am quite sure this is the cause for the bug I experienced:
I am not :)
> while I still think a Pre-Depends: should be the right way (but
> remember, I am not a OO.o expert nor a Java one), it seems that simply
It is the right way, but then you cannot upgrade it. BDTD...
> diff -u writer2latex-1.0/debian/control writer2latex-1.0/debian/control
> --- writer2latex-1.0/debian/control
> +++ writer2latex-1.0/debian/control
> @@ -86,7 +86,7 @@
> Package: openoffice.org-writer2latex
> Architecture: all
> Pre-Depends: debconf (>= 0.5) | debconf-2.0, procps, default-jre | gcj-jre | java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre | java5-runtime | jre
> -Depends: openoffice.org-core (>= 1:2.3.0~oog680m1), openoffice.org-java-common (>= 1:2.3.0~oog680m1), ${misc:Depends}
> +Depends: openoffice.org-core (>= 1:3.1.0~), openoffice.org-java-common (>= 1:3.1.0~), ${misc:Depends}
> Enhances: openoffice.org-writer, openoffice.org-calc
> Conflicts: openoffice.org-core (<< 1:3.0.0~), openoffice.org-common (<< 1:3.0.1-10), ure (<< 1.5.1+OOo3.1.1-15)
> Description: Writer/Calc to LaTeX converter extension for OpenOffice.org
> @@ -110,7 +110,7 @@
> Package: openoffice.org-writer2xhtml
> Architecture: all
> Pre-Depends: debconf (>= 0.5) | debconf-2.0, procps, default-jre | gcj-jre | java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre | java5-runtime | jre
> -Depends: openoffice.org-core (>= 1:2.3.0~oog680m1), openoffice.org-java-common (>= 1:2.3.0~oog680m1), ${misc:Depends}
> +Depends: openoffice.org-core (>= 1:3.1.0~), openoffice.org-java-common (>= 1:3.1.0~), ${misc:Depends}
> Enhances: openoffice.org-writer, openoffice.org-calc
> Conflicts: openoffice.org-core (<< 1:3.0.0~), openoffice.org-common (<< 1:3.0.1-10), ure (<< 1.5.1+OOo3.1.1-15)
> Description: Writer/Calc to XHTML converter extension for OpenOffice.org
> --8<---------------cut here---------------end--------------->8---
Even if this works, are you sure this isn't just by chance?
I don't like this at all, the dependency is correct in w2ls sense
(it doesn't need something newer than 2.3)
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: