Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 09:32:25 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Kent Stewart <kstewart@owt.com>
Cc:        Hank Marquardt <hmarq@yerpso.net>, freebsd-stable@FreeBSD.ORG
Subject:   HEADS UP: find /usr/src -mtime -0
Message-ID:  <20010926093225.B20611@sunbay.com>
In-Reply-To: <3BB0FB4C.2F3E77C5@owt.com>; from kstewart@owt.com on Tue, Sep 25, 2001 at 02:46:52PM -0700
References:  <20010925064527.A13569@hermes.yerpso.net> <20010925153455.D97142@sunbay.com> <3BB0B7B8.AA058D67@owt.com> <20010925211810.D57333@sunbay.com> <3BB0FB4C.2F3E77C5@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

If your "world" fails trying to build something
during the "installworld" phase, go on reading.

On Tue, Sep 25, 2001 at 02:46:52PM -0700, Kent Stewart wrote:
> 
> 
> Ruslan Ermilov wrote:
> > 
> > On Tue, Sep 25, 2001 at 09:58:32AM -0700, Kent Stewart wrote:
> > >
> > >
> > > Ruslan Ermilov wrote:
> > > >
> > > > Can you please check that the computer's date and time are set
> > > > correctly?  It if is, can you please run the following command,
> > > > and send me its output:
> > > >
> > > >   find /usr/src/contrib/groff /usr/src/gnu/usr.bin/groff -ls
> > > >
> > > > I suspect that modification dates of some files in /usr/src may
> > > > be set to a wrong (future) time.  Then make(1) may get confused
> > > > thinking some targets are outdated in "installworld".
> > >
> > > Could this be a side effect of the "9 Sept 01 Cvsup Error".
> 
> The S1G Cvsup bug makes the dates come out 31 Dec 69 instead of 10 Sep
> 01.
> 
If this "69" is 2069, that is definitely the problem!

Just try this:

$ touch -t 200201010000 source
$ cat Makefile
target: source
	cat ${.ALLSRC} > ${.TARGET}
$ make
$ make
$ make
$ make
$ make

To avoid this, make sure that:

1) The date on your computer is set correctly.
2) "find /usr/src -mtime -0" produces nothing.

I wonder if make(1) should be fixed to warn if some
sources have the modification date pointing in the
future.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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