From mi@kot.ne.mediaone.net Fri Nov 19 06:02:05 1999
Return-Path: <mi@kot.ne.mediaone.net>
Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190])
	by hub.freebsd.org (Postfix) with ESMTP id 4286914D0A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Nov 1999 06:02:02 -0800 (PST)
	(envelope-from mi@kot.ne.mediaone.net)
Received: from rtfm.newton (rtfm.newton [10.10.0.1])
	by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id JAA05805
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Nov 1999 09:02:01 -0500 (EST)
Received: (from mi@localhost)
	by rtfm.newton (8.9.3/8.9.3) id JAA85529;
	Fri, 19 Nov 1999 09:02:01 -0500 (EST)
	(envelope-from mi@kot.ne.mediaone.net)
Message-Id: <199911191402.JAA85529@rtfm.newton>
Date: Fri, 19 Nov 1999 09:02:01 -0500 (EST)
From: Mikhail Teterin <mi@kot.ne.mediaone.net>
Reply-To: mi@kot.ne.mediaone.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysutils/lsof does not build
X-Send-Pr-Version: 3.2

>Number:         14995
>Category:       ports
>Synopsis:       sysutils/lsof does not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 19 06:10:00 PST 1999
>Closed-Date:    Sat Jan 15 17:44:48 PST 2000
>Last-Modified:  Sat Jan 15 17:45:18 PST 2000
>Originator:     Mikhail Teterin
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

[...]
===>  Patching for lsof-4.46.1
===>  Applying FreeBSD patches for lsof-4.46.1
===>  Configuring for lsof-4.46.1
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c k
ernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile
ln -s dialects/freebsd/dlsof.h dlsof.h
ln -s dialects/freebsd/dmnt.c dmnt.c
ln -s dialects/freebsd/dnode.c dnode.c
ln -s dialects/freebsd/dnode1.c dnode1.c
ln -s dialects/freebsd/dproc.c dproc.c
ln -s dialects/freebsd/dproto.h dproto.h
ln -s dialects/freebsd/dsock.c dsock.c
ln -s dialects/freebsd/dstore.c dstore.c
ln -s dialects/freebsd/machine.h machine.h
Makefile and lib/Makefile created.
===>  Building for lsof-4.46.1
(cd lib; make DEBUG="-O2" CFGF="-fexpensive-optimizations -pipe ")
cc  -fexpensive-optimizations -pipe  -I/usr/include -I/usr/src/sys -O2 -c ckkv.c
In file included from ../lsof.h:167,
                 from ckkv.c:43:
../dlsof.h:91: ufs/quota.h: No such file or directory
../dlsof.h:92: ufs/inode.h: No such file or directory
../dlsof.h:93: ufs/ufsmount.h: No such file or directory
../dlsof.h:94: ufs/mfsnode.h: No such file or directory
In file included from ../lsof.h:167,
                 from ckkv.c:43:
../dlsof.h:129: sys/kinfo.h: No such file or directory
In file included from ../lsof.h:167,
                 from ckkv.c:43:
../dlsof.h:177: ufs/lockf.h: No such file or directory
In file included from ../dlsof.h:121,
                 from ../lsof.h:167,
                 from ckkv.c:43:
/usr/include/nfs/nfs.h:219: parse error before `NFSKERBKEY_T'
/usr/include/nfs/nfs.h:219: warning: no semicolon at end of struct or union
/usr/include/nfs/nfs.h:230: parse error before `NFSKERBKEY_T'
/usr/include/nfs/nfs.h:230: warning: no semicolon at end of struct or union
In file included from ../dlsof.h:193,
                 from ../lsof.h:167,
                 from ckkv.c:43:
/usr/include/vm/vm_map.h:158: field `vm_pmap' has incomplete type
In file included from ../lsof.h:746,
                 from ckkv.c:43:
../proto.h:175: warning: `struct inode' declared inside parameter list
../proto.h:175: warning: its scope is only this definition or declaration,
../proto.h:175: warning: which is probably not what you want.
*** Error code 1

Stop.
[...]

>How-To-Repeat:

	cd /usr/ports/sysutils/lsof
	make

>Fix:
	Debug it...	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sat Nov 20 16:22:01 PST 1999 
Responsible-Changed-Why:  
Over to maintainer 

From: Matt Behrens <matt@megaweapon.zigg.com>
To: freebsd-gnats-submit@freebsd.org, mi@kot.ne.mediaone.net
Cc: obrien@freebsd.org
Subject: Re: ports/14995: sysutils/lsof does not build
Date: Sun, 28 Nov 1999 09:08:39 -0500 (EST)

 I am unable to reproduce the build failure on my 3.3-STABLE system, recently
 cvsupped as of 26 November 1999.  However, I do think it's rather odd that the
 port is versioned ``4.46.1'' when the tarball is versioned ``4.47A''.
 
 If anyone else can confirm that the port builds fine I think this PR should be
 closed.
 
 

From: "David O'Brien" <obrien@NUXI.com>
To: Matt Behrens <matt@megaweapon.zigg.com>
Cc: freebsd-gnats-submit@freebsd.org, mi@kot.ne.mediaone.net
Subject: Re: ports/14995: sysutils/lsof does not build
Date: Sun, 28 Nov 1999 11:24:33 -0800

 On Sun, Nov 28, 1999 at 09:08:39AM -0500, Matt Behrens wrote:
 > However, I do think it's rather odd that the port is versioned
 > ``4.46.1'' when the tarball is versioned ``4.47A''.
 
 Yes, I agree.  But I do also think that versioning the port `4.47A', then
 possibly `4.47B', then `4.47C', etc... [which is possible with the
 author's versioning scheme, and has happened before]
 
 AND then finally `4.47' would be confusing.  If 'A' => alpha, and `B' =>
 beta, `G' => gamma; and that was all, I would match the port's version
 with the distfile.  However that is not the case.
 
 -- 
 -- David    (obrien@NUXI.com)
 

From: Matt Behrens <matt@zigg.com>
To: "David O'Brien" <obrien@NUXI.com>
Cc: freebsd-gnats-submit@freebsd.org, mi@kot.ne.mediaone.net
Subject: Re: ports/14995: sysutils/lsof does not build
Date: Sun, 28 Nov 1999 15:45:27 -0500 (EST)

 Today, David O'Brien wrote:
 
 : On Sun, Nov 28, 1999 at 09:08:39AM -0500, Matt Behrens wrote:
 : > However, I do think it's rather odd that the port is versioned
 : > ``4.46.1'' when the tarball is versioned ``4.47A''.
 : 
 : Yes, I agree.  But I do also think that versioning the port `4.47A', then
 : possibly `4.47B', then `4.47C', etc... [which is possible with the
 : author's versioning scheme, and has happened before]
 : 
 : AND then finally `4.47' would be confusing.  If 'A' => alpha, and `B' =>
 : beta, `G' => gamma; and that was all, I would match the port's version
 : with the distfile.  However that is not the case.
 
 Ahh, that makes more sense. :-)  Thanks for the explanation.
 
 Matt Behrens <matt@zigg.com>
 Owner/Administrator, zigg.com
 
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Sat Jan 15 17:44:48 PST 2000 
State-Changed-Why:  
I have been unable to reproduce this.  And the LSOF port is way pst version 
4.46 now. 
>Unformatted:
