ports/121787: Patch for OpenOffice.org to fix icu-3.8 breakage,
as well as -CURRENT diablo-jdk breakage
Olivier Gautherot
olivier at gautherot.net
Fri Apr 25 02:10:03 UTC 2008
The following reply was made to PR ports/121787; it has been noted by GNATS.
From: "Olivier Gautherot" <olivier at gautherot.net>
To: "Marcin Cieslak" <saper at system.pl>
Cc: bug-followup at freebsd.org, ohartman at zedat.fu-berlin.de,
"Maho NAKATA" <chat95 at mac.com>, kvedulv at kvedulv.de
Subject: Re: ports/121787: Patch for OpenOffice.org to fix icu-3.8 breakage, as well as -CURRENT diablo-jdk breakage
Date: Thu, 24 Apr 2008 21:38:32 -0400
Hi there!
It did not work for me, even with the new knob - still complaining
about ICU. I just noticed that the missing symbol mentions icu_3_814
but I have icu-3.8.1.1 installed (I suspect that these are 2 different
version numbers...) Where does the patch (or the new knob) get its
version number from?
Cheers
Olivier
On 4/23/08, Marcin Cieslak <saper at system.pl> wrote:
> Can you try this patch?
>
> -------- Original Message --------
> Subject: CFT: Patch for OpenOffice.org to fix icu-3.8 breakage, as
> well as -CURRENT diablo-jdk breakage
> Date: Wed, 16 Apr 2008 22:00:44 -0400
> From: Coleman Kane <cokane at FreeBSD.org>
> Organization: FreeBSD Project
> To: ports at FreeBSD.org
> Newsgroups: gmane.os.freebsd.devel.ports
>
> Hello everyone,
>
> I've got a two-in-one patch I'd like to know if any volunteers would
> like to test to get ports/editors/openoffice.org-2-RC built and
> installed under the following circumstances where it may be failing:
>
> 1. You've installed the devel/icu 3.8+ port, and the build gives you
> an undefined symbol named
> "_ZN7icu_3_814LEFontInstance16getStaticClassIDEv" error
> 2. You're running 8.0-CURRENT and the KSE stuff has been removed and
> you installed diablo-jdk. This may be crashing when it tries to run the
> java stuff during the OO.o build, causing the build to fail with obscure
> error messages.
>
> My fix for #1, above, is to provide a new knob WITH_SYSTEM_ICU that
> tells configure to use the local-system's installed icu library, rather
> than the one that was shipped with the OO.o tarball. It seems that
> during the build, the include path unwittingly brings in your system
> headers, but then attempts to link against the shipped library. Both of
> these are incompatible APIs, and the result is an inability to resolve a
> symbol that is public in the OO.o version, but protected in the ports
> version. I am also attaching a patch for devel/icu that applies this
> permission change.
>
> My fix for #2, above, is to set the build jdk to "bsdjava" for FreeBSD
> 8.0+, which results in having Mk/bsd.java.mk look for the ports
> source-build rather than using the diablo-jdk for doing java compiles.
> For other versions of FreeBSD, the default is left at what it was before
> (diablo, then ports).
>
> --
> Coleman Kane
>
>
--
Olivier Gautherot
olivier at gautherot.net
Cel:+56 98 730 9361
www.gautherot.net
http://www.linkedin.com/in/ogautherot
More information about the freebsd-openoffice
mailing list