Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 14:25:45 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121787: when devel/icu is installed, openoffice fails to build
Message-ID:  <200803171425.m2HEPjSN017841@www.freebsd.org>
Resent-Message-ID: <200803171430.m2HEU1KT074404@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803171425.m2HEPjSN017841>