Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2012 16:42:30 +1100
From:      Lawrence Stewart <lstewart@freebsd.org>
To:        openoffice@freebsd.org
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE
Message-ID:  <4F335CC6.8090400@freebsd.org>

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

The OO 3.3.0 build fails in the "connectivity" module with the following 
error:

> Compiling: connectivity/source/parse/wrap_sqlbison.cxx
> c++  -fmessage-length=0 -c -O2 -fno-strict-aliasing -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -fvisibility=hidden -I. -I../../unxfbsdx.pro/misc -I../../unxfbsdx.pro/inc/sql -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxfbsdx.pro/inc -I. -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solver/330/unxfbsdx.pro/inc/stl -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solver/330/unxfbsdx.pro/inc/external -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solver/330/unxfbsdx.pro/inc -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solenv/unxfbsdx/inc -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solenv/inc -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/res -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solver/330/unxfbsdx.pro/inc/stl -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solenv/inc/Xp31 -I/usr/local/diablo-jdk1.6.0/include -I/usr/local/diablo-jdk1.6.0/include/freebsd -I/usr/local/diablo-jdk1.6.0/i
 nclude/bs
d -I/usr/local/diablo-jdk1.6.0/include/linux -I/usr/local/diablo-jdk1.6.0/include/native_threads/include -I/usr/local/include  -I/usr/ports/editors/openoffice.org-3/work/OOO330_m20/solver/330/unxfbsdx.pro/inc/offuh -I. -I../../res -I. -pipe  -fvisibility-inlines-hidden -g1 -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64  -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86_64 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DSUPD=330 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA   -DOOO_DLLIMPLEMENTATION_DBTOOLS -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../unxfbsdx.pro/slo/wrap_sqlbison.o /usr/ports/editors/openoffice.org-3/work/OOO330_m20/connectivity/source/parse/wrap_sqlbison.cxx
> In file included from /usr/ports/editors/openoffice.org-3/work/OOO330_m20/connectivity/source/parse/wrap_sqlbison.cxx:31:
> ../../unxfbsdx.pro/misc/sqlbison.cxx: In function 'int SQLyyparse()':
> ../../unxfbsdx.pro/misc/sqlbison.cxx:7813: error: invalid conversion from 'const char*' to 'sal_Char*'
> ../../unxfbsdx.pro/misc/sqlbison.cxx:7813: error:   initializing argument 1 of 'void connectivity::OSQLParser::error(sal_Char*)'
> dmake:  Error code 1, while making '../../unxfbsdx.pro/slo/wrap_sqlbison.obj'

Ports tree was csuped yesterday and all installed ports are up to date.

System info that might be useful...

lstewart@lstewart> uname -a
FreeBSD lstewart 9.0-STABLE FreeBSD 9.0-STABLE #1 r231173M: Wed Feb  8 
16:14:51 EST 2012     lstewart@lstewart:/usr/obj/usr/src/sys/DESKTOP  amd64


lstewart@lstewart> pkg_info -x bison
Information for bison-2.5,1:


Relevant lines from /etc/make.conf:
.if ${.CURDIR:M*/editors/openoffice.org-3}
WITH_KDE4=1
LOCALIZED_LANG=en-GB
.endif


I'm running KDE 4.7.4.


Any thoughts on how to fix?

Cheers,
Lawrence



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