From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 24 19:22:29 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 763B386B; Mon, 24 Nov 2014 19:22:29 +0000 (UTC) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 499533CD; Mon, 24 Nov 2014 19:22:29 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id rp18so9183483iec.25 for ; Mon, 24 Nov 2014 11:22:28 -0800 (PST) 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=Q4G+6GWGlUFjjMU3+n+HsbKsKCd7BaorCX9H55CfNUE=; b=0rhRaV7LP2ulUNuwg/Kte8s5ZkvC57ZrHMjWFDogEYbKQTyR7lfu0+KiQfK0C37D+l K41iXqDfd5noF8QNdwchT5j7yiCUJIPVGtt0+MEtiJaBDY4acaK3IAf2f1xozpdzae9K M/kpoR5IystI6nTqIENSlpuRIc/j24FNIUfrMsczxTdk9qD51elx3c4QR/cw4UVcXKtV M4odJBm3wXzq2xrX/0h8xBEa5iIX/T1S6KZSxvIiWydQWAq6ZsEaVCKPCm1tzkM+gEjU vALfk8ogvlM22bWHmHjla/WuQRYUbbTqkoa3hEKOsk6FSGdVdXCmg7O3VIvexrVokzIo gGIw== MIME-Version: 1.0 X-Received: by 10.107.12.234 with SMTP id 103mr18700928iom.71.1416856948581; Mon, 24 Nov 2014 11:22:28 -0800 (PST) Received: by 10.50.42.162 with HTTP; Mon, 24 Nov 2014 11:22:28 -0800 (PST) In-Reply-To: <5473631B.80801@freebsd.org> References: <5473631B.80801@freebsd.org> Date: Mon, 24 Nov 2014 11:22:28 -0800 Message-ID: Subject: Re: Running 8 building 10 part2: ctfmerge hangs From: NGie Cooper To: Julian Elischer Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , Dieter BSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 19:22:29 -0000 On Mon, Nov 24, 2014 at 8:55 AM, Julian Elischer wrote: > On 11/20/14, 3:22 PM, Dieter BSD wrote: >> >> After thinking about this a bit, it looks like ctfmerge is broken. >> 8.2 ctfmerge running under 8.2 kernel. Use a bogus argument and >> it complains. (So it *is* running before it goes into a coma.) >> But with normal arguments it quickly falls asleep. Thus it is broken. > > yes there was a period in history when ctfmerge was broken. > there was afix but you cou;dn;t compile it because ctfmerge had > WITH_CTF=1 in its own build and failed :-) > > I forget the fix unfortunately. but it hot me some time back. > there IS a fix but I can't remember it Dieter, The easiest (and only sane) way to resolve this is to: 1. Boot a 10.1 livecd. 2. Mount all of your mountpoints properly, in /mnt (but do not chroot your install). 3. Run the standard build process with DESTDIR=/mnt in the install steps : https://www.freebsd.org/doc/handbook/makeworld.html . Don't reboot in-between. 4. Reboot when done and verify that everything's ok. Whatever happened put your system into a funky state (my guess is that the build process isn't scripted/doesn't catch errors if scripted), and you're chasing down ghosts by trying to build with a 10.1 userland and 8.2 kernel. Cheers,