ports/79082: lsof 4.74 does not compile on RELENG_5_3

Lupe Christoph lupe at lupe-christoph.de
Mon Mar 21 12:50:03 UTC 2005


>Number:         79082
>Category:       ports
>Synopsis:       lsof 4.74 does not compile on RELENG_5_3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 21 12:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lupe Christoph
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vmw-freebsd5.lupe-christoph.de 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Nov 7 16:52:12 CET 2004 lupe at vmw-freebsd5.lupe-christoph.de:/usr/obj/usr/src/sys/GENERIC i386


	FreeBSD 5.3, updated to RELENG_5_3
>Description:
	lsof fails to compile:

	===>  Building for lsof-4.74
	(cd lib; make DEBUG="-O" CFGF="-pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DFREEBSDV=5030 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DLSOF_VSTR=\"5.3-RELEASE\"")
	cc  -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DFREEBSDV=5030 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DLSOF_VSTR="5.3-RELEASE" -I/usr/src/sys -O -c rnmh.c
	rnmh.c: In function `ncache_isroot':
	rnmh.c:241: error: storage size of 'v' isn't known
	*** Error code 1

	Stop in /usr/ports/sysutils/lsof/work/lsof_4.74/lsof_4.74_src/lib.
	*** Error code 1

	Stop in /usr/ports/sysutils/lsof/work/lsof_4.74/lsof_4.74_src.
	*** Error code 1

	Stop in /usr/ports/sysutils/lsof.

	The reason is a change that went into /usr/src/sys/sys/vnode.h with
	change 1.245:

	+#if defined(_KERNEL) || defined(_KVM_VNODE)

	This drops the definition of struct vnode. Strangely the CVS comment
	does not mention this #if at all.
>How-To-Repeat:
	On a machine running RELENG_5_3:
	cd /usr/ports/sysutils/lsof
	make
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list