From owner-freebsd-current@FreeBSD.ORG Wed Nov 16 01:14:15 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B25ED16A41F for ; Wed, 16 Nov 2005 01:14:15 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E44E43D46 for ; Wed, 16 Nov 2005 01:14:15 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by zproxy.gmail.com with SMTP id 13so1563476nzp for ; Tue, 15 Nov 2005 17:14:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:subject:date:to:x-pgp-agent:x-mailer:from; b=teVkhXqe9S4of9P65Gp9jk8phm+68giocCjUSuan4JNGZ4z6FkDFI34Xe4ONl9LMFllKmAUEYg97Rb+xgrvSe6hnIZie/MSRogPCmO06bRy9wq4+TmBaASqL3fNjbP9jlQbatJSu8uGejRM8pR578c0u+/P7PyruqKBMWI0wWUo= Received: by 10.65.123.17 with SMTP id a17mr5233898qbn; Tue, 15 Nov 2005 17:14:14 -0800 (PST) Received: from ?10.61.32.107? ( [68.187.162.8]) by mx.gmail.com with ESMTP id a5sm151105qbd.2005.11.15.17.14.11; Tue, 15 Nov 2005 17:14:14 -0800 (PST) In-Reply-To: <200511152005.07532.nb_root@videotron.ca> References: <200511141702.45491.nb_root@videotron.ca> <200511151955.17017.nb_root@videotron.ca> <50ACA74F-B6B6-49C1-B2E9-E8166FBA8E12@ahze.net> <200511152005.07532.nb_root@videotron.ca> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Date: Tue, 15 Nov 2005 20:14:03 -0500 To: Nicolas Blais X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.734) From: michael johnson X-Mailman-Approved-At: Wed, 16 Nov 2005 01:27:30 +0000 Cc: Jens Schweikhardt , Steve Hodgson , Maxim.Sobolev@portaone.com, michael johnson , freebsd-current@freebsd.org Subject: Re: Using ccache for build{world, kernel} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 01:14:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 15, 2005, at 8:05 PM, Nicolas Blais wrote: > On November 15, 2005 07:58 pm, michael johnson wrote: > >> On Nov 15, 2005, at 7:55 PM, Nicolas Blais wrote: >> >>>>> Whatever the final outcome, the current port of ccache breaks a >>>>> lot >>>>> of big >>>>> compiles (3 ports failed during 'portupgrade -ai', such as >>>>> GTK2.8.7 >>>>> and >>>>> buildworld) while NOCCACHE makes the build a success. >>>>> >>>> >>>> Can you give me the error? >>>> >>>> I'm not seeing this >>>> >>>> >>>>> Maybe flag the port 'broken' until it is safe to use? >>>>> >>>>> Nicolas. >>>>> >>> >>> I'm not going to put every single port that caused an error, but >>> here's one. >>> gtk 2.8.7: >>> Making all in pixops >>> if /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool >>> --mode=compile /usr/local/bin/ccache cc -DHAVE_CONFIG_H -I. -I. - >>> I../.. >>> -I../.. -I../.. -DG_DISABLE_CAST_CHECKS >>> -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/ >>> glib-2.0/include >>> -I/usr/local/include/libpng -DG_DISABLE_DEPRECATED >>> -DGDK_PIXBUF_DISABLE_DEPRECATED -I/usr/local/include/freetype2 >>> -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -O2 >>> -fno-strict-aliasing -pipe -march=athlon-mp -mno-sse2 -Wall -MT >>> pixops.lo -MD >>> -MP -MF ".deps/pixops.Tpo" -c -o pixops.lo `test -f 'pixops.c' || >>> echo >>> './'`pixops.c; then mv -f ".deps/pixops.Tpo" ".deps/pixops.Plo"; >>> else rm -f >>> ".deps/pixops.Tpo"; exit 1; fi >>> gnome-libtool: compile: unable to infer tagged configuration >>> gnome-libtool: compile: specify a tag with `--tag' >>> *** Error code 1 >>> >> >> reinstall devel/libtool15 and retry >> >> > > Nice, how did you know it would work ? :) > > So, for ccache +patches to work, you have to reinstall libtool15? I > guess the > ccache port should force-update libtool if that's the case, unless > there's a > workaround. > Anytime CC or CXX changes you will need to reinstall devel/libtool15 you must've changed CC and CXX =P > With a 'new' libtool, gtk 2.8.7 compiled fine with ccache, I'm now > testing > buildworld. > -- > FreeBSD 7.0-CURRENT #0: Tue Nov 15 06:21:56 EST 2005 > root@clk01a:/usr/obj/usr/src/sys/CLK01A > PGP? : http://www.clkroot.net/security/nb_root.asc > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDeofen4uqfTwEb9YRAlsfAJ0empYSbNy+6xb+Ua8V6LmaV6lI6wCfWbWL Ujl5IZb4wq6zLgb0fjRhjN0= =TFNN -----END PGP SIGNATURE-----