bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generated Makefile wants to run missing after configure (broken --di


From: Bob Proulx
Subject: Re: generated Makefile wants to run missing after configure (broken --disable-dependency-tracking?)
Date: Sun, 31 Aug 2008 10:43:51 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

Vincent Lefevre wrote:
> Bob Proulx wrote:
> > But if you can't set the time on files then that won't work.
> 
> That's precisely the problem: "touch" does not work, except for setting
> mtime to the *current* time.

That was why I posted the workaround for this problem of using touch
to set all of the timestamps to the current time.  I am not sure you
noticed it.

> > Therefore I would simply try to get all of the files up to the current
> > time without a reference file.  That seems like it should even on
> > pretty broken systems. This naturally has race potential but seems
> > like it might work most of the time.
> > 
> >   $ cd PROJECTDIR && find . -type f -exec touch {} +

If there are a small enough number of files then it is statistically
likely that this will succeed.  However I acknowledge that if there
are a large number of files that it might take so long to complete
that it would cross a clock tick boundary and cross from one into the
next.  I wouldn't be surprised to hear that it took a run or tree in
order to get the task done all in one time tick.  But I think it very
likely that this would succeed.

Sometimes these systems that are extremely reduced in functionality
just are not worth the effort to support.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]