Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2007 12:17:29 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        Lars Stokholm <lars.stokholm@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Has portmaster gone insane?
Message-ID:  <alpine.BSF.0.9999.0710071215030.71796@qbhto.arg>
In-Reply-To: <a5eea06e0710070458t2a61764cu12a375a66a6c9815@mail.gmail.com>
References:  <a5eea06e0710051322i7855a932xa8ca6d897e3b88e5@mail.gmail.com> <790a9fff0710051337j710e5f97w809ce08998884648@mail.gmail.com> <a5eea06e0710051441x2e2cf65ar4edd6ff071447aac@mail.gmail.com> <alpine.BSF.0.9999.0710062145080.62920@qbhto.arg> <a5eea06e0710070458t2a61764cu12a375a66a6c9815@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Oct 2007, Lars Stokholm wrote:

> On 10/7/07, Doug Barton <dougb@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.9999.0710071215030.71796>