pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38515 (sysutils/lsof doesn't build on NetBSD>=4.99.56)



On May 23,  6:20pm, apb%cequrux.com@localhost (Alan Barrett) wrote:
-- Subject: Re: pkg/38515 (sysutils/lsof doesn't build on NetBSD>=4.99.56)

| The following reply was made to PR pkg/38515; it has been noted by GNATS.
| 
| From: Alan Barrett <apb%cequrux.com@localhost>
| To: gnats-bugs%NetBSD.org@localhost
| Cc: pkgsrc-bugs%NetBSD.org@localhost
| Subject: Re: pkg/38515 (sysutils/lsof doesn't build on NetBSD>=4.99.56)
| Date: Fri, 23 May 2008 18:10:05 +0000
| 
|  On Sun, 18 May 2008, tnn%NetBSD.org@localhost wrote:
|  > State-Changed-From-To: open->closed
|  > christos made lsof build on current.
|  
|  It still doesn't work for me (kernel from 4.99.62, userland from 4.99.58):
|  
|  dproc.c: In function 'gather_proc_info':
|  dproc.c:247: error: 'struct filedesc' has no member named 'fd_cdir'
|  dproc.c:250: error: 'struct filedesc' has no member named 'fd_cdir'
|  dproc.c:257: error: 'struct filedesc' has no member named 'fd_rdir'
|  dproc.c:260: error: 'struct filedesc' has no member named 'fd_rdir'
|  dproc.c:320: error: 'struct filedesc' has no member named 'fd_ofileflags'
|  dproc.c:320: error: 'struct filedesc' has no member named 'fd_ofileflags'

This is because there is an explicit test for 4.99.62 userland. Change
those to 58 and it will work. I was not sure when the cut was for struct fd.

christos


Home | Main Index | Thread Index | Old Index