From owner-freebsd-openoffice@FreeBSD.ORG Sun Oct 19 15:04:09 2008 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 CF406106568A; Sun, 19 Oct 2008 15:04:09 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 94B548FC2A; Sun, 19 Oct 2008 15:04:09 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 43CFA730AC; Sun, 19 Oct 2008 16:52:34 +0200 (CEST) Date: Sun, 19 Oct 2008 16:52:34 +0200 From: Luigi Rizzo To: ports@freebsd.org, openoffice@FreeBSD.org Message-ID: <20081019145234.GA67034@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: unreasonable amount of memory used in openoffice build 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, 19 Oct 2008 15:04:09 -0000 hi, i noticed on my laptop (Dell X1 w/ 512MB ram - i386, RELENG_7 that openoffice3 is using an unreasonable amount of memory to build one of its components (during the build of resourcemodel, the offending file is unxfbsdi.pro/misc/qnametostr.cxx) which causes the build machine to spend a huge amount of time swapping. It seems to be a known issue http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=215291 and our port includes a workaround that is applied only on amd64 with the following section in the port's Makefile: .if ${ARCH} == amd64 WITHOUT_MOZILLA= yes LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost CONFIGURE_ARGS+= --with-system-boost=yes #i58343# .if (${OSVERSION} >= 700042) EXTRA_PATCHES+= ${FILESDIR}/amd64-gcc42-workaround .endif .endif I would suggest to apply the fix unconditionally (at least by default, possibly override it with some build option if needed). On amd64 according to the above URL the problem is particularly bad as it requires more than 4GB of memory (RAM/SWAP) but even on i386 the compiler process grows well above 1GB of memory and together with other stuff (browser, X and more) easily consuming 2-300MB each, it is not unlikely to hit the swap on many boxes. Makes sense ? cheers luigi From owner-freebsd-openoffice@FreeBSD.ORG Sun Oct 19 20:38:45 2008 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 6291D1065670; Sun, 19 Oct 2008 20:38:45 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 2400C8FC20; Sun, 19 Oct 2008 20:38:44 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 99B2F730A8; Sun, 19 Oct 2008 22:42:50 +0200 (CEST) Date: Sun, 19 Oct 2008 22:42:50 +0200 From: Luigi Rizzo To: Doug Barton Message-ID: <20081019204250.GA71544@onelab2.iet.unipi.it> References: <20081019145234.GA67034@onelab2.iet.unipi.it> <48FB9617.4070004@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48FB9617.4070004@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org, openoffice@freebsd.org Subject: Re: unreasonable amount of memory used in openoffice build 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, 19 Oct 2008 20:38:45 -0000 On Sun, Oct 19, 2008 at 01:18:31PM -0700, Doug Barton wrote: > Luigi Rizzo wrote: > > > I would suggest to apply the fix unconditionally > > Maybe I missed it, but I didn't see the part where you said, "I tested > this fix and it worked for me." "i tested this fix and it worked for me". :) but you are right, i should have said it. I started the build of openoffice yesterday afternoon, without the patch, and the build died twice on my laptop (512MB ram + 1GB swap) after spending hours with the compiler looping around 'swread'. When I applied the patch after lunch today, the build of the offending file went smootly as the rest of the components, and in some 30min since i restarted the build i managed to complete and install openoffice 3.0. cheers luigi From owner-freebsd-openoffice@FreeBSD.ORG Sun Oct 19 20:45:12 2008 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 70DFE1065685 for ; Sun, 19 Oct 2008 20:45:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0A5C58FC08 for ; Sun, 19 Oct 2008 20:45:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 13122 invoked by uid 399); 19 Oct 2008 20:18:32 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Oct 2008 20:18:32 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <48FB9617.4070004@FreeBSD.org> Date: Sun, 19 Oct 2008 13:18:31 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.17 (X11/20081010) MIME-Version: 1.0 To: Luigi Rizzo References: <20081019145234.GA67034@onelab2.iet.unipi.it> In-Reply-To: <20081019145234.GA67034@onelab2.iet.unipi.it> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, openoffice@FreeBSD.org Subject: Re: unreasonable amount of memory used in openoffice build 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, 19 Oct 2008 20:45:12 -0000 Luigi Rizzo wrote: > I would suggest to apply the fix unconditionally Maybe I missed it, but I didn't see the part where you said, "I tested this fix and it worked for me." Doug -- This .signature sanitized for your protection From owner-freebsd-openoffice@FreeBSD.ORG Mon Oct 20 11:07:56 2008 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 B772E10656A4 for ; Mon, 20 Oct 2008 11:07:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A4FDE8FC25 for ; Mon, 20 Oct 2008 11:07:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KB7uuZ083948 for ; Mon, 20 Oct 2008 11:07:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KB7ulq083944 for openoffice@FreeBSD.org; Mon, 20 Oct 2008 11:07:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Oct 2008 11:07:56 GMT Message-Id: <200810201107.m9KB7ulq083944@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: openoffice@FreeBSD.org Cc: Subject: Current problem reports assigned to openoffice@FreeBSD.org 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, 20 Oct 2008 11:07:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/128176 openoffice editors/openoffice.org-3 - 3.0.0 crash (macro security o ports/127946 openoffice editors/openoffice.org-3 dictionary extension doesn't o ports/126818 openoffice editors/openoffice.org-3 compilation fails on FreeBSD- o ports/124801 openoffice editors/openoffice.org-3 - OpenOffice fails to find li o ports/119204 openoffice [patch] editors/OpenOffice.org-2 v2.3 loops when file o ports/118527 openoffice editors/openoffice.org-2 seg faults when asked to perf o ports/118507 openoffice editors/Openoffice.org-2 2.3.1/AMD64 does not show ODB o ports/117965 openoffice editors/openoffice.org-2 Impress crashes with multiple o ports/117808 openoffice editors/OpenOffice.org-2 seems to be looping o ports/116741 openoffice editors/openoffice.org-2 build errors related to java f ports/112283 openoffice editors/openoffice-2 fails to build with "pyconfig.h: o ports/108313 openoffice editors/openoffice.org port build fails f ports/107229 openoffice sysutils/coreutils: gcp fails to set default ACL which 13 problems total. From owner-freebsd-openoffice@FreeBSD.ORG Thu Oct 23 11:22:11 2008 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 572AE1065675 for ; Thu, 23 Oct 2008 11:22:11 +0000 (UTC) (envelope-from jwb@homer.att.com) Received: from mail146.messagelabs.com (mail146.messagelabs.com [216.82.245.3]) by mx1.freebsd.org (Postfix) with ESMTP id D30488FC2F for ; Thu, 23 Oct 2008 11:22:10 +0000 (UTC) (envelope-from jwb@homer.att.com) X-VirusChecked: Checked X-Env-Sender: jwb@homer.att.com X-Msg-Ref: server-11.tower-146.messagelabs.com!1224759248!9861574!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [144.160.128.141] Received: (qmail 25392 invoked from network); 23 Oct 2008 10:54:09 -0000 Received: from sbcsmtp9.sbc.com (HELO flph161.enaf.ffdc.sbc.com) (144.160.128.141) by server-11.tower-146.messagelabs.com with AES256-SHA encrypted SMTP; 23 Oct 2008 10:54:09 -0000 Received: from enaf.ffdc.sbc.com (localhost.localdomain [127.0.0.1]) by flph161.enaf.ffdc.sbc.com (8.14.2/8.14.2) with ESMTP id m9NAs8Rm023039 for ; Thu, 23 Oct 2008 03:54:08 -0700 Received: from klph001.kcdc.att.com (klph001.kcdc.att.com [135.188.3.11]) by flph161.enaf.ffdc.sbc.com (8.14.2/8.14.2) with ESMTP id m9NAs4XW023029 for ; Thu, 23 Oct 2008 03:54:04 -0700 Received: from kcdc.att.com (localhost.localdomain [127.0.0.1]) by klph001.kcdc.att.com (8.14.0/8.14.0) with ESMTP id m9NAs4jF016227 for ; Thu, 23 Oct 2008 05:54:04 -0500 Received: from ulysses.homer.att.com (ulysses.homer.att.com [135.205.193.8]) by klph001.kcdc.att.com (8.14.0/8.14.0) with ESMTP id m9NArvkh016198 for ; Thu, 23 Oct 2008 05:53:58 -0500 Received: from hera.homer.att.com (hera.homer.att.com [135.205.193.102]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id GAA15864 for ; Thu, 23 Oct 2008 06:53:57 -0400 (EDT) Received: from [135.205.212.40] (thunder.homer.att.com [135.205.212.40]) by hera.homer.att.com (8.9.3/8.9.3) with ESMTP id GAA14871 for ; Thu, 23 Oct 2008 06:53:57 -0400 (EDT) Message-ID: <490057C4.5000808@homer.att.com> Date: Thu, 23 Oct 2008 06:53:56 -0400 From: Jim Ballantine User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: openoffice@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: FreeBSD Port: editors/openoffice.org-3 build failure 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, 23 Oct 2008 11:22:11 -0000 While trying to build openoffice 3 on a FreeBSD 7-stable system, the build fails in writefilter with an error code of 65280. I've removed the port and distfiles and re-cvs'ed the bits and it continues to fail with the same error. Thanks for the work Jim Ballantine