INDEX-5 is deleted then reconstructed by "make index"

Jeremy Messenger mezz7 at cox.net
Wed Oct 29 10:11:23 PST 2003


On Wed, 29 Oct 2003 08:15:36 -0800, Kent Stewart <kstewart at owt.com> wrote:

> On Wednesday 29 October 2003 07:57 am, Andrew J Caines wrote:
>> Jeremy,
>>
>> > I don't think so, because you still have to wait for the databases to 
>> be
>> > rebuilt, before you can use portversion.
>>
>> But since you will typically be cvsup'ing, building, updating dbs and 
>> such
>> during `off hours', ie. not sitting in front of the terminal waiting for
>> it to finish, the db rebuilds don't take any important time.
>>
>> I do it like this[1]
>>
>> I was surprised by your timing results:
>> > # time portversion -l "<"
>> > 3.127u 0.653s 0:08.02 47.0%	22+9776k 1003+0io 0pf+0w
>> > # time pkg_version -l \<
>> > 29.930u 11.442s 0:49.49 83.5%	327+540k 1093+0io 63pf+0w
>>
>> On my two FreeBSD boxes with up-to-date ports and built indices (portsdb
>> -Uu; pkgdb -u), I get quite the opposite results:
>>
>> PII-266, 384MB, ports on old 4.5GB UW SCSI disk, 4.9-RC[2]:
>>
>> # time portversion -l "<"
>> real 0m15.162s, user 0m6.556s, sys 0m1.407s
>> # ttime pkg_version -l \<
>> real 2m24.996s, user 1m45.382s, sys 0m28.736s
>>
>> P4-1700, 384MB, ports on newish 20GB ATA-5 disk, 5.1p10[3]:
>>
>> # time portversion -l "<"
>> real 0m5.528s, user 0m1.027s, sys 0m0.407s
>> # time pkg_version -l \<
>> real 0m23.175s, user 0m10.967s, sys 0m7.034s
>>
>> > Result: The 'my' way is a winner, easier and quick. :-)
>>
>> So what is the major difference between your setup and mine?
>
> Wait till a change like the last upgrade to gettext comes along and you 
> have
> to rebuild all of the ports that use it. He will have to rebuild each of 
> them
> manually. You can use portupgrade recursively on gettext and wait for it 
> to
> finish.

Uh? No, I do not have to do it by manual. All I have to do is 'portupgrade 
-rf gettext -m BATCH=yes'.. It's about pkg_version and portversion; not 
portupgrade. ;-) Or, maybe I don't understand your point?

Cheers,
Mezz

> Kent
>
>>
>> > But, I don't know  how it will make the difference if I have the 9,000
>> > packages installed.
>>
>> 231 installed on the PII, 188 on the P4, all built from ports.
>>
>>
>> [1] http://halplant.com:88/software/FreeBSD/scripts/update_fbsd
>> [2] http://halplant.com:88/systems.html
>> [3] Find disk specs for the Optiplex GX400 on Dell's web site and win
>>     a prize for persistence in the face of crappy design and slow 
>> delivery.
>>
>>
>> -Andrew-


-- 
bsdforums.org 's moderator, mezz.


More information about the freebsd-ports mailing list