Re: Using ccache for build{world, kernel}

From: Nicolas Blais <nb_root_at_videotron.ca>
Date: Tue, 15 Nov 2005 20:05:07 -0500
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.

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

Received on Wed Nov 16 2005 - 00:05:23 UTC

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