Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 15:57:57 -0500
From:      Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: sysutils/lsof and defining _KERNEL
Message-ID:  <448usvrm3u.fsf@lowell-desk.lan>
In-Reply-To: <c2712c7900edd9fc9d2170fe4312b235@webmail.lerctr.org> (Larry Rosenman's message of "Fri, 28 Feb 2014 14:50:52 -0600")
References:  <44k3cfrn7k.fsf@lowell-desk.lan> <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> <44fvn3rmjp.fsf@lowell-desk.lan> <c2712c7900edd9fc9d2170fe4312b235@webmail.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Larry Rosenman <ler@lerctr.org> writes:

> On 2014-02-28 14:48, Lowell Gilbert wrote:
>> Larry Rosenman <ler@lerctr.org> writes:
>>
>>> On 2014-02-28 14:34, Lowell Gilbert wrote:
>>>> I'm having trouble building lsof, because it's defining _KERNEL to
>>>> pull
>>>> in ZFS structures, and then tries to find opt_kdtrace.h, which isn't
>>>> really relevant. I suspect I've messed up something in my system
>>>> somehow, but I've been banging my head against this for hours over
>>>> the
>>>> last few days, and I can't figure out what's going on.
>>>>
>>>> Any clues?
>>> what release of FreeBSD?  What svn rev of the Ports Tree?
>>>
>>> and have you done a buildworld/buildkernel,
>>> installworld/installkernel?
>>>
>>> I've successfully built lsof on 10 and 11 recently from current
>>> sources.
>>
>> RELENG_9. Latest for both OS and ports system.
>
> Hrm.  can you send me the config log?  I'll take a look -- likely
> tomorrow, as I'm traveling
> when I get off work today.

Okay; as soon as I finish another buildworld cycle; I still think it's
likely to be something screwed up on my system, given that lsof is a
dependency for some widely-used ports.

> Also, have you done a make clean for sysutils/lsof?

Certainly. Even removed the whole sysutils subtree and re-checked it
out. I don't actually *have* ZFS on this system, so I could hack around
the problem easily enough, but I'd rather get to the bottom of it.

Be well.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448usvrm3u.fsf>