From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 14 07:07:21 2012 Return-Path: Delivered-To: openoffice@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEB98106566C; Tue, 14 Feb 2012 07:07:21 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 27AF58FC08; Tue, 14 Feb 2012 07:07:20 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id C4E817E824; Tue, 14 Feb 2012 18:07:18 +1100 (EST) Message-ID: <4F3A0826.30403@freebsd.org> Date: Tue, 14 Feb 2012 18:07:18 +1100 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120208 Thunderbird/10.0 MIME-Version: 1.0 To: Don Lewis References: <201202140632.q1E6WgRP083876@gw.catspoiler.org> In-Reply-To: <201202140632.q1E6WgRP083876@gw.catspoiler.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.5 required=5.0 tests=UNPARSEABLE_RELAY, URI_NOVOWEL autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-ports@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 07:07:21 -0000 On 02/14/12 17:32, Don Lewis wrote: > On 10 Feb, Maho NAKATA wrote: >> Hi >> >> I also reproduced, and pointy hat, either. >> It looks like ooo port is broken again... >> >> Thanks >> Nakata Maho >> >> From: Lawrence Stewart >> Subject: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE >> Date: Thu, 09 Feb 2012 16:42:30 +1100 >> >>> 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' >>> > >>> Any thoughts on how to fix? > > > This patch worked for me. Put it under editors/openoffice.org-3/files. Works for me, thanks Don. Cheers, Lawrence