ports/121787: when devel/icu is installed, openoffice fails to build
Michael Moll
kvedulv at kvedulv.de
Mon Mar 17 14:30:01 UTC 2008
>Number: 121787
>Category: ports
>Synopsis: when devel/icu is installed, openoffice fails to build
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 17 14:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Michael Moll
>Release: 7.0-STABLE
>Organization:
>Environment:
FreeBSD emperor.kvedulv.de 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 5 12:27:20 CET 2008 mmoll at emperor.kvedulv.de:/usr/obj/usr/src/sys/EMPEROR i386
>Description:
The Problem is already described here:
http://lists.freebsd.org/pipermail/freebsd-openoffice/2008-February/003590.html
http://lists.freebsd.org/pipermail/freebsd-openoffice/2008-February/003599.html
As GNOME 2.22 will soon be added to the portstree the problem will be more imminent, because GNOME depends on icu then.
>How-To-Repeat:
Install devel/icu and try to build openoffice.
>Fix:
Apply this patch to icu (this is needed by openoffice):
<snip>
--- icu/source/common/unicode/rbbi.h-old 2007-10-31 15:52:08.000000000 +0100
+++ icu/source/common/unicode/rbbi.h 2007-10-31 15:52:47.000000000 +0100
@@ -611,12 +611,14 @@
virtual int32_t getBreakType() const;
#endif
+public:
/**
* Set the type of the break iterator.
* @internal
*/
virtual void setBreakType(int32_t type);
+protected:
/**
* Common initialization function, used by constructors and bufferClone.
* (Also used by DictionaryBasedBreakIterator::createBufferClone().)
<snip>
Then add "--with-system-icu=yes" to the configure-options of the openoffice-port.
AFAIK most Linux distros use their icu-library from outside OOO, please think about this or make sure the OOO-port only uses his own icu-library.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list