From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 13:41:00 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 CE1C71065671 for ; Wed, 18 Jun 2008 13:41:00 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id 0372B8FC16 for ; Wed, 18 Jun 2008 13:40:59 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 52698 invoked from network); 18 Jun 2008 13:40:58 -0000 Received: from unknown (HELO ale.andxor.it) (192.168.2.5) by andxor.it with SMTP; 18 Jun 2008 13:40:58 -0000 Message-ID: <4859106A.5090604@FreeBSD.org> Date: Wed, 18 Jun 2008 15:40:58 +0200 From: Alex Dupre User-Agent: Thunderbird 2.0.0.14 (X11/20080608) MIME-Version: 1.0 To: Edwin Groothuis References: <20080618125154.GC90685@k7.mavetju> <48590746.2060505@FreeBSD.org> <20080618131642.GD90685@k7.mavetju> In-Reply-To: <20080618131642.GD90685@k7.mavetju> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:41:00 -0000 Edwin Groothuis ha scritto: > ===> 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 This is not correct, it shouldn't use world-c++. This is mine: CMake 2.6-0, Copyright (c) 2007 Kitware, Inc., Insight Consortium C compiler on this system is: cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp C++ compiler on this system is: c++ -O2 -fno-strict-aliasing -pipe -march=athlon-mp > [...] > [ 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 Mine: [...] [ 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 [ 4%] Built target cmsys Scanning dependencies of target cmsysTestDynload [ 5%] Building C object Source/kwsys/CMakeFiles/cmsysTestDynload.dir/testDynload.o Linking C shared module libcmsysTestDynload.so [ 5%] Built target cmsysTestDynload [...] I think you should check why it's failing for you, but it's not a common behavior, so I don't see the reason to handle NOCCAHE inside the ports infrastructure. -- Alex Dupre