Bug 139820

Summary: editors/openoffice.org-3 3.1.1 failed to build with GCC 4.4.1
Product: Ports & Packages Reporter: alecn2002 <alecn2002>
Component: Individual Port(s)Assignee: freebsd-openoffice (Nobody) <openoffice>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description alecn2002 2009-10-21 16:40:02 UTC
I've installed GCC 4.4.1 and fixed /etc/make.conf and /etc/libmap.conf as described on page http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html

Then I've launched portupgrade -vRc -o /usr/ports/editors/openoffice.org-3 openoffice.org
(I have openoffice.org 2 installed now, so need to provide origin)

Build of openoffice.org 3.3.1 fails with the following messages:


Making: ../unxfbsdi.pro/slo/framework.obj
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdi.pro/bin/makedepend @/tmp/mkNoCFkb > ../unxfbsdi.pro/misc/s_libxmlutil.dpcc
Making: ../unxfbsdi.pro/slo/libxmlutil.obj
In file included from /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdi.pro/inc/external/libxml/encoding.h:28,
                 from /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdi.pro/inc/external/libxml/parser.h:796,
                 from /usr/ports/editors/openoffice.org-3/work/OOO310_m19/jvmfwk/source/libxmlutil.hxx:34,
                 from /usr/ports/editors/openoffice.org-3/work/OOO310_m19/jvmfwk/source/libxmlutil.cxx:33:
/usr/local/include/iconv.h:114: error: 'mbstate_t' does not name a type
dmake:  Error code 1, while making '../unxfbsdi.pro/slo/libxmlutil.obj'
[.......]
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdi.pro/bin/makedepend @/tmp/mk78B4H1 > ../../../unxfbsdi.pro/misc/s_LockSequence.dpcc
Making: ../../../unxfbsdi.pro/slo/LockSequence.obj
dmake:  Error code 1, while making '../../../unxfbsdi.pro/slo/NeonSession.obj'


And one more message about mbstate_t does not name a type.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-10-21 21:06:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer(s).
Comment 2 Maho Nakata freebsd_committer 2010-02-17 08:33:54 UTC
State Changed
From-To: open->closed

Currently gcc 4.4 is not supported for FreeBSD  
or we accept gcc 4.x related build fixes and porting issues (please 
sign to SCA prior to send patches otherwise we cannot accept!) 

cf. http://wiki.services.openoffice.org/wiki/Compiler_versions_used_by_port_maintainers_and_release_engineers#Compiler_versions_used_by_OOo_ports 

FreeBSD  Baseline for build : FreeBSD 6.4-RELEASE or later 	 
resp. maho@openoffice.org 
gcc:  only stock gcc (4.2.1/3.4) 
jdk: Diablo JDK 1.6.0  

thanks