From owner-freebsd-stable Mon Oct 16 19:47: 7 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peloton.runet.edu (peloton.runet.edu [137.45.96.205]) by hub.freebsd.org (Postfix) with ESMTP id 9AD8D37B479 for ; Mon, 16 Oct 2000 19:47:04 -0700 (PDT) Received: from localhost (brett@localhost) by peloton.runet.edu (8.9.3/8.9.3) with ESMTP id WAA13640 for ; Mon, 16 Oct 2000 22:47:03 -0400 (EDT) (envelope-from brett@peloton.runet.edu) Date: Mon, 16 Oct 2000 22:47:03 -0400 (EDT) From: Brett Taylor To: stable@freebsd.org Subject: Re: Error: your port uses an old layout. Please update it to match this bsd.port.mk. - SOLVED In-Reply-To: <200010170218.e9H2IId53545@vashon.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi John On Mon, 16 Oct 2000 jdp@polstra.com wrote: > In article , > Brett Taylor wrote: > > with the following supfile for ports: > > > > *default release=cvs > > *default prefix=/usr > > *default base=/usr/local/etc/cvsup > > *default release=cvs delete use-rel-suffix compress > > ports-all tag=. > > That all looks correct to me. Do you remember exactly which empty > directories didn't get removed? I didn't do a complete check through as I figured out the problem pretty fast from watching -ports and looking at the new bsd.port.mk. I know at least one of them was png and it seems like plan was another. I should have done a closer check, but I knew what the problem was so I just fixed it wo/ thinking. :-) > 1. Maybe you have a "refuse" file which is causing CVSup to ignore > the problem directories. The only things in my refuse file for ports are the non-English ports trees and plan9, so I don't think that's it. > 2. Maybe the directories really weren't empty -- i.e., they contained > file(s) named ".*" that didn't appear in the "ls" listing. (Don't be > insulted, I'm just trying to explore all the possibilities! :-) No insult taken! :-) I did an ls -la thinking the same thing - that maybe I'd done a partial build, manually deleted the source and never done a "make clean" to clean up the .confiure_done/.patch_done and friends, but they truly were empty. > 3. It could be a bug in CVSup (of course). But the code which handles > the directory removal is pretty straightforward. -shrug- Maybe. :-) Maybe others can give a fuller description of the problem directories - since I went and "fixed" my problem, it's hard to guess from my limited data. > Another possible explanation: CVSup only tries to remove a > possibly-empty directory immediately after it has deleted a file from > the directory. If for any reason CVSup was unable to remove the > directory at the point in time when it "officially" became empty on > your system, then that's it -- it won't try again later. This sounds like a good possibility. In any case, I thought it was a pretty straightforward problem with an easy fix, but I guess others don't like reading bsd.port.mk. :-) Thanks for your time and interest John - it's much appreciated (by me and I'm sure others). Brett ***************************************************** Dr. Brett Taylor brett@peloton.runet.edu * Dept of Chem and Physics * Curie 39A (540) 831-6147 * ***************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message