[Top][All Lists]

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

Re: File "foo" has modification time in the future (make 3.79.1)

From: Paul D. Smith
Subject: Re: File "foo" has modification time in the future (make 3.79.1)
Date: Thu, 5 Jul 2001 13:21:00 -0400

%% Colin P McMillen <address@hidden> writes:

  cpm> I've been getting consistent "Warning: file 'foo' has modification
  cpm> time in the future" warnings from make 3.79.1.

  cpm> A summary of my situation: we're using make 3.79.1 on Debian
  cpm> GNU/Linux and compiling over NFS. The files make reads are
  cpm> reported as being modified ~3 sec. in the future.

  cpm> I'm assuming the real problem is simply due to clock skew between
  cpm> our compilation machines and the NFS server;


  cpm> I don't know if there is supposed to be a fix for this problem or
  cpm> not.

Sure: fix the system clock on your server :).

Best is to run NTP on all your systems.  If you can't do that, using
rdate in a cron job on your NFS server will usually suffice.

  cpm> In searching for a solution to the problem, I came across a message[1]
  cpm> that suggested upgrading to make 3.79.1, but since we are using make
  cpm> 3.79.1, I thought maybe I should send a bug report.

There _were_, in older versions of make, some situations where it would
erroneously report this.  But in the situation you describe above, where
your filesystem really is ahead of your local system, the message is

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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