Re: Using ccache for build{world, kernel}

From: Nicolas Blais <nb_root_at_videotron.ca>
Date: Tue, 15 Nov 2005 19:55:16 -0500
> > 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

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.7/gdk-pixbuf/pixops.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.7/gdk-pixbuf.
*** Error code 1

buildworld:
see file attached

All build errors disappear with NOCCACHE.

-- 
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

Received on Tue Nov 15 2005 - 23:55:19 UTC

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