From owner-freebsd-current@FreeBSD.ORG Tue Oct 28 23:45:48 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C0075AA; Tue, 28 Oct 2014 23:45:48 +0000 (UTC) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) (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 DC401AA0; Tue, 28 Oct 2014 23:45:47 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id tp5so1876369ieb.22 for ; Tue, 28 Oct 2014 16:45:47 -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:content-transfer-encoding; bh=RHz1vBPJm6BK98wpjUftTro/MEDzYKRpH9A0uY60vGw=; b=pvxBf+FArJEgGzj58112QpN4Zza+7SGqP+b6nJ822BHb6cb8FmjffpeIgJU9E12Cg8 GiAU7m4//lJOI5GBWw/Oy3Z2BhicfzyMeKm+MjXLQx8ISn0r3PezHREvQBIGPb0GM29j WAAuXbaFgo1r1AlnRLAlra9KRL7ybFFFTE2MerhhMstioDuA2Cn+n/6ahORUzAzfnMlb AfVWTmm9SboO2tQUc2ohPxRr3HWjN/xWXgmnAi3iTqTsPtsLJ69Ak+R2MHRTXgrsaY29 0pXCN4NU5Z1CrgojnjgVUPbLvtcOS9jDbZMYUgdw1I6af7zEV44HwLRdXpl5dQGwnMuK r0Dg== MIME-Version: 1.0 X-Received: by 10.42.250.17 with SMTP id mm17mr7139774icb.18.1414539947176; Tue, 28 Oct 2014 16:45:47 -0700 (PDT) Received: by 10.50.193.135 with HTTP; Tue, 28 Oct 2014 16:45:47 -0700 (PDT) In-Reply-To: <20141029003515.28e26444@onyx.thanelange.no> References: <20141028235011.543be3ea@onyx.thanelange.no> <1414537299.17308.28.camel@revolution.hippie.lan> <20141029003515.28e26444@onyx.thanelange.no> Date: Tue, 28 Oct 2014 16:45:47 -0700 Message-ID: Subject: Re: buildkernel: make[2]: exec(ctfconvert) failed (No such file or directory) From: NGie Cooper To: Gyrd Thane Lange Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current , Ian Lepore , Mark Johnston X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 23:45:48 -0000 On Tue, Oct 28, 2014 at 4:35 PM, Gyrd Thane Lange w= rote: > On Tue, 28 Oct 2014 17:01:39 -0600 > Ian Lepore wrote: > >> On Tue, 2014-10-28 at 23:50 +0100, Gyrd Thane Lange wrote: >> > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legac= y/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy= /bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/us= r/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin >> >> Do a "make kernel-toolchain" which will build a new ctfconvert and put >> it in the right place within /usr/obj to be used during buildkernel. > > Thanks, I will try this (building now). But if it works I'll be somewhat > confused. I thought kernel-toolchain was implicit when doing a full > buildworld (which I've already done), and I already have a ctfconvert > (/usr/obj/usr/src/cddl/usr.bin/ctfconvert/ctfconvert). > > The problem looks more like buildkernel is ignoring the ctfconvert > tool in /usr/obj/ and instead is expecting to find it in /usr/bin (or > some such). It should be located in /usr/obj -- we should not expect the tool in /usr/bin to be correct/compatible with the source tree. Cheers!