Re: sysutils/lsof and defining _KERNEL

2014-03-01 Thread Larry Rosenman

On 2014-03-01 01:05, Kevin Oberman wrote:

On Fri, Feb 28, 2014 at 1:00 PM, Larry Rosenman l...@lerctr.org
wrote:


On 2014-02-28 14:57, Lowell Gilbert wrote:
Larry Rosenman l...@lerctr.org writes:

On 2014-02-28 14:48, Lowell Gilbert wrote:
Larry Rosenman l...@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.
 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 opt_kdtrace.h
 ^
--- lib/liblsof.a ---
ranlib liblsof.a

Looks like the exact same issue.
 --

R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@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: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: sysutils/lsof and defining _KERNEL

2014-03-01 Thread Kevin Oberman
On Sat, Mar 1, 2014 at 7:51 AM, Larry Rosenman l...@lerctr.org wrote:

 On 2014-03-01 01:05, Kevin Oberman wrote:

 On Fri, Feb 28, 2014 at 1:00 PM, Larry Rosenman l...@lerctr.org
 wrote:

  On 2014-02-28 14:57, Lowell Gilbert wrote:
 Larry Rosenman l...@lerctr.org writes:

 On 2014-02-28 14:48, Lowell Gilbert wrote:
 Larry Rosenman l...@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.
  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 opt_kdtrace.h
  ^
 --- lib/liblsof.a ---
 ranlib liblsof.a

 Looks like the exact same issue.
  --

 R. Kevin Oberman, Network Engineer, Retired
 E-mail: rkober...@gmail.com

 lsof 4.88F in ports should fix this.


Thanks, Larry, for the fast response.

lsof-4.88.f builds and installs fine. It runs, but I have not done any
serious testing.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Larry Rosenman

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: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Lowell Gilbert
Larry Rosenman l...@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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Larry Rosenman

On 2014-02-28 14:48, Lowell Gilbert wrote:

Larry Rosenman l...@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.

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: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Lowell Gilbert
Larry Rosenman l...@lerctr.org writes:

 On 2014-02-28 14:48, Lowell Gilbert wrote:
 Larry Rosenman l...@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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Larry Rosenman

On 2014-02-28 14:57, Lowell Gilbert wrote:

Larry Rosenman l...@lerctr.org writes:


On 2014-02-28 14:48, Lowell Gilbert wrote:

Larry Rosenman l...@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.
Ok.  If that doesn't jump out at me, can I get a login on your system to 
look around?



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/lsof and defining _KERNEL

2014-02-28 Thread Kevin Oberman
On Fri, Feb 28, 2014 at 1:00 PM, Larry Rosenman l...@lerctr.org wrote:

 On 2014-02-28 14:57, Lowell Gilbert wrote:

 Larry Rosenman l...@lerctr.org writes:

  On 2014-02-28 14:48, Lowell Gilbert wrote:

 Larry Rosenman l...@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.

 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 opt_kdtrace.h
 ^
--- lib/liblsof.a ---
ranlib liblsof.a

Looks like the exact same issue.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org