Date: Mon, 21 Mar 2005 13:45:29 +0100 (CET) From: Lupe Christoph <lupe@lupe-christoph.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: "obrien@FreeBSD.org" <O'Brien@lupe-christoph.de> Subject: ports/79082: lsof 4.74 does not compile on RELENG_5_3 Message-ID: <20050321124529.E9BAC803E@vmw-freebsd5.lupe-christoph.de> Resent-Message-ID: <200503211250.j2LCo2aA044592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050321124529.E9BAC803E>