Re: FreeBSD-current r238290 installworld failure

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Tue, 10 Jul 2012 19:19:21 -0700
On Tue, Jul 10, 2012 at 7:10 PM, Kim Culhan <w8hdkim_at_gmail.com> wrote:
> On Tue, Jul 10, 2012 at 9:52 PM, Garrett Cooper <yanegomi_at_gmail.com> wrote:
>> On Tue, Jul 10, 2012 at 6:22 PM, Kim Culhan <w8hdkim_at_gmail.com> wrote:
>>
>> ...
>>
>>> Ran another buildworld and on this run gcc was produced in
>>> /usr/obj/usr/src/gnu/usr.bin/cc/cc
>>> and installworld worked fine.
>>
>> I would be curious (if it happened again) if you updated your source
>> tree but not your objdir, or see whether or not there was some clock
>> skew at hand.
>
> Yes the objdir was unchanged from the the previous run which was ~30 days ago.
>
> Should probably have rm -r'd /usr/obj before the first run today.

    Indeed. Changing source directories and not cleaning out your
objdir is certain to bring pain in certain cases because of dependency
order `violations` if you using -DNO_CLEAN, -DKERNFAST, etc (sys/boot
definitely hates it when things are in an inconsistent state, as does
include/). `Hacks` or modifications to sources might be required to
get things to work if you patch things on the fly as well [1].
Cheers,
-Garrett

1. http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/160646
Received on Wed Jul 11 2012 - 00:19:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC