From owner-freebsd-current@FreeBSD.ORG Thu Dec 1 17:56:44 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9804816A41F; Thu, 1 Dec 2005 17:56:44 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B8A143D5F; Thu, 1 Dec 2005 17:56:42 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail10.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id jB1HudrJ004081 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 2 Dec 2005 04:56:40 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id jB1HudHh036819; Fri, 2 Dec 2005 04:56:39 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id jB1HudEV036818; Fri, 2 Dec 2005 04:56:39 +1100 (EST) (envelope-from pjeremy) Date: Fri, 2 Dec 2005 04:56:39 +1100 From: Peter Jeremy To: Iasen Kostov Message-ID: <20051201175639.GH32006@cirb503493.alcatel.com.au> References: <1133397567.40645.5.camel@WarHeaD.OTEL.net> <20051201053543.GC36718@ip.net.ua> <1133436603.37980.9.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1133436603.37980.9.camel@DraGoN.OTEL.net> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc Cc: freebsd-current@freebsd.org Subject: Re: 6.0-STABLE buildworld (possibly) broken ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 17:56:44 -0000 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