From owner-freebsd-questions Wed Jan 24 11:25: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from netcore.fi (netcore.fi [193.94.160.1]) by hub.freebsd.org (Postfix) with ESMTP id CE99537B400 for ; Wed, 24 Jan 2001 11:24:50 -0800 (PST) Received: from localhost (pekkas@localhost) by netcore.fi (8.11.1/8.11.1) with ESMTP id f0OJOlL23355; Wed, 24 Jan 2001 21:24:47 +0200 Date: Wed, 24 Jan 2001 21:24:47 +0200 (EET) From: Pekka Savola To: Kent Stewart Cc: Subject: Re: Latest 3-STABLE && ports problem. In-Reply-To: <3A6F2910.BE1DDAF4@urx.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 24 Jan 2001, Kent Stewart wrote: > Pekka Savola wrote: > > --- > > # pwd > > /usr/ports/net/cvsup-bin > > # make > > Error: your port uses an old layout. Please update it to match this > > bsd.port.mk. > > *** Error code 1 > > --- [snip] > You don't get this message unless you aren't cvsuping all of the > ports. The base structure changed and your port cvsup didn't delete > the old structure and update it to the new way of doing things. I > cvsup ports-all and don't see this. Nope: --- [mostly off the example file] # grep -v ^# /etc/supfile | grep -v ^$ *default host=cvsup.se.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_3 *default delete use-rel-suffix src-all tag=RELENG_3 ports-all tag=. --- The directory structure of /usr/ports/net/cvsup-bin/ is like: --- drwxr-xr-x 2 root wheel 512 Jul 1 1998 CVS -rw-r--r-- 1 root wheel 939 Jan 24 08:54 Makefile -rw-r--r-- 1 root wheel 735 May 21 1998 README.html -rw-r--r-- 1 root wheel 227 Dec 28 1999 distinfo drwxr-xr-x 3 root wheel 512 Jan 24 08:54 files drwxr-xr-x 3 root wheel 512 Jan 24 08:54 pkg -rw-r--r-- 1 root wheel 74 Jun 26 1999 pkg-comment -rw-r--r-- 1 root wheel 693 Jan 1 2000 pkg-descr -rw-r--r-- 1 root wheel 23 Feb 10 1999 pkg-plist drwxr-xr-x 3 root wheel 512 Jul 1 1998 scripts --- After 'rm -rf' and new cvsup it looks like: --- -rw-r--r-- 1 root wheel 939 Oct 4 09:40 Makefile -rw-r--r-- 1 root wheel 227 Dec 28 1999 distinfo -rw-r--r-- 1 root wheel 74 Jun 26 1999 pkg-comment -rw-r--r-- 1 root wheel 693 Jan 1 2000 pkg-descr -rw-r--r-- 1 root wheel 23 Feb 10 1999 pkg-plist --- So, it'd appear like ports-all doesn't clean up the tree properly under every circumstance. (Btw: this box has been upgraded with CVSup up from 3.0-SNAP releases from 2.2.6 era) -- Pekka Savola "Tell me of difficulties surmounted, Netcore Oy not those you stumble over and fall" Systems. Networks. Security. -- Robert Jordan: A Crown of Swords To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message