[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: robustifying remove_distdir?
From: |
Ralf Wildenhues |
Subject: |
Re: robustifying remove_distdir? |
Date: |
Sun, 2 Jul 2006 11:00:43 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Hello David, Stepan,
* Stepan Kasal wrote on Sat, Jul 01, 2006 at 09:32:27PM CEST:
> On Fri, Jun 30, 2006 at 04:24:37PM -0400, David Fang wrote:
> > In reply to myself:
> > > Is there a way of making the "rm -rf" more robust? Maybe with some sort
> > > of "while distdir exists, try removing" loop?
> ...
> > - && rm -fr $(distdir); }; }
> > + && { until rm -fr $(distdir); do :; done; }; }; }
>
> well, it seems that this code can easily loop forever under certain
> circumstances.
I agree.
> I'm not sure whether Automake should try to work around this problems
> of the system.
No, it should not, until we have analyzed the problem at least.
> When you see the problem, try to find a methot which
> can reproduce it, though not deterministically, and report that as a
> bug of the system.
Yes. Most likely you may need a 'trace -f' (or what the equivalent is
called on the system in question) output of that 'find' command, to see
why it is failing.
Cheers,
Ralf