lsof 4.79K build fails

Jonathan Chen jonc at chen.org.nz
Mon Apr 14 01:47:40 UTC 2008


On Mon, Apr 14, 2008 at 09:36:36AM +0800, Rong-en Fan wrote:
> On Mon, Apr 14, 2008 at 7:58 AM, Jonathan Chen <jonc at chen.org.nz> wrote:
> > The latest update for sysutils/lsof to 4.79K ends in the following
> >  when building on 7_STABLE:
> >
> >     cc  -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE
> >     -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2
> >     -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS
> >     -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6
> >     -DHAS_STRFTIME -DLSOF_VSTR=\"7.0-STABLE\" -I/usr/src/sys -O2 -c
> >     dnode.c
> >     dnode.c: In function 'get_lock_state':
> >     dnode.c:113: error: 'struct lockf' has no member named 'lf_flags'
> >     dnode.c:115: error: 'struct lockf' has no member named 'lf_id'
> >     dnode.c:121: error: 'struct lockf' has no member named 'lf_id'
> >     dnode.c:129: error: 'struct lockf' has no member named 'lf_start'
> >     dnode.c:130: error: 'struct lockf' has no member named 'lf_end'
> >     dnode.c:134: error: 'struct lockf' has no member named 'lf_type'
> >     dnode.c:136: error: 'struct lockf' has no member named 'lf_type'
> >     dnode.c:138: error: 'struct lockf' has no member named 'lf_type'
> >     dnode.c:141: error: 'struct lockf' has no member named 'lf_next'
> >     *** Error code 1
> >
> >     Stop in /usr/ports/sysutils/lsof/work/lsof_4.79K.freebsd.
> 
> When is your RELENG_7 updated? It builds fine on my 7-STABLE (around Mar
> 29) amd64.

# uname -v
FreeBSD 7.0-STABLE #0: Thu Feb 28 15:34:42 NZDT 2008     root at jonathan.chen:/usr/obj/usr/src/sys/JONC

Cheeers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
"If you wish your merit to be known, acknowledge that of other people"


More information about the freebsd-ports mailing list