ports/121787: when devel/icu is installed, openoffice fails to build

HASHI Hiroaki hashiz at meridiani.jp
Mon Apr 21 06:30:06 UTC 2008


The following reply was made to PR ports/121787; it has been noted by GNATS.

From: HASHI Hiroaki <hashiz at meridiani.jp>
To: bug-followup at FreeBSD.org, kvedulv at kvedulv.de
Cc:  
Subject: Re: ports/121787: when devel/icu is installed, openoffice fails to
 build
Date: Mon, 21 Apr 2008 15:27:24 +0900 (JST)

 A direct cause is version mismatch with header and library.
   - At compile time, system(ports) icu was used.
   - At linkage time, OOo bundled icu was used.
 
 In
 /usr/ports/editors/openoffice.org-2/work/OOH680_m12/vcl/source/glyphs/makefile.mk
     .IF "$(SYSTEM_FREETYPE)" == "YES"
     CFLAGS+=-DSYSTEM_FREETYPE $(FREETYPE_CFLAGS)
     .IF "$(USE_FT_EMBOLDEN)" == "YES"
     CFLAGS+=-DUSE_FT_EMBOLDEN
     .ENDIF
     .ENDIF
 
 CFLAGS set to '-I/usr/local/include' if 'SYSTEM_FREETYPE' is yes.
 
 So, OOo bundled icu header was shadowed by system's one.
 
 A system(ports) icu header (ver 3.8) located in
     /usr/local/include/unicode/*.h
 
 OOo bundled icu header (ver 3.6) located in
     /usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/external/unicode/*.h
 
 Following command line cause this mismatch.
 
 Making: ../../unxfbsdi.pro/slo/gcach_layout.obj
 c++ -fmessage-length=0 -c -Os -fno-strict-aliasing -fvisibility=hidden
 -DSYSTEM_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include
 -DUSE_FT_EMBOLDEN -I. -I../../unxfbsdi.pro/inc/glyphs -I../inc
 -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxfbsdi.pro/inc
 -I. -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/stl
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/external
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/unxfbsdi/inc
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/inc
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/res
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/stl
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solenv/inc/Xp31
 -I/usr/local/jdk1.5.0/include -I/usr/local/jdk1.5.0/include/freebsd
 -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/jdk1.5.0/include/linux
 -I/usr/local/jdk1.5.0/include/native_threads/include
 -I/usr/local/include
 -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/solver/680/unxfbsdi.pro/inc/offuh
 -I. -I../../res -I. -pipe -mtune=pentiumpro
 -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow
 -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fpic -DFREEBSD -DUNX
 -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86 -D_PTHREADS -D_REENTRANT
 -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DSUPD=680 -DPRODUCT -DNDEBUG
 -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA
 -DOOH680=OOH680 -DUSE_BUILTIN_RASTERIZER -DVCL_DLLIMPLEMENTATION
 -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON
 -o ../../unxfbsdi.pro/slo/gcach_layout.o
 /usr/ports/editors/openoffice.org-2/work/OOH680_m12/vcl/source/glyphs/gcach_layout.cxx


More information about the freebsd-openoffice mailing list