Date: Tue, 28 Oct 2014 16:45:47 -0700 From: NGie Cooper <yaneurabeya@gmail.com> To: Gyrd Thane Lange <gyrd-se@thanelange.no> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Ian Lepore <ian@freebsd.org>, Mark Johnston <markj@freebsd.org> Subject: Re: buildkernel: make[2]: exec(ctfconvert) failed (No such file or directory) Message-ID: <CAGHfRMB5y_wwnvDkfr=p-A=a06rb1z74Am9rCk7jOy-_9X4Krg@mail.gmail.com> 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>
index | next in thread | previous in thread | raw e-mail
On Tue, Oct 28, 2014 at 4:35 PM, Gyrd Thane Lange <gyrd-se@thanelange.no> wrote:
> On Tue, 28 Oct 2014 17:01:39 -0600
> Ian Lepore <ian@FreeBSD.org> wrote:
>
>> On Tue, 2014-10-28 at 23:50 +0100, Gyrd Thane Lange wrote:
>> > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/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/usr/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!
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMB5y_wwnvDkfr=p-A=a06rb1z74Am9rCk7jOy-_9X4Krg>
