From owner-freebsd-stable Tue Feb 20 8:45:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cepheus.azstarnet.com (cepheus.azstarnet.com [169.197.56.195]) by hub.freebsd.org (Postfix) with ESMTP id 88DCA37B491 for ; Tue, 20 Feb 2001 08:45:07 -0800 (PST) (envelope-from Castalia@azstarnet.com) Received: from azstarnet.com (dhcp676.mc01.dsl.azstarnet.com [169.197.10.164]) by cepheus.azstarnet.com (8.9.3/8.9.3) with ESMTP id JAA25899 for ; Tue, 20 Feb 2001 09:45:05 -0700 (MST) X-Sent-via: StarNet http://www.azstarnet.com/ Message-ID: <3A92A03E.4D728DEC@azstarnet.com> Date: Tue, 20 Feb 2001 09:50:06 -0700 From: Bradford Castalia Organization: idaeim X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Stable E-mail List Subject: Re: old port layout? References: <000901c0995f$1236d4a0$00e1fea9@parkson> <20010217212546.A60502@mollari.cthul.hu> <20010219222550.B1163@ameritech.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This seems to be a common gotcha after a cvsup when attempting to build a port: Error: your port uses an old layout. Please update it to match this bsd.port.mk. If you have updated your ports collection via cvsup and are still getting this error, see Q12 and Q13 in the cvsup FAQ on http://www.polstra.com for further information. *** Error code 1 When this happened to me after a 4.1.1-RELEASE to 4.2-STABLE update here's what fixed the problem. As root: cd /usr/ports rm -rf * cvsup -f -L 2 /usr/sup/ports-supfile The ports-supfile is copied from /usr/src/share/examples/cvsup and edited to set the host= value appropriately (replace CHANGE_THIS with cvsupN, where N might be 2 or some other server near you). Drastic (perhaps), simple and effective (definately :-). Ports that would not build before now build correctly. -- Bradford Castalia Castalia@azstarnet.com Systems Analyst http://azstarnet.com/~castalia idaeim 520-624-6629 "Build an image in your mind, fit yourself into it." The Log of Cyradis, Seeress of Kell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message