From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 20:50:59 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DF6811C for ; Fri, 28 Feb 2014 20:50:59 +0000 (UTC) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DE8416CE for ; Fri, 28 Feb 2014 20:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=YpOgy9D7H0p1puzBxtDSPtWnid6C9779Ve1h8sZEl7s=; b=KEsO37ueP5QYdvd9wBUi4Dh1vFqpO9fyEle9ed0qm/rq6rPqPM8ISSoXU8sShcpDDrHmIR7Rk/3zRB+s8y57ZTBMhWJO1IK61JihSXgKhclBPNeJ7fA6St8oYOzLcDuovOtWZoxiWn6CERHPznpZiEFfgfialuSBd7TVtb85yhQ=; Received: from localhost.lerctr.org ([127.0.0.1]:24378 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WJUOS-0004LZ-PA; Fri, 28 Feb 2014 14:50:58 -0600 Received: from proxy.lucent.com ([135.245.48.14]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 28 Feb 2014 14:50:52 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Feb 2014 14:50:52 -0600 From: Larry Rosenman To: Lowell Gilbert Subject: Re: sysutils/lsof and defining =?UTF-8?Q?=5FKERNEL?= In-Reply-To: <44fvn3rmjp.fsf@lowell-desk.lan> References: <44k3cfrn7k.fsf@lowell-desk.lan> <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> <44fvn3rmjp.fsf@lowell-desk.lan> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.9.5 X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 20:50:59 -0000 On 2014-02-28 14:48, Lowell Gilbert wrote: > Larry Rosenman 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. Also, have you done a make clean for sysutils/lsof? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688