From owner-freebsd-stable Wed Jul 4 19:50:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 3C47A37B401 for ; Wed, 4 Jul 2001 19:50:34 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.1) with ESMTP id f652oUD51320; Wed, 4 Jul 2001 19:50:30 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.3/8.11.0) id f652oQA13155; Wed, 4 Jul 2001 19:50:26 -0700 (PDT) (envelope-from jdp) Date: Wed, 4 Jul 2001 19:50:26 -0700 (PDT) Message-Id: <200107050250.f652oQA13155@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: Jeroen.Heijungs@Het-Muziektheater.nl Subject: Re: ports and cvsup In-Reply-To: <200107041159.NAA22066@mail.hmth.nl> References: <200107041159.NAA22066@mail.hmth.nl> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <200107041159.NAA22066@mail.hmth.nl>, Jeroen Heijungs wrote: > > Every week I do a cvsup for all sources, docs and ports, with the default > cvsup cfg files in /usr/share/examples/cvsup. > > But..., with almost every port I want to install I get the message about > the old port layout. When I go to the ftp server get the port skeleton, > install that and do the "make" again everything works fine. > > I thought that the cvsup was to avoid that kind of problems, but > obviously I made somewhere a mistake (or haven't read enough). Probably when you ran CVSup for the first time, you already had a ports tree on your system. CVSup does a pretty good job of "adopting" existing files, but when you use it like that it will not delete old files which normally should be deleted. That's because it doesn't think it owns those files, because it didn't create them in the first place. In most situations, it doesn't hurt anything to have a few extra files lying around. Unfortunately, the ports tree is very sensitive to that. There is a safe way to adopt existing trees with CVSup. It's described in the CVSup FAQ here: http://www.polstra.com/projects/freeware/CVSup/faq.html#caniadopt and in the two questions that follow it. Your safest bet at this point would be to delete your entire ports tree and re-fetch it with CVSup. (Don't use the "-s" option.) The ports tree is relatively small, so it won't take too awfully long. Or, if you are careful and know what you're doing, you can probably get things working by doing a systematic manual deletion of all subdirectories named "patches" and "pkg" in your entire ports tree. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message