Bug 139820 - editors/openoffice.org-3 3.1.1 failed to build with GCC 4.4.1
Summary: editors/openoffice.org-3 3.1.1 failed to build with GCC 4.4.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-openoffice (Nobody)
Depends on:
Reported: 2009-10-21 16:40 UTC by alecn2002
Modified: 2010-02-17 08:37 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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