From owner-freebsd-openoffice@FreeBSD.ORG Thu Apr 10 23:12:03 2008 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7027F1065670 for ; Thu, 10 Apr 2008 23:12:03 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id F00208FC19 for ; Thu, 10 Apr 2008 23:12:02 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jk5w0-0001Jk-Q7 for freebsd-openoffice@freebsd.org; Thu, 10 Apr 2008 23:12:00 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2008 23:12:00 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2008 23:12:00 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-openoffice@freebsd.org From: Marcin Cieslak Date: Fri, 11 Apr 2008 01:11:50 +0200 Lines: 135 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig15CF2FC8A359D94B8D1CE6A6" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.13) Gecko/20080405 SeaMonkey/1.1.9 Mnenhy/0.7.5.0 X-Enigmail-Version: 0.95.6 Sender: news Subject: openoffice-3-devel build breaks at amd64: File not found: libgcc3_uno.so [fix] 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: Thu, 10 Apr 2008 23:12:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig15CF2FC8A359D94B8D1CE6A6 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Hello, My DEV300_m5 build fails on amd64 because of this part of file/patch-i852= 16: @@ -492,7 +492,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions( void ** slots, unsigned char * code, typelib_InterfaceTypeDescription const * type, sal_Int32 nFunctionOffset, - sal_Int32 functionCount, sal_Int32 nVtableOffset ) + sal_Int32 /* functionCount */, sal_Int32 nVtableOffset ) { for ( sal_Int32 nPos =3D 0; nPos < type->nMembers; ++nPos ) { The compilation has a problem here: aking: ../../../unxfbsdx/slo/cpp2uno.obj ccache c++ -fmessage-length=3D0 -c -g -O0 -DLEAK_STATIC_DATA -I. -I../../../unxfbsdx/inc/gcc3_uno -I../inc -I../../../inc/pch -I../../../i= nc -I../../../unx/inc -I../../../unxfbsdx/inc -I. -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver= /300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors /openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/external -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver= /300/unxfbsd x/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv= /unxfbsdx/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_ m5/solenv/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/res -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solve r/300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv= /inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/local/jdk1.5.0 /include/freebsd -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/jdk1.5.0/include/linux -I/usr/local/jdk1.5.0/include/native_threads/include -I/usr/local/incl ude -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver= /300/unxfbsdx/inc/offuh -I. -I../../../res -I. -pipe -fvisibility-inlines-h idden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-omit-frame-pointer -fpic -DFREEBSD -DUNX -DVCL -DGCC - DC341 -DX86_64 -D_STLP_DEBUG -DCVER=3DC341 -DX86_64 -D_PTHREADS -D_REENT= RANT -DNEW_SOLAR -D_USE_NAMESPACE=3D1 -DSTLPORT_VERSION=3D450 -DHAVE_GCC_VISIBILITY_FEATUR E -D__DMAKE -DUNIX -DCPPU_ENV=3Dgcc3 -DGXX_INCLUDE_PATH=3D/usr/include/c+= +/4.2 -DSUPD=3D300 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=3D2 -DCUI -DSOLAR_JAVA -DDEV300=3DDEV3 00 -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../../unxfbsdx/slo/cpp2uno.o /usr/obj/usr/ports/editors/openoffice.org-3 -devel/work/DEV300_m5/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.= cxx /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/bridges/= source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx: In static member function 'static un signed char* bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(bridges::cpp_u= no::shared::VtableFactory::Slot**, unsigned char*, const typelib_Interf aceTypeDescription*, sal_Int32, sal_Int32, sal_Int32)': /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/bridges/= source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx:501: error: 'functionCount' was not declared in this scope dmake: Error code 1, while making '../../../unxfbsdx/slo/cpp2uno.obj' But the build progresses happily and fails at the very end: =2E.. analyzing files ... ERROR: The following files could not be found: ERROR: File not found: libgcc3_uno.so ERROR: File not found: libbf_swfx.so ERROR: File not found: liblocaledata_en.so ERROR: File not found: liblocaledata_es.so ERROR: File not found: liblocaledata_euro.so ERROR: File not found: liblocaledata_others.so ERROR: File not found: libswfx.so ERROR: File not found: libswdfx.so ERROR: File not found: libswuifx.so ERROR: File not found: bf_swen-US.res ERROR: File not found: swen-US.res =2E.. cleaning the output tree ... =2E.. removing directory /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/ooopacka= ging/i_476891207512987 =2E.. Sun Apr 6 22:16:38 2008 (00:11 min.) dmake: Error code 255, while making 'openoffice_en-US.bsd' The reason why this works for openoffice-2 is that this patch-i85216 works on revision 1.2 of=20 udk/bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno.cxx, that does=20 not use "functionCount" parameter. However, in DEV300_m5 we have revision 1.4 of this file and this patch=20 is no longer correct (although it still applies cleanly it seems). --Marcin --------------enig15CF2FC8A359D94B8D1CE6A6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQCVAwUBR/6etj2W2v2wY27ZAQNFOQQAjW6bXU5/ZcfH3pW/vHcUkCgig5PKnvN3 afThruWVy6qcBWk1x8fN8v4XDElI84NZdkK7CJI3/LHCcU6SiENQ+2jHHthuwlar 3g1nXdJkMFKy7X82XAvY3gPSos72LmUGBn/xZQz6efAdEl4LS9/ruzt7u1QinR2F SHvMmtUJoHw= =5S0e -----END PGP SIGNATURE----- --------------enig15CF2FC8A359D94B8D1CE6A6--