Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 10:42:54 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        dick hoogendijk <dick@nagual.st>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Error in fontconfig
Message-ID:  <200304141042.54341.kstewart@owt.com>
In-Reply-To: <20030414170827.GA32192@lothlorien.nagual.st>
References:  <5.2.0.9.0.20030414130808.00a457a0@127.0.0.1> <200304140953.06389.kstewart@owt.com> <20030414170827.GA32192@lothlorien.nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 14 April 2003 10:08 am, dick hoogendijk wrote:
> On 14 Apr Kent Stewart wrote:
> > If you aren't rebuilding your INDEX* files after you cvsup, you are
> > using an INDEX dated 29 Mar.
>
> Is it really needed to rebuild INDEX after every cvsup of the ports?
> Someone suggested one time:
> # make index
> # pkgdb -F
> # portsdb -u
>
> This all takes a long time. "Make index" takes 'ages'
>
> I guess I have to live with that if it means you're errorfree, but
> still, is it?

FWIW, I don't run "pkgdb -F" unless I am told to. With the current 
version of portupgrade, the need is mostly gone.

The rebuilding of INDEX* does take a long time; however, I cvsuped 2 
machines and only rebuilt INDEX and INDEX.db on one of them. The one 
with rebuilt INDEXs knows that fontconfig is at version 2.1.93. The 
other system's INDEX files were updated on 12 Apr and only knows about 
2.1.92. If you want to use portupgrade or the pkg_tools, I don't think 
you have a choice on the INDEX rebuilds.

When you rebuild INDEX, you will cause cvsup to redownload it everytime 
you cvsup ports-all. I added ports/INDEX to my ports-all refuse file. 
It saves several minutes of cvsup time on a 100Mbs network. The 
computer with the local mirror is a AMD 2000+ XP and the one doing a 
ports-all cvsup is a 1600+ XP. I build my INDEX files on the 2000+ and 
ftp them to the slower computers.

If you have a number of ports in your refuse file, "make index" is known 
to fail when producing a new INDEX. An INDEX file with the number of 
ports in the hundred's isn't of much value.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304141042.54341.kstewart>