Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2005 04:56:39 +1100
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Iasen Kostov <tbyte@otel.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 6.0-STABLE buildworld (possibly) broken ?
Message-ID:  <20051201175639.GH32006@cirb503493.alcatel.com.au>
In-Reply-To: <1133436603.37980.9.camel@DraGoN.OTEL.net>
References:  <1133397567.40645.5.camel@WarHeaD.OTEL.net> <20051201053543.GC36718@ip.net.ua> <1133436603.37980.9.camel@DraGoN.OTEL.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-Dec-01 13:30:03 +0200, Iasen Kostov wrote:
>On Thu, 2005-12-01 at 07:35 +0200, Ruslan Ermilov wrote:
>> If so, the chances are simply that your date/time is set wrong,
>> or there are files in the source tree (check with find(1)) that
>> have modification time pointing to the future.
...
>I wander if there is a way to save somewhere in the tree the time of
>last modification(commit) and then in the Makefile to check if it is not
>in the future and if it is to fail with proper message maybe if it is
>possible it will save some wall-head-hitting and time too :).

This problem seems to come up fairly regularly.  How about adding a
check into make(1) so that if a dependency has a date in the future,
make dies with more intuitive error?  It would probably reduce the
number of these questions if you got an error message like:
"foo.c was created in the future.  Check your system date/time."

IMHO, that's a lot more obvious than:
"/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lc"
or
"... touch not found ..."

-- 
Peter Jeremy



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