Subject: pkg/36686: lsof broken in i386-current (4.99.25)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <htodd@twofifty.com>
List: pkgsrc-bugs
Date: 07/23/2007 22:25:00
>Number:         36686
>Category:       pkg
>Synopsis:       lsof broken in i386-current (4.99.25)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 23 22:25:00 +0000 2007
>Originator:     H. Todd Fujinaka
>Release:        NetBSD 4.99.25
>Organization:
None
>Environment:
	
	
System: NetBSD kerry.i8u.org 4.99.25 NetBSD 4.99.25 (KERRY) #951: Sun Jul 22 17:13:39 PDT 2007 htodd@kerry.i8u.org:/var/obj/sys/arch/i386/compile.i386/KERRY i386
Architecture: i386
Machine: i386
>Description:
	
I think MFSNAMELEN is gone.

Here's where the build breaks: 
cc -O2  -DNETBSDV=1006000 -DHASGETBOOTFILE -DHASKVMGETPROC2 -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHASPROCFS_PFSROOT -DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS -DHASKERNFS_KFS_KT -DHASI_FFS1 -DHASEFFNLINK=i_ffs_effnlink -DHASEXT2FS -DHASI_E2FS_PTR -DHASLFS -DHASPTYFS -DHASNFSVATTRP -DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHASCWDINFO -DHAS_SYS_PIPEH -DHASSTATVFS -DUVM -I/var/obj/pkg/sysutils/lsof/work.i386/lsof_4.78/lsof_4.78_src/dialects/n+obsd/include -DHAS_UVM_INCL -DLSOF_VSTR="4.99.25"  -O -DLSOF_MORE_SECURE=0 -DLSOF_LESS_SECURE_SOCKETS=0 -c dvch.c
In file included from ../lsof.h:191,
                 from dvch.c:43:
../dlsof.h:492: error: 'MFSNAMELEN' undeclared here (not in a function)
*** Error code 1

>How-To-Repeat:
cd pkgsrc/sysutils/lsof; make
	
>Fix:
	

>Unformatted:
 MFSNAMELEN is still used in dlsof.h