lsof 4.79K build fails
Larry Rosenman
ler at lerctr.org
Mon Apr 14 04:14:23 UTC 2008
On Mon, 14 Apr 2008, Ganbold wrote:
> Jonathan Chen wrote:
>> On Mon, Apr 14, 2008 at 09:51:17AM +0800, Rong-en Fan wrote:
>>
>>> On Mon, Apr 14, 2008 at 9:47 AM, Jonathan Chen <jonc at chen.org.nz> wrote:
>>>
>>>> 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
>>>>
>>> what arch?
>>>
>>
>> i386
>>
> I tried yesterday and day before yesterday to upgrade my ports and latest
> lsof port doesn't build on FreeBSD-7.0-STABLE (built April 12, 2008) with
> similar errors if I'm not mistaken.
>
Did you get the 4.79K version?
If not, and you have a very recent RELENG_7, it should build.
I've asked Vic Abell to look into these reports.
(I've updated both of my amd64/RELENG_7's to this weekends sources
and lsof builds fine).
There might be issues with earlier, but I'm not sure.
As I said, I've asked Vic Abell to look into it.
Thanks for the reports.
LER
> Ganbold
>
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
More information about the freebsd-ports
mailing list