Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2008 23:03:07 -0500 (CDT)
From:      Larry Rosenman <ler@lerctr.org>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        Rong-en Fan <grafan@gmail.com>, freebsd-ports@freebsd.org, Jonathan Chen <jonc@chen.org.nz>
Subject:   Re: lsof 4.79K build fails
Message-ID:  <20080413230119.K72185@thebighonker.lerctr.org>
In-Reply-To: <4802BDE0.4050405@micom.mng.net>
References:  <20080413235851.GA31227@osiris.chen.org.nz> <6eb82e0804131836k23ce56f0q49a0b30e629090e5@mail.gmail.com> <20080414014738.GA90030@osiris.chen.org.nz> <6eb82e0804131851g3af2b7f0t806c3b02ce077f16@mail.gmail.com> <20080414020438.GA14226@osiris.chen.org.nz> <4802BDE0.4050405@micom.mng.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080413230119.K72185>