Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 20:14:03 -0500
From:      michael johnson <buhnux@gmail.com>
To:        Nicolas Blais <nb_root@videotron.ca>
Cc:        Jens Schweikhardt <schweikh@schweikhardt.net>, Steve Hodgson <steve@acidy.com>, Maxim.Sobolev@portaone.com, michael johnson <buhnux@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Using ccache for build{world, 	kernel}
Message-ID:  <E61E2D9E-AFA9-4409-8A55-8E5286411FFA@ahze.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E61E2D9E-AFA9-4409-8A55-8E5286411FFA>