From owner-freebsd-openoffice@FreeBSD.ORG Sun Feb 12 21:44:25 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 545141065670; Sun, 12 Feb 2012 21:44:25 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 322848FC08; Sun, 12 Feb 2012 21:44:24 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q1CLVtUv065578; Sun, 12 Feb 2012 13:31:59 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201202122131.q1CLVtUv065578@gw.catspoiler.org> Date: Sun, 12 Feb 2012 13:31:55 -0800 (PST) From: Don Lewis To: chat95@mac.com In-Reply-To: <20120210.171025.242248465990744528.chat95@mac.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: lstewart@FreeBSD.org, 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: Sun, 12 Feb 2012 21:44:25 -0000 On 10 Feb, Maho NAKATA wrote: > Hi > > I also reproduced, and pointy hat, either. > It looks like ooo port is broken again... On 10-CURRENT I needed the following patch to even make it to the "connectivity" problem. The problem is that defining POSIX_SOURCE now hides the locale_t definition. --- /dev/null 2012-02-11 16:33:00.000000000 -0800 +++ libxslt/libxslt-libexslt-date_c.patch 2012-02-11 16:40:50.000000000 -0800 @@ -0,0 +1,11 @@ +--- misc/build/libxslt-1.1.26/libexslt/date.c.orig 2009-09-17 07:51:10.000000000 -0700 ++++ misc/build/libxslt-1.1.26/libexslt/date.c 2012-02-11 16:40:48.000000000 -0800 +@@ -29,7 +29,7 @@ + #endif + + #if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ +-#ifndef _AIX51 /* but on AIX we're not using gnu libc */ ++#if !defined(_AIX51) && !defined(__FreeBSD__) /* but on AIX or FreeBSD we're not using gnu libc */ + #define _POSIX_SOURCE + #endif + #endif --- libxslt/makefile.mk.orig 2011-01-18 05:34:25.000000000 -0800 +++ libxslt/makefile.mk 2012-02-11 22:25:14.000000000 -0800 @@ -55,6 +55,7 @@ PATCH_FILES=libxslt-configure.patch \ libxslt-win_manifest.patch \ libxslt-mingw.patch \ + libxslt-libexslt-date_c.patch \ libxslt-internal-symbols.patch From owner-freebsd-openoffice@FreeBSD.ORG Mon Feb 13 00:54:00 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 23B5910656D9; Mon, 13 Feb 2012 00:54:00 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85D6A8FC1E; Mon, 13 Feb 2012 00:53:59 +0000 (UTC) Received: by iaeo4 with SMTP id o4so4268082iae.13 for ; Sun, 12 Feb 2012 16:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=t4QMp184RN3Vku3QaymCvbFIgSYtaKxnRaHlVYNRpd4=; b=snEHrjXqIJOysa8MvP8SKx5RcWY6+34AH8jkwjGHgyF/pKsJMysL9rT2/K6FUTivHA 0HokzLuURFD5CjFQTvfOOUbo/qCbQ/MpdMR5tZb6J3hwspoXle8de97UruOwPgyV6oxy taUW4Mk5z/t12PQYIWwkbiRygjQvycaDrNUKk= Received: by 10.42.157.133 with SMTP id d5mr19030881icx.46.1329094438986; Sun, 12 Feb 2012 16:53:58 -0800 (PST) Received: from localhost (rikad42.riken.jp. [134.160.214.42]) by mx.google.com with ESMTPS id wn6sm11117342igb.3.2012.02.12.16.53.56 (version=SSLv3 cipher=OTHER); Sun, 12 Feb 2012 16:53:57 -0800 (PST) Sender: Maho NAKATA Date: Mon, 13 Feb 2012 09:53:54 +0900 (JST) Message-Id: <20120213.095354.433001249354728131.chat95@mac.com> To: truckman@FreeBSD.org From: Maho NAKATA In-Reply-To: <201202122131.q1CLVtUv065578@gw.catspoiler.org> References: <20120210.171025.242248465990744528.chat95@mac.com> <201202122131.q1CLVtUv065578@gw.catspoiler.org> X-Mailer: Mew version 6.3 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lstewart@FreeBSD.org, 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: Mon, 13 Feb 2012 00:54:00 -0000 Hi Don committed. thank you very much. Regards, Nakata Maho From: Don Lewis Subject: Re: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE Date: Sun, 12 Feb 2012 13:31:55 -0800 (PST) > On 10 Feb, Maho NAKATA wrote: >> Hi >> >> I also reproduced, and pointy hat, either. >> It looks like ooo port is broken again... > > On 10-CURRENT I needed the following patch to even make it to the > "connectivity" problem. The problem is that defining POSIX_SOURCE now > hides the locale_t definition. > > --- /dev/null 2012-02-11 16:33:00.000000000 -0800 > +++ libxslt/libxslt-libexslt-date_c.patch 2012-02-11 16:40:50.000000000 -0800 > @@ -0,0 +1,11 @@ > +--- misc/build/libxslt-1.1.26/libexslt/date.c.orig 2009-09-17 07:51:10.000000000 -0700 > ++++ misc/build/libxslt-1.1.26/libexslt/date.c 2012-02-11 16:40:48.000000000 -0800 > +@@ -29,7 +29,7 @@ > + #endif > + > + #if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ > +-#ifndef _AIX51 /* but on AIX we're not using gnu libc */ > ++#if !defined(_AIX51) && !defined(__FreeBSD__) /* but on AIX or FreeBSD we're not using gnu libc */ > + #define _POSIX_SOURCE > + #endif > + #endif > --- libxslt/makefile.mk.orig 2011-01-18 05:34:25.000000000 -0800 > +++ libxslt/makefile.mk 2012-02-11 22:25:14.000000000 -0800 > @@ -55,6 +55,7 @@ > PATCH_FILES=libxslt-configure.patch \ > libxslt-win_manifest.patch \ > libxslt-mingw.patch \ > + libxslt-libexslt-date_c.patch \ > libxslt-internal-symbols.patch > > > From owner-freebsd-openoffice@FreeBSD.ORG Mon Feb 13 02:56:33 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 608E01065679 for ; Mon, 13 Feb 2012 02:56:33 +0000 (UTC) (envelope-from cbeebe@relianceconnects.com) Received: from mail2.cascadeaccess.com (mail2.cascadeaccess.com [216.155.208.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3E20C8FC08 for ; Mon, 13 Feb 2012 02:56:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail2.cascadeaccess.com (Postfix) with ESMTP id 453D4200802 for ; Sun, 12 Feb 2012 18:37:18 -0800 (PST) X-Virus-Scanned: by amavisd-new at cascadeaccess.com Received: from mail2.cascadeaccess.com ([127.0.0.1]) by localhost (mail2.cascadeaccess.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ldEkghufkBNq for ; Sun, 12 Feb 2012 18:37:18 -0800 (PST) Received: from [192.168.1.1] (dsl-72-19-45-054.cascadeaccess.com [72.19.45.54]) by mail2.cascadeaccess.com (Postfix) with ESMTP id EB47F2007A9 for ; Sun, 12 Feb 2012 18:37:17 -0800 (PST) Message-ID: <4F387767.8030500@relianceconnects.com> Date: Sun, 12 Feb 2012 18:37:27 -0800 From: Curt Beebe User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: openoffice@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 13 Feb 2012 03:22:09 +0000 Cc: Subject: Open Office Port Package 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: Mon, 13 Feb 2012 02:56:33 -0000 I have been trying to install Open Office Release 3.3.0 but have run into an issue with the package. I think it is a problem with the package. When I run the "make" "install" I eventually get get an error and the install stops. The error says I need to download "tzupdater_1.3.42-2011k.zip from the oracle web site. The problem is that particular release of tzupdater is not available; the only release available is 1.3.45-2011n. I am running release 9.0 of FreeBSD; is the Open Office package supposed to be able to run on FreeBSD 9.0 and if not is the package being upgraded so it will be able to run on FreeBSD 9.0? If it is supposed to be able to run on 9.0 do you have any suggestions on how to rectify the problem I am encountering?. -- -Curt- From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 14 06:32:53 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 5E5B7106564A; Tue, 14 Feb 2012 06:32:53 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 277488FC12; Tue, 14 Feb 2012 06:32:52 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q1E6WgRP083876; Mon, 13 Feb 2012 22:32:46 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201202140632.q1E6WgRP083876@gw.catspoiler.org> Date: Mon, 13 Feb 2012 22:32:42 -0800 (PST) From: Don Lewis To: chat95@mac.com In-Reply-To: <20120210.171025.242248465990744528.chat95@mac.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: lstewart@FreeBSD.org, 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 06:32:53 -0000 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. --- connectivity/source/parse/sqlbison.y.orig 2011-01-18 05:32:30.000000000 -0800 +++ connectivity/source/parse/sqlbison.y 2012-02-13 14:03:12.000000000 -0800 @@ -4334,7 +4334,7 @@ } // ------------------------------------------------------------------------- -void OSQLParser::error(sal_Char *fmt) +void OSQLParser::error(const sal_Char *fmt) { if(!m_sErrorMessage.getLength()) { --- connectivity/inc/connectivity/sqlparse.hxx.orig 2011-01-18 05:32:29.000000000 -0800 +++ connectivity/inc/connectivity/sqlparse.hxx 2012-02-13 17:06:06.000000000 -0800 @@ -232,7 +232,7 @@ // returns the type for a parameter in a given function name static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos); - void error(sal_Char *fmt); + void error(const sal_Char *fmt); int SQLlex(); #ifdef YYBISON void setParseTree(OSQLParseNode * pNewParseTree); From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 14 06:52:14 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 F20C4106564A; Tue, 14 Feb 2012 06:52:14 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D0D48FC0A; Tue, 14 Feb 2012 06:52:14 +0000 (UTC) Received: by iaeo4 with SMTP id o4so6731417iae.13 for ; Mon, 13 Feb 2012 22:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=rxisMM24Ffv41KNCroVTK8E9fTYVcJInnsH7RcK5eG0=; b=msj5MbxMfFhKj0K6KEA8tQmx9EO9Mfm1CsNdZfmIrSmLxWKwQjsGlQaBk2McI0Q4tF 79qL8OZHJis/I5gV2a9AoJqd9JkzQVjdCQ/T5evcM7df+i85+JVT+XPsSm/wLae2/Los ROjFjW76jNWdwje3ZT0cwndQHlbvevsCUlGI0= Received: by 10.42.162.194 with SMTP id z2mr6726353icx.37.1329202333768; Mon, 13 Feb 2012 22:52:13 -0800 (PST) Received: from localhost (rikad42.riken.jp. [134.160.214.42]) by mx.google.com with ESMTPS id l28sm32995461ibc.3.2012.02.13.22.52.11 (version=SSLv3 cipher=OTHER); Mon, 13 Feb 2012 22:52:12 -0800 (PST) Sender: Maho NAKATA Date: Tue, 14 Feb 2012 15:52:09 +0900 (JST) Message-Id: <20120214.155209.47726460529053103.chat95@mac.com> To: truckman@FreeBSD.org From: Maho NAKATA In-Reply-To: <201202140632.q1E6WgRP083876@gw.catspoiler.org> References: <20120210.171025.242248465990744528.chat95@mac.com> <201202140632.q1E6WgRP083876@gw.catspoiler.org> X-Mailer: Mew version 6.3 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lstewart@FreeBSD.org, 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 06:52:15 -0000 Hi Looks good. Please commit following patch! thank you! Best, Nakata Maho From: Don Lewis Subject: Re: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE Date: Mon, 13 Feb 2012 22:32:42 -0800 (PST) > 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. > > --- connectivity/source/parse/sqlbison.y.orig 2011-01-18 05:32:30.000000000 -0800 > +++ connectivity/source/parse/sqlbison.y 2012-02-13 14:03:12.000000000 -0800 > @@ -4334,7 +4334,7 @@ > } > > // ------------------------------------------------------------------------- > -void OSQLParser::error(sal_Char *fmt) > +void OSQLParser::error(const sal_Char *fmt) > { > if(!m_sErrorMessage.getLength()) > { > --- connectivity/inc/connectivity/sqlparse.hxx.orig 2011-01-18 05:32:29.000000000 -0800 > +++ connectivity/inc/connectivity/sqlparse.hxx 2012-02-13 17:06:06.000000000 -0800 > @@ -232,7 +232,7 @@ > // returns the type for a parameter in a given function name > static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos); > > - void error(sal_Char *fmt); > + void error(const sal_Char *fmt); > int SQLlex(); > #ifdef YYBISON > void setParseTree(OSQLParseNode * pNewParseTree); > 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 From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 14 08:21:10 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 CCDC8106566B; Tue, 14 Feb 2012 08:21:10 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 953018FC16; Tue, 14 Feb 2012 08:21:10 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q1E8L0u8084033; Tue, 14 Feb 2012 00:21:04 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201202140821.q1E8L0u8084033@gw.catspoiler.org> Date: Tue, 14 Feb 2012 00:21:00 -0800 (PST) From: Don Lewis To: chat95@mac.com In-Reply-To: <20120214.155209.47726460529053103.chat95@mac.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: lstewart@FreeBSD.org, 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 08:21:10 -0000 On 14 Feb, Maho NAKATA wrote: > Hi > > Looks good. Please commit following patch! thank you! Committed! From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 14 08:47:29 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 BAE2D10656D6; Tue, 14 Feb 2012 08:47:29 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B18E8FC12; Tue, 14 Feb 2012 08:47:28 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so10331222obc.13 for ; Tue, 14 Feb 2012 00:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=eqKinEKyr2nVqs1SMZ5NBlHmsl1tXskxRpbyvy+nOH4=; b=IIhVF88gOYr6PkVrDGjaMkfdg6NJh2n/TxiRI1yD37pcWxGRcAvkHk6ZR3wfZd8wQM 7c2bENKkrfrgFOxq6Yplem/li6Ut5Uo0k8mhToChVANyL7KNHuPOr3SfUF9Y6hP29WGM PI+yQ3NtEnGaXp2U9a/TzNaQHEJMW1Q1ldS7M= Received: by 10.50.153.234 with SMTP id vj10mr1541245igb.16.1329209248461; Tue, 14 Feb 2012 00:47:28 -0800 (PST) Received: from localhost (rikad42.riken.jp. [134.160.214.42]) by mx.google.com with ESMTPS id gw1sm18830936igb.0.2012.02.14.00.47.26 (version=SSLv3 cipher=OTHER); Tue, 14 Feb 2012 00:47:27 -0800 (PST) Sender: Maho NAKATA Date: Tue, 14 Feb 2012 17:47:24 +0900 (JST) Message-Id: <20120214.174724.2087536177999916362.chat95@mac.com> To: truckman@FreeBSD.org From: Maho NAKATA In-Reply-To: <201202140821.q1E8L0u8084033@gw.catspoiler.org> References: <20120214.155209.47726460529053103.chat95@mac.com> <201202140821.q1E8L0u8084033@gw.catspoiler.org> X-Mailer: Mew version 6.3 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lstewart@FreeBSD.org, 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 08:47:29 -0000 From: Don Lewis Subject: Re: OO 3.3.0 fails to build "connectivity" module on amd64 9-STABLE Date: Tue, 14 Feb 2012 00:21:00 -0800 (PST) > On 14 Feb, Maho NAKATA wrote: >> Hi >> >> Looks good. Please commit following patch! thank you! > > Committed! > thank you!