From owner-freebsd-current@FreeBSD.ORG  Wed Jul 11 02:19:22 2012
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 53014106566C
	for <freebsd-current@freebsd.org>; Wed, 11 Jul 2012 02:19:22 +0000 (UTC)
	(envelope-from yanegomi@gmail.com)
Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com
	[209.85.214.182])
	by mx1.freebsd.org (Postfix) with ESMTP id 12E758FC19
	for <freebsd-current@freebsd.org>; Wed, 11 Jul 2012 02:19:22 +0000 (UTC)
Received: by obbun3 with SMTP id un3so1020561obb.13
	for <freebsd-current@freebsd.org>; Tue, 10 Jul 2012 19:19:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=BOvW1LC17hkDxajTe2R0p3h/1WmapsX3tUQHovFxqtg=;
	b=rDb0LtYIvbzfyWr+aJ4IASMK3zA9uitgHFUXyQ35bX4eUppvAR/Fx2znyBDxKRZ2Pn
	WUJ164/rGGEcy5K+fwKz6XAodjj/F3D6a6hhMGHQVKRZVpiLzfkJa/o2OHJmlygBME3P
	/NQvlKMaxFOWy9avsHOHpw1dTqUtwqdTmiyFgSMz+uIaV6hE5cggKdtsv7bhKIHKWd0x
	+s+SAFa5Uerm3dUkF//t5acqAmd7NV9TDhhJJAosEqAsk+ccf14h5kt4qG7z7fNclfH5
	E1a7Oe/KG2qslxzgRnjpQGx5W228UJTwaeB9v/HKEKMhGFD4lOZhNQ30eYIJFTOVd29P
	T+xg==
MIME-Version: 1.0
Received: by 10.182.2.233 with SMTP id 9mr42710737obx.11.1341973161621; Tue,
	10 Jul 2012 19:19:21 -0700 (PDT)
Received: by 10.76.84.7 with HTTP; Tue, 10 Jul 2012 19:19:21 -0700 (PDT)
In-Reply-To: <CAKZxVQUXfof=7EZGAkDrEAqSQdvfAHitJtCFOBA71XBgxr9=7w@mail.gmail.com>
References: <CAKZxVQX1Lb-1HNzCqAu7cHOooO32SKCqpKDVTQ6U-_htPg5VCg@mail.gmail.com>
	<20120710150040.GE2338@deviant.kiev.zoral.com.ua>
	<CAKZxVQVJJ8ZdpfL1HnGA85pWQac=kGAun6bK7c33k1emDR4djA@mail.gmail.com>
	<CAKZxVQU0FThnAUnaEjbRue_JC-QQ1B62RfC2igTMRXXdG_EWiw@mail.gmail.com>
	<CAGH67wR4frD7YmdOojq=F1XdyV=LMyhkT1sosH9sj5zC=hG7FQ@mail.gmail.com>
	<CAKZxVQUXfof=7EZGAkDrEAqSQdvfAHitJtCFOBA71XBgxr9=7w@mail.gmail.com>
Date: Tue, 10 Jul 2012 19:19:21 -0700
Message-ID: <CAGH67wR24WMNtyM9y6yzYuRFKP6_AdYF1itGDzCFJjLS0UDXOg@mail.gmail.com>
From: Garrett Cooper <yanegomi@gmail.com>
To: Kim Culhan <w8hdkim@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org
Subject: Re: FreeBSD-current r238290 installworld failure
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2012 02:19:22 -0000

On Tue, Jul 10, 2012 at 7:10 PM, Kim Culhan <w8hdkim@gmail.com> wrote:
> On Tue, Jul 10, 2012 at 9:52 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
>> On Tue, Jul 10, 2012 at 6:22 PM, Kim Culhan <w8hdkim@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