From owner-freebsd-openoffice@FreeBSD.ORG Tue Oct 31 06:57:28 2006 Return-Path: X-Original-To: openoffice@freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E1B416A407; Tue, 31 Oct 2006 06:57:28 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F6D143D45; Tue, 31 Oct 2006 06:57:27 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 507A7B833; Tue, 31 Oct 2006 08:57:26 +0200 (EET) Received: (nullmailer pid 69481 invoked by uid 1002); Tue, 31 Oct 2006 06:57:27 -0000 Date: Tue, 31 Oct 2006 08:57:27 +0200 From: Vasil Dimov To: Bartosz Fabianowski Message-ID: <20061031065727.GA2994@qlovarnika.bg.datamax> References: <20061030224319.1ed7ddf4.oliver@FreeBSD.org> <4546939F.5070501@chillt.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <4546939F.5070501@chillt.de> Cc: ports@freebsd.org, Oliver Lehmann , openoffice@freebsd.org Subject: Re: openoffice.org-2.0 does not build on amd64 with 6.1 X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 06:57:28 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 31, 2006 at 12:06:55AM +0000, Bartosz Fabianowski wrote: > It seems that you have run into a know problem with the OpenOffice.org=20 > build system - it does not work when file names become too long. In the= =20 > error message you posted,=20 > "file:///mnt/files/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/ud= kapi/unxfbsdx.pro/ucr/com/sun/star/uno/Exception._idlc_"=20 > is clearly truncated and is also precisely 128 characters long. While you= r=20 > NFS mount point "/mnt/files/" adds only 11 characters to the file name,= =20 > this may be enough to overflow a fixed 128 character buffer used by the= =20 > idlc. Try mounting the NFS file system at say "/mnt" or even "/m" to keep= =20 > the file names as short as possible. Argh! This seems very nasty if you got it after 10 hours of compilation... What about something like this: --- patch begins here --- Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/pcvs/ports/editors/openoffice.org-2.0/Makefile,v retrieving revision 1.261 diff -u -r1.261 Makefile --- Makefile 18 Oct 2006 21:55:44 -0000 1.261 +++ Makefile 31 Oct 2006 06:54:33 -0000 @@ -181,6 +181,15 @@ .include <${FILESDIR}/Makefile.knobs> =20 pre-everything:: + @defaultwrksrc=3D/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5 ; \ + currentwrksrc=3D${WRKSRC} ; \ + if [ $${#currentwrksrc} -gt $${#defaultwrksrc} ] ; then \ + echo "" ; \ + echo "WARNING:" ; \ + echo "You may run into problems, because your WRKSRC ($${currentwrksrc})= is too long." ; \ + echo "Try making it less or equal to $${#defaultwrksrc} characters." ; \ + echo "" ; \ + fi # really tweak, extremely useful when you build all localized language ver= sions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) --- patch ends here --- --=20 Vasil Dimov gro.DSBeerF@dv % Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFFRvPXFw6SP/bBpCARAvvKAKCR1SSExk+lBNxSAFKxBN5rLbO7CwCfYNFV 4Ba2/wFaNd7l2gE3fcO3vTU= =hpkM -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--