Has portmaster gone insane?

Doug Barton dougb at FreeBSD.org
Sun Oct 7 12:17:33 PDT 2007

On Sun, 7 Oct 2007, Lars Stokholm wrote:

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



     This .signature sanitized for your protection

More information about the freebsd-ports mailing list