From nakaji@ra333.heimat.gr.jp  Sat Jul  1 04:04:11 2006
Return-Path: <nakaji@ra333.heimat.gr.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BDACA16A407
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Jul 2006 04:04:11 +0000 (UTC)
	(envelope-from nakaji@ra333.heimat.gr.jp)
Received: from www.heimat.gr.jp (www.heimat.gr.jp [221.186.186.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0125D43D5F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Jul 2006 04:04:10 +0000 (GMT)
	(envelope-from nakaji@ra333.heimat.gr.jp)
Received: from ra333.heimat.gr.jp ([IPv6:2001:3e0:a84:0:200:4cff:fe17:573c])
	by www.heimat.gr.jp (8.13.6/8.13.6) with ESMTP id k61443l9092539
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 1 Jul 2006 13:04:03 +0900 (JST)
	(envelope-from nakaji@ra333.heimat.gr.jp)
Received: (from nakaji@localhost)
	by ra333.heimat.gr.jp (8.13.7/8.13.7/Submit) id k61442C4042152;
	Sat, 1 Jul 2006 13:04:03 +0900 (JST)
	(envelope-from nakaji)
Message-Id: <200607010404.k61442C4042152@ra333.heimat.gr.jp>
Date: Sat, 1 Jul 2006 13:04:03 +0900 (JST)
From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Reply-To: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sysutils/lsof cannot build on FreeBSD/pc98 7.0-current
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99668
>Category:       ports
>Synopsis:       sysutils/lsof cannot build on FreeBSD/pc98 7.0-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 01 04:10:18 GMT 2006
>Closed-Date:    Wed Jun 06 08:38:09 GMT 2007
>Last-Modified:  Wed Jun 06 08:38:09 GMT 2007
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 7.0-CURRENT pc98
>Organization:
>Environment:
System: FreeBSD ra333.heimat.gr.jp 7.0-CURRENT FreeBSD 7.0-CURRENT #30: Sat Jun 24 17:32:12 JST 2006 root@ra333.heimat.gr.jp:/usr/obj/usr/src/sys/RA333 pc98


>Description:
	Recent change on FreeBSD/pc98 caused the build error of
	sysutils/lsof.
	
	The Configure script in lsof just runs "grep"
	to check if sys/types.h or machine/_types.h has the definition
	of cpumask_t. The machine/_types.h on FreeBSD/pc98 now has
	only one line:

	#include <i386/_types.h>

	which does not pass the check of Configure, though
	FreeBSD/pc98 has cpumask_t.
	 
>How-To-Repeat:
	Prepare FreeBSD/pc98 7.0-CURRENT and execute following commands.

	cd /usr/ports/sysutils/lsof
	make

>Fix:

	To make files/patch-Configure was successful.

--- Configure.orig	Sat Jul  1 12:46:31 2006
+++ Configure	Sat Jul  1 12:49:06 2006
@@ -1577,7 +1577,7 @@
 	    grep -q cpumask_t ${LSOF_INCLUDE}/sys/types.h
 	    if test $? -eq 0	# {
 	    then
-	      grep -q __cpumask_t ${LSOF_INCLUDE}/machine/_types.h
+	      $LSOF_CC -E ${LSOF_INCLUDE}/machine/_types.h 2>/dev/null | grep -q __cpumask_t 
 	      if test $? -eq 0	# {
 	      then
 		LSOF_CFGF="$LSOF_CFGF -DHASCPUMASK_T"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jul 1 04:10:30 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 
Responsible-Changed-From-To: obrien->freebsd-ports-bugs 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Jun 4 09:17:13 UTC 2007 
Responsible-Changed-Why:  
obrien is no longer maintainer of this port 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org, nakaji@jp.freebsd.org, ler@lerctr.org
Cc:  
Subject: Re: ports/99668: sysutils/lsof cannot build on FreeBSD/pc98
	7.0-current
Date: Mon, 04 Jun 2007 11:18:52 +0200

 Dear maintainer of FreeBSD port sysutils/lsof, could you please review
 this old PR
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=99668
 
 and gave us directions on how to proceed resolving it?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 It's ten o'clock; do you know where your processes are?
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Mon Jun 4 09:23:11 UTC 2007 
State-Changed-Why:  
Asked for feedback 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Jun 4 09:23:11 UTC 2007 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 

From: "Larry Rosenman" <ler@lerctr.org>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: ports/99668 sysutils/lsof cannot build on FreeBSD/pc98 7.0- current
Date: Mon, 4 Jun 2007 10:00:51 -0500

 Notes from Vic Abell (lsof author):
 ---
 I believe that PR was addressed in the lsof 4.78 revision.  An additional
 __cpumask_t test, using cc -E and similar to what was suggested, was added
 to Configure.
 
 Please advise the reporter to read the "Bug Reports" section of the 00README
 file of the lsof distribution.  Following its steps will lead to a faster
 resolution of a problem report.  I think an lsof 4.78A distribution with the
 fix was available for a long time, although I don't think I was able to get
 David to install it.  I could have told the PR reporter of the 4.78A
 distribution if the "Bug Reports" steps had been followed.
 ---
 Please try the current port (4.79B), and let me know if the issue is not
 resolved.
 
 Thanks!
 
 -- 
 Larry Rosenman                     http://www.lerctr.org/~ler
 Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
 US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
 
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Wed Jun 6 08:06:27 UTC 2007 
State-Changed-Why:  
Feedback received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Wed Jun 6 08:06:40 UTC 2007 
State-Changed-Why:  
Dear submitter, 
can you verify if this is still a problem with recent versions of lsof port? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 

From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: Pav Lucistnik <pav@FreeBSD.org>, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/99668: sysutils/lsof cannot build on FreeBSD/pc98 7.0-current
Date: Wed, 06 Jun 2007 17:27:45 +0900

 The problem's gone. Thanks.
 
 I did not notice the update. Please close this PR.
 
 >>>>> In <200706060806.l5686sTY066269@freefall.freebsd.org> 
 >>>>>	Pav Lucistnik <pav@FreeBSD.org> wrote:
 > Synopsis: sysutils/lsof cannot build on FreeBSD/pc98 7.0-current
 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: pav
 > State-Changed-When: Wed Jun 6 08:06:40 UTC 2007
 > State-Changed-Why: 
 > Dear submitter,
 > can you verify if this is still a problem with recent versions of lsof port?
 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=99668
 
 
 -- 
 NAKAJI Hiroyuki
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Wed Jun 6 08:38:00 UTC 2007 
State-Changed-Why:  
Problem gone away 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99668 
>Unformatted:
