From owner-freebsd-ports@FreeBSD.ORG Sun Oct 7 19:17:33 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2638116A417 for ; Sun, 7 Oct 2007 19:17:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id B509F13C459 for ; Sun, 7 Oct 2007 19:17:32 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 9942 invoked by uid 399); 7 Oct 2007 19:17:31 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 7 Oct 2007 19:17:31 -0000 X-Originating-IP: 127.0.0.1 Date: Sun, 7 Oct 2007 12:17:29 -0700 (PDT) From: Doug Barton To: Lars Stokholm In-Reply-To: Message-ID: References: <790a9fff0710051337j710e5f97w809ce08998884648@mail.gmail.com> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: Re: Has portmaster gone insane? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 19:17:33 -0000 On Sun, 7 Oct 2007, Lars Stokholm wrote: > On 10/7/07, Doug Barton wrote: >> I'm sincerely sorry that you've had this problem. I think Scot is right in >> that the code for --clean-distfiles* is pretty simple, and relies totally >> on a proper definition of DISTDIR. > > Perhaps at the time it was empty, but it isn't now. I tried what Scot > said and it gave me "/usr/ports/distfiles". I also ran "portmaster > --clean-distfiles-all" again and it completed as expected, deleting a > few disftiles, but nothing else. Hrrrm, that's very odd. > Also, I'm not completely sure, but it seems like it has only deleted > stuff in my ~, that is nothing outside of ~lars. It has probably got > something to do with the fact that I su'd from lars to root, likely > without cd'ing to somewhere else, when I ran clean-distfiles-all the > other day. It shouldn't, that's one of the reasons that it derives the value of DISTDIR the way it does. > By the way, I had backup of everything, so nothing is lost. :) Well THAT is good news. :) Thanks for the details on the other stuff. I'm almost done regression testing the new patch with safety belts for this issue, it should be out soon. Doug -- This .signature sanitized for your protection