|
List Info
Thread: CFT: Patch for OpenOffice.org to fix icu-3.8 breakage, as well as -CURRENT diablo-jdk breakage
|
|
| CFT: Patch for OpenOffice.org to fix
icu-3.8 breakage, as well as -CURRENT
diablo-jdk breakage |
  Italy |
2008-04-22 10:49:37 |
|
Reposting from -ports
-------- 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 FreeBSD.org>
Organization: FreeBSD Project
To: ports 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
|
Approximate file size 1873 bytes |
Approximate file size 1144 bytes |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|