From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 13:16:43 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6BC106564A; Wed, 18 Jun 2008 13:16:43 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 242838FC23; Wed, 18 Jun 2008 13:16:43 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 6083E2218950; Wed, 18 Jun 2008 23:16:42 +1000 (EST) X-Viruscan-Id: <48590ABA0000DD5FF9E914@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 1066D21B3B8E; Wed, 18 Jun 2008 23:16:42 +1000 (EST) Received: from k7.mavetju (unknown [10.10.26.6]) by mail5auth.barnet.com.au (Postfix) with ESMTP id A7889221880A; Wed, 18 Jun 2008 23:16:41 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 3FCC24E2; Wed, 18 Jun 2008 23:16:42 +1000 (EST) Date: Wed, 18 Jun 2008 23:16:42 +1000 From: Edwin Groothuis To: Alex Dupre Message-ID: <20080618131642.GD90685@k7.mavetju> References: <20080618125154.GC90685@k7.mavetju> <48590746.2060505@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48590746.2060505@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org Subject: Re: Standardize NO_CCACHE flag and ccache definitions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 13:16:43 -0000 On Wed, Jun 18, 2008 at 03:01:58PM +0200, Alex Dupre wrote: > Edwin Groothuis ha scritto: > >Recently I've started to use devel/ccache again (sometimes it takes > >a while before you understand how it works) and it works pretty > >well, except for some ports which can't be build with it. For example > >devel/cmake. > > I use ccache everywhere (world and ports) and I never found a port that > doesn't compile with it (I have cmake, too). When building devel/cmake in a jail with ccache enabled it doesn't get further than: ===> Configuring for cmake-2.6.0 --------------------------------------------- CMake 2.6-0, Copyright (c) 2007 Kitware, Inc., Insight Consortium C compiler on this system is: /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe C++ compiler on this system is: /usr/local/libexec/ccache/world-c++ -O2 -fno-strict-aliasing -pipe [...] CMake has bootstrapped. Now run make. ===> Building for cmake-2.6.0 Scanning dependencies of target cmsys [ 0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o [ 0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.o [ 0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/MD5.o [ 1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.o [ 1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.o [ 1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/String.o [ 2%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Directory.o [ 2%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.o [ 2%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Glob.o [ 3%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/RegularExpression.o [ 3%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemTools.o [ 3%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/CommandLineArguments.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Registry.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/IOStream.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.o Linking CXX static library libcmsys.a Error running link command: No such file or directory *** Error code 2 This happens with ccache, without ccache it doesn't. There are a couple of others which I can't recall right now. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/