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)



The following reply was made to PR pkg/38515; it has been noted by GNATS.

From: Bernd Ernesti <pr200803%veego.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/38515 (sysutils/lsof doesn't build on NetBSD>=4.99.56)
Date: Fri, 23 May 2008 22:04:44 +0200

 On Fri, May 23, 2008 at 07:00:05PM +0000, Tobias Nygren wrote:
 >  On Fri, 23 May 2008 18:20:01 +0000 (UTC)
 >  Alan Barrett <apb%cequrux.com@localhost> wrote:
 [..]
 
 >  >  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'
 >  >  
 >  >  --apb (Alan Barrett)
 >  >  
 >  
 >  I tested it on 4.99.62 userland before I closed the ticket,
 >  and it works on today's userland.
 
 Thats because Christos didn't use the correct __NetBSD_Version__ number
 when he made the changes. He always used 499006200, which is wrong.
 
 At least some of these changes should have been hidden with:
 499005000
 499005200
 Maybe some other values are needed too, but -current is too unstable
 to update right now.
 
 But thats what happens when the pr's where not checked and just closed.
 
 Bernd
 


Home | Main Index | Thread Index | Old Index