Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 2004 14:24:16 +0200 (CEST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obrien@FreeBSD.org
Subject:   ports/70818: [patch] upgrade sysutils/lsof (unbreak on -current)
Message-ID:  <200408221224.i7MCOG59005856@goanna.raisdorf.net>
Resent-Message-ID: <200408221230.i7MCUcfu037080@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70818
>Category:       ports
>Synopsis:       [patch] upgrade sysutils/lsof (unbreak on -current)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 22 12:30:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD goanna.raisdorf.net 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Thu Aug 19 22:28:24 CEST 2004 hscholz@goanna.raisdorf.net:/usr/cvs-src/sys/i386/compile/GOANNA i386

and

FreeBSD abc.123.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Aug 18 15:44:45 CEST 2004     admin@abc.123.org:/usr/obj/usr/src/sys/GENERIC  i386

	
>Description:

lsof doesn't compile on recent -current systems:

===>  Building for lsof-4.72.1
(cd lib; make DEBUG="-O" CFGF="-pipe -DFREEBSDV=2000 -DHAS9660FS -DHASIPv6 -DLSOF_VSTR=\"6.0-CURRENT\"")
cc  -pipe -DFREEBSDV=2000 -DHAS9660FS -DHASIPv6 -DLSOF_VSTR="6.0-CURRENT"  -O -c ckkv.c
In file included from ../lsof.h:181,
                 from ckkv.c:43:
../dlsof.h:149:29: ufs/mfs/mfsnode.h: No such file or directory
../dlsof.h:155:23: nfs/nfsv2.h: No such file or directory
../dlsof.h:168:21: nfs/nfs.h: No such file or directory
../dlsof.h:169:25: nfs/nfsnode.h: No such file or directory
In file included from ../dlsof.h:264,
                 from ../lsof.h:181,
                 from ckkv.c:43:
/usr/include/sys/eventvar.h:33:2: #error "no user-servicable parts inside"
In file included from ../dlsof.h:298,
                 from ../lsof.h:181,
                 from ckkv.c:43:
/usr/include/vm/vm_map.h:192: error: syntax error before "pmap_t"
/usr/include/vm/vm_map.h:236: error: field `vm_pmap' has incomplete type
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.73A.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.73A.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.

>How-To-Repeat:
	
>Fix:

There is a new version available. 00DIST in the tarball contains a note
that support for FreeBSD 6.0 has been added.

	

--- lsof-4.73B.diff begins here ---
--- Makefile.orig	Sun Aug 22 10:46:01 2004
+++ Makefile	Sun Aug 22 10:57:19 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	lsof
-PORTVERSION=	4.72.1
+PORTVERSION=	4.72.2
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  \
 		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -24,7 +24,7 @@
 		ftp://ftp.tau.ac.il/pub/unix/admin/
 FIXUP_RELEASE=	yes
 .if defined(FIXUP_RELEASE)
-DISTNAME=	${PORTNAME}_4.73A.freebsd
+DISTNAME=	${PORTNAME}_4.73B.freebsd
 .else
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 .endif
--- distinfo.orig	Sun Aug 22 10:46:08 2004
+++ distinfo	Sun Aug 22 10:57:21 2004
@@ -1,2 +1,2 @@
-MD5 (lsof_4.73A.freebsd.tar.bz2) = 504b7f22d7571f3dd6c48fe080ed22ee
-SIZE (lsof_4.73A.freebsd.tar.bz2) = 437860
+MD5 (lsof_4.73B.freebsd.tar.bz2) = d07780cac21af71d6b81406830981607
+SIZE (lsof_4.73B.freebsd.tar.bz2) = 438789
--- lsof-4.73B.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408221224.i7MCOG59005856>