From owner-freebsd-current@FreeBSD.ORG Tue Aug 19 17:30:40 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A40901065671; Tue, 19 Aug 2008 17:30:40 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 635548FC13; Tue, 19 Aug 2008 17:30:39 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from [87.242.97.68] (port=61953 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KVUkJ-000Ctp-9B; Tue, 19 Aug 2008 17:11:51 +0000 Date: Tue, 19 Aug 2008 21:11:05 +0400 From: Ruslan Ermilov To: Dag-Erling Sm??rgrav Message-ID: <20080819171105.GB19836@edoofus.dev.vega.ru> References: <20080813185600.B88E373039@freebsd-current.sentex.ca> <86abfgs5v6.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86abfgs5v6.fsf@ds4.des.no> Cc: FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 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: Tue, 19 Aug 2008 17:30:40 -0000 On Thu, Aug 14, 2008 at 04:11:25AM +0200, Dag-Erling Sm??rgrav wrote: > FreeBSD Tinderbox writes: > > TB --- 2008-08-13 18:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca > > TB --- 2008-08-13 18:55:00 - starting HEAD tinderbox run for amd64/amd64 > > TB --- 2008-08-13 18:55:00 - cleaning the object tree > > TB --- 2008-08-13 18:55:53 - cvsupping the source tree > > TB --- 2008-08-13 18:55:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile > > TB --- 2008-08-13 18:56:00 - building world (CFLAGS=-O -pipe) > > TB --- 2008-08-13 18:56:00 - cd /src > > TB --- 2008-08-13 18:56:00 - /usr/bin/make -B buildworld > > TB --- 2008-08-13 18:56:00 - WARNING: /usr/bin/make returned exit code 1 > > TB --- 2008-08-13 18:56:00 - ERROR: failed to build world > > TB --- 2008-08-13 18:56:00 - tinderbox aborted > > TB --- 2.38 user 4.29 system 60.01 real > > The following code in src/Makefile: > > STARTTIME!= LC_ALL=C date > CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0 > .if !empty(CHECK_TIME) > .error check your date/time: ${STARTTIME} > .endif > > incorrectly assumes that the build cannot possibly start less than a > second after sys/sys/param.h is updated. > "-mtime -0" interacts badly with the TIME_CORRECT() macro when mtime and run-time happen to be the same second. While I think it's a bug in the find(1) code that needs to be fixed, using "-mtime -0s" seems to avoid the macro and thus works as expected. Can you do me a favour and commit it for me please? Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer