From owner-cvs-all@FreeBSD.ORG Mon Jun 14 00:47:56 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8617316A4CE; Mon, 14 Jun 2004 00:47:56 +0000 (GMT) Received: from satie.private.org (qclgw.qcl.t.u-tokyo.ac.jp [133.11.70.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B06543D48; Mon, 14 Jun 2004 00:47:55 +0000 (GMT) (envelope-from chat95@mac.com) Received: from localhost (localhost [127.0.0.1]) by satie.private.org (8.12.10/8.12.10) with ESMTP id i5E0lf7G010380; Mon, 14 Jun 2004 09:47:42 +0900 (JST) (envelope-from chat95@mac.com) Date: Mon, 14 Jun 2004 09:47:41 +0900 (JST) Message-Id: <20040614.094741.846949078.chat95@mac.com> To: kris@obsecurity.org From: Nakata Maho In-Reply-To: <20040614001431.GA75296@xor.obsecurity.org> References: <200406132357.i5DNv1bm097739@repoman.freebsd.org> <20040614001431.GA75296@xor.obsecurity.org> Organization: private X-Mailer: Mew version 3.3 on XEmacs 21.4.14 (Reasonable Discussion) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: maho@FreeBSD.org cc: cvs-ports@FreeBSD.org cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/editors/openoffice-2.0-devel Makefile distinfo ports/editors/openoffice-2.0-devel/files Makefile.localized oo_setup.resp openoffice-wrapper X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 00:47:56 -0000 In Message-ID: <20040614001431.GA75296@xor.obsecurity.org> Kris Kennaway wrote: Thank you very much for your feedback! > Have they finally fixed localized builds so they don't compile the > entire OO package suite? This is a major headache for package > building since This is also my concern. For localized builds, we can build all the localized version at one time, just adding ALL in configure_args. however current situation of ports framework, it is quite difficult. > * The OpenOffice 1.1 builds are not deterministic; they often fail > with internal errors in random places. Hmmm...I haven't encounter such situation for FreeBSD 5.2.1-RELEASE. I restrict supported environment to FreeBSD 5.2.1-RELEASE so that others can build smoothly. is it better for us to restrict FreeBSD version? or does it occur even for FreeBSD 5.2.1-RELEASE? > > 4) make use of ccache > > Is this a help within one build, or only useful for repeated builds. > I'm concerned it will have a significant space impact on package > builds without benefit. It doesn't help for one build. ONLY useful for repeated builds. Why I added this is for localized builds, so that we can make full use of ccache. ccache remembers what it had complied before by md5sums of C preprocessor output and command line, etc. Currently, if we want japanese localized version after building english version for example we type cd /usr/ports/editors/openoffice-1.1/ ; make package cd /usr/ports/japanese/openoffice-1.1/ ; make package . one can easily imagine the next build (Japanese) will use cached data, but actually not. since command line inclues the location of work directory. Here is the log of my build. > ccache g++32 -w -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxfbsd.pro/inc -I. -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solver/680/unxfbsd.pro/inc/stl -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solver/680/unxfbsd.pro/inc/external -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solver/680/unxfbsd.pro/inc -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solenv/unxfbsd/inc -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solenv/inc -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/res -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solver/680/unxfbsd.pro/inc/stl -I/work/ports/editors/openoffice-2.0-devel/work/oo_2.0_src/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/us.... /work/ports/editors/openoffice-2.0-devel will subjected to change for localized one, so ccache recognizes they are totally different files. Please see the files/Makefile.localized. for now, Japanese localized version can build at cd /usr/ports/editors/openoffice-2.0-devel/ ; make LOCALIZED_LANG=ja USE_CCACHE=yes package in this case we make full use of ccache. Your questions are very welcome! Best regards, --nakata maho