Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 23:27:41 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Coming back to the btxld: No such file or directory installworld error
Message-ID:  <AANLkTinGe1e-9NJi9rqdsg01OXqazx8K4_tT2Hs0ynq7@mail.gmail.com>
In-Reply-To: <20100628055411.GC8478@edoofus.dev.vega.ru>
References:  <AANLkTinOQxQZghvufVWk-W-KpCJY3p6f2jF6d3-BCIay@mail.gmail.com> <20100628055411.GC8478@edoofus.dev.vega.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 27, 2010 at 10:54 PM, Ruslan Ermilov <ru@freebsd.org> wrote:
> On Sun, Jun 27, 2010 at 01:14:59PM -0700, Garrett Cooper wrote:
>> Hi Ruslan,
>> =A0 =A0 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?):
>>
>> =3D=3D=3D> 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 =A0-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
> =A0to be set on output files =3D> causing them to be considered out-of-
> =A0date 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
> =A0fools make(1) into thinking that it should rebuild some target;
> =A0check with "find /usr/src -mtime -0".

This seems unlikely as well.

Is there a possibility that the existing Makefiles work by accident
when -j < 24 because the actions aren't executed in order :(?

Thanks,
-Garrett



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