Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 13:17:28 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>, freebsd-ports@FreeBSD.ORG
Subject:   Re: Speeding up bsd.ports.mk
Message-ID:  <p05101410b89ae610a56c@[128.113.24.47]>
In-Reply-To: <3C75260E.1F72E9F6@FreeBSD.org>
References:  <3C73F34F.D9A58E8B@FreeBSD.org> <a51k3b$31a$1@kemoauc.mips.inka.de> <3C74B745.9D57D6A9@FreeBSD.org> <3C74BF4E.480E1D39@FreeBSD.org> <3C75260E.1F72E9F6@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:53 PM +0200 2/21/02, Maxim Sobolev wrote:
>Ok, attached please find a patch to speed-up bsd.ports.mk. There are
>also attached test port and a script to roughly measure performance of
>the bsd.port.mk using this port. Following are the number from my
>P266MMX notebook running -current:

I tried the patch on -stable.  Would that be expected to work?

I did a cvsup of ports, applied the patch, and did a:
       portupgrade -rR portupgrade

and it failed:

--->  Upgrading 'portupgrade-20020204' to
       'portupgrade-20020220.1_2' (sysutils/portupgrade)
--->  Building '/usr/ports/sysutils/portupgrade'
===>  Cleaning for portupgrade-20020220.1_2
===>  Extracting for portupgrade-20020220.1_2
>>  Checksum OK for pkgtools-20020204.tar.bz2.
>>  Checksum OK for pkgtools-20020204-20020218.diff.bz2.
cannot open pkgtools-20020218-20020220.diff.bz2: no such file
*** Error code 2

Stop in /usr/ports/sysutils/portupgrade.
** Command failed: make clean build
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
         ! sysutils/portupgrade (portupgrade-20020204)   (unknown build error)

I then redid the cvsup (which just replaced the bsd.ports.mk), and
the upgrade of portupgrade worked OK.  It did both the portupgrade
port, and the databases/ruby-bdb1 port.

I have not looked into this at all, as I am not sure if this was
supposed to work on a 4.5-stable system...

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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