ports/121787: Patch for OpenOffice.org to fix icu-3.8
breakage, as well as -CURRENT diablo-jdk breakage
Maho NAKATA
chat95 at mac.com
Fri Apr 25 01:20:03 UTC 2008
The following reply was made to PR ports/121787; it has been noted by GNATS.
From: Maho NAKATA <chat95 at mac.com>
To: saper at system.pl
Cc: bug-followup at FreeBSD.org, ohartman at zedat.fu-berlin.de,
kvedulv at kvedulv.de, olivier at gautherot.net
Subject: Re: ports/121787: Patch for OpenOffice.org to fix icu-3.8
breakage, as well as -CURRENT diablo-jdk breakage
Date: Fri, 25 Apr 2008 09:46:42 +0900 (JST)
Hi Marcin,
Many thanks for patch submission.
I'd like to commit 1st/2nd patch. Both are fine.
In any case, adding WITH_SYSTEM_ICU knob is
just only a workaround :)
Please wait a while.
From: Marcin Cieslak <saper at system.pl>
Subject: ports/121787: Patch for OpenOffice.org to fix icu-3.8 breakage, as well as -CURRENT diablo-jdk breakage
Date: Wed, 23 Apr 2008 11:50:55 +0200
> 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
>
More information about the freebsd-openoffice
mailing list