From owner-freebsd-current@FreeBSD.ORG Mon Jun 28 11:17:08 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D928310656D4 for ; Mon, 28 Jun 2010 11:17:08 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from mail.vega.ru (mail.vega.ru [90.156.167.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9267C8FC20 for ; Mon, 28 Jun 2010 11:17:08 +0000 (UTC) Received: from [10.100.124.99] (helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OTCKo-00069k-6F; Mon, 28 Jun 2010 15:17:06 +0400 Date: Mon, 28 Jun 2010 15:16:24 +0400 From: Ruslan Ermilov To: Garrett Cooper Message-ID: <20100628111624.GA12387@edoofus.dev.vega.ru> References: <20100628055411.GC8478@edoofus.dev.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: FreeBSD Current Subject: Re: Coming back to the btxld: No such file or directory installworld error 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: Mon, 28 Jun 2010 11:17:08 -0000 On Sun, Jun 27, 2010 at 11:27:41PM -0700, Garrett Cooper wrote: > On Sun, Jun 27, 2010 at 10:54 PM, Ruslan Ermilov wrote: > > On Sun, Jun 27, 2010 at 01:14:59PM -0700, Garrett Cooper wrote: > >> Hi Ruslan, > >>     I've run into this particular error twice now in the past couple > >> of weeks when building with -j24 on a memory disk and I was wondering > >> if there was an missing dependency / race somewhere or something > >> (perhaps make obj?): > >> > >> ===> sys/boot/i386/boot2 (install) > >> # ... > >> btxld -v -E 0x2000 -f bin -b > >> /usr/obj/scratch/freebsd/current/sys/boot/i386/boot2/../btx/btx/btx -l > >> boot2.ldr  -o boot2.ld -P 1 boot2.bin > >> btxld: No such file or directory > >> *** Error code 1 > > > > The "install" target isn't supposed to build stuff, only install it. > > When you see it trying to build something, this can be indicative of: > > > > - build wasn't run (e.g., after an update); > > Not the case (I ran buildworld and everything else up to that point > installed happily). > > > - a computer's date/time is set to the past (causing wrong date/time > >  to be set on output files => causing them to be considered out-of- > >  date by make(1)); check with date(1). > > My computer hasn't been time traveling lately :/ ("If my calculations > are correct, when this baby hits eighty-eight miles per hour... you're > gonna see some serious shit."). > > > - source files have modification times pointing to the future which > >  fools make(1) into thinking that it should rebuild some target; > >  check with "find /usr/src -mtime -0". > > This seems unlikely as well. Did you actually check that? (Date/time on source files can be set by CVSup servers...) > Is there a possibility that the existing Makefiles work by accident > when -j < 24 because the actions aren't executed in order :(? "install" isn't supposed to build stuff. The only exception I could remember of is timezone data files, plus some .db files. I strongly suggest checking the date/time of your computer and source files. If it's really okay, then check the following: run -j24 build, then run "make -C /usr/src/sys/boot -nn" -- if you see that it wants to build something, then this is a problem we should look into and try to fix. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer