Re: lsof in 5.6

2014-12-19 Thread Landry Breuil
On Thu, Dec 18, 2014 at 11:44:23PM -0500, Alan Corey wrote: > OK, had to set CFLAGS to -I/usr/src/sys but then it worked. I hadn't > unpacked the sources yet but I thought userland stuff wasn't supposed > to reference kernel sources. Oh well. Userland stuff isnt supposed to reference kernel sour

Re: lsof in 5.6

2014-12-18 Thread Alan Corey
OK, had to set CFLAGS to -I/usr/src/sys but then it worked. I hadn't unpacked the sources yet but I thought userland stuff wasn't supposed to reference kernel sources. Oh well. On 12/18/14, Stuart Henderson wrote: > On 2014/12/18 22:21, Ian Mcwilliam wrote: >> Your best bet is to pull new ports

Re: lsof in 5.6

2014-12-18 Thread Stuart Henderson
On 2014/12/18 22:21, Ian Mcwilliam wrote: > Your best bet is to pull new ports / src from CVS OPENBSD_5_6 tagged stable > tree or just use a pre built package. or use fstat

Re: lsof in 5.6

2014-12-18 Thread Ian Mcwilliam
@openbsd.org Subject: Re: lsof in 5.6 This was from the 5.6 release from a mirror site ftp://filedump.se.rit.edu/pub/OpenBSD/5.6/ports.tar.gz somewhere around November 10 If you look at /usr/ports/sysutils/lsof/patches/patch-dialects_n+obsd_dlsof_h is there mention of adding support for tmpfs

Re: lsof in 5.6

2014-12-18 Thread Ted Unangst
On Thu, Dec 18, 2014 at 02:26, Alan Corey wrote: > This was from the 5.6 release from a mirror site > ftp://filedump.se.rit.edu/pub/OpenBSD/5.6/ports.tar.gz somewhere > around November 10 > > If you look at /usr/ports/sysutils/lsof/patches/patch-dialects_n+obsd_dlsof_h > is there mention of adding

Re: lsof in 5.6

2014-12-18 Thread Stuart Henderson
_U -DHASI_FFS1 -DHAS_UM_UFS >-DHASNCVPID >> -DUVM -DHAS_UVM_INCL -DHAS_SYS_PIPEH -DHASKVMGETPROC2 >-DHASKVMGETPROCS >> -DHAS_STRFTIME -DLSOF_VSTR=\"5.6\" -I/usr/include -I/usr/src/sys -O2 >-pipe >> -c usage.c >> cc -DOPENBSDV=5000 -DN_UNIXV=/dev/ksyms -D

Re: lsof in 5.6

2014-12-17 Thread Alan Corey
CS > -DHAS_STRFTIME -DLSOF_VSTR=\"5.6\" -I/usr/include -I/usr/src/sys -O2 -pipe > dmnt.o dnode.o dnode1.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o > print.o proc.o store.o usage.o util.o -L./lib -llsof -lkvm > ./lib/liblsof.a(dvch.o)(.text+0x6bf): In function `

Re: lsof in 5.6

2014-12-17 Thread Ian Mcwilliam
/lsof.8 install -c -o root -g bin -m 555 /usr/ports/pobj/lsof-4.87/lsof_4.87/lsof_4.87_src/scripts/* /usr/ports/pobj/lsof-4.87/fake-amd64/usr/local/share/lsof ===> Building package for lsof-4.87p4 Create /usr/packages/amd64/all/lsof-4.87p4.tgz Link to /usr/packages/amd64/ftp/lsof-4.87p4.tgz Link to /u

Re: lsof in 5.6

2014-12-17 Thread Alan Corey
It's a port, what I typed was "make install". My 5.2 machine that I have lsof working on does have fedora_base installed but I still don't find any tmpfs.h. It also has src.sys extracted. I extracted lsof_4.87.tar.gz, searched for the tmpfs.h file and grepped -R for tmpfs.h, not there. I do fin

Re: lsof in 5.6

2014-12-16 Thread Ted Unangst
On Tue, Dec 16, 2014 at 22:11, Alan Corey wrote: > It seems to be trying to reference tmpfs/tmpfs.h and of course there > isn't one. It's the same distfile that was used in 5.2 and that's OK > so maybe it's something in the patches that are done? > > Maybe this has already been reported, I didn't

lsof in 5.6

2014-12-16 Thread Alan Corey
It seems to be trying to reference tmpfs/tmpfs.h and of course there isn't one. It's the same distfile that was used in 5.2 and that's OK so maybe it's something in the patches that are done? Maybe this has already been reported, I didn't check. cc -DOPENBSDV=5000 -DN_UNIXV=/dev/ksyms -DHASNFSP