From owner-freebsd-ports@FreeBSD.ORG Sat Mar 1 15:51:30 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 2BBB6C27 for ; Sat, 1 Mar 2014 15:51:30 +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 EA93A15BF for ; Sat, 1 Mar 2014 15:51:29 +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=SemMizkLpvvDPu/IPBQhHNcQ4wQ9PVUUlFKkM0Ew67A=; b=S6pQjwF2ynzLrHhMN8qgBSbVO+viMGnl/VyRfCuWElBiffZuoiDewRbYQv0319EPPncg9L8zHM3FJ+RM5s0dLPCyxND1OnMgXkYspfMuhQs+Clnqr01NDCPa+OejfN+6JbF9yfPhwyUZSB34cavlSqMzzBc7laM0cTW8H5b/2EI=; Received: from localhost.lerctr.org ([127.0.0.1]:46534 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WJmC9-000EIg-60; Sat, 01 Mar 2014 09:51:27 -0600 Received: from c-50-175-0-140.hsd1.tx.comcast.net ([50.175.0.140]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sat, 01 Mar 2014 09:51:21 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 01 Mar 2014 09:51:21 -0600 From: Larry Rosenman To: Kevin Oberman Subject: Re: sysutils/lsof and defining =?UTF-8?Q?=5FKERNEL?= In-Reply-To: References: <44k3cfrn7k.fsf@lowell-desk.lan> <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> <44fvn3rmjp.fsf@lowell-desk.lan> <448usvrm3u.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: Lowell Gilbert , kob6558@gmail.com, FreeBSD Ports ML 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: Sat, 01 Mar 2014 15:51:30 -0000 On 2014-03-01 01:05, Kevin Oberman wrote: > On Fri, Feb 28, 2014 at 1:00 PM, Larry Rosenman > wrote: > >> On 2014-02-28 14:57, Lowell Gilbert wrote: >> Larry Rosenman writes: >> >> 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. > > 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. > Ok.  If that doesn't jump out at me, can I get a login on your > system to look around? > > FWIW, I am also unable ot build lsof sine the last update. I am > running 10-Stable ( r262619) and get this failure: > --- dnode2.o --- > In file included from dnode2.c:55: > In file included from > /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h:33: > In file included from > /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h:31: > In file included from > /usr/src/sys/cddl/compat/opensolaris/sys/vfs.h:37: > In file included from > /usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:49: > In file included from > /usr/src/sys/cddl/compat/opensolaris/sys/file.h:32: > In file included from /usr/include/sys/file.h:42: > In file included from > /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h:33: > In file included from > /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h:71: > /usr/src/sys/cddl/compat/opensolaris/sys/sdt.h:33:10: fatal error: > 'opt_kdtrace.h' file not found > #include >          ^ > --- lib/liblsof.a --- > ranlib liblsof.a > > Looks like the exact same issue. > -- > > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com lsof 4.88F in ports should fix this. -- 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