From owner-freebsd-ports Thu Feb 21 10:17:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id BC0EF37B416; Thu, 21 Feb 2002 10:17:31 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1LIHUJx113332; Thu, 21 Feb 2002 13:17:30 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3C75260E.1F72E9F6@FreeBSD.org> References: <3C73F34F.D9A58E8B@FreeBSD.org> <3C74B745.9D57D6A9@FreeBSD.org> <3C74BF4E.480E1D39@FreeBSD.org> <3C75260E.1F72E9F6@FreeBSD.org> Date: Thu, 21 Feb 2002 13:17:28 -0500 To: Maxim Sobolev , freebsd-ports@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Speeding up bsd.ports.mk Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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