FreeBSD-current r238290 installworld failure

Garrett Cooper yanegomi at gmail.com
Wed Jul 11 02:19:22 UTC 2012


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


More information about the freebsd-current mailing list