From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 20:38:18 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 3D3ADE10 for ; Fri, 28 Feb 2014 20:38:18 +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 0F5B4159E for ; Fri, 28 Feb 2014 20:38:18 +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=bOm8qPYL+tKw6nAUv2iZW3OQLExkMUcpRxVw28+zM6Q=; b=VoYK1++gHiYFN+1I3F4dVCRvErHFz/cHC13wkLJHEJ1nWumXxuuNO1zJzArRO86YnIyr5kGhgUHb1Pyzp0qpv/wdhCKKKgNtFkqefG+HDi6PxzXMX85/Zlgh83NOa8tOfbohmd8C0DV80QF76jVWDTMzzIeKVaJeS5rTqCO4jNI=; Received: from localhost.lerctr.org ([127.0.0.1]:10842 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WJUCB-00048o-Ii; Fri, 28 Feb 2014 14:38:17 -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:38:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Feb 2014 14:38:11 -0600 From: Larry Rosenman To: freebsd-ports@freebsd.org Subject: Re: sysutils/lsof and defining =?UTF-8?Q?=5FKERNEL?= In-Reply-To: <44k3cfrn7k.fsf@lowell-desk.lan> References: <44k3cfrn7k.fsf@lowell-desk.lan> Message-ID: <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> 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: Lowell Gilbert 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:38:18 -0000 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. Larry Rosenman sysutils/lsof maintainer -- 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