Re: Using ccache for build{world, kernel}

From: michael johnson <buhnux_at_gmail.com>
Date: Tue, 15 Nov 2005 20:14:03 -0500
-----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_at_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-----
Received on Wed Nov 16 2005 - 00:14:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC