From nobody@www.freebsd.org  Tue May 14 22:07:00 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 939C837B404
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2002 22:06:59 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4F56xhG064914
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2002 22:06:59 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4F56x4t064913;
	Tue, 14 May 2002 22:06:59 -0700 (PDT)
Message-Id: <200205150506.g4F56x4t064913@www.freebsd.org>
Date: Tue, 14 May 2002 22:06:59 -0700 (PDT)
From: Seth Hieronymus <sethh@principia.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/fam doesn't compile
X-Send-Pr-Version: www-1.0

>Number:         38098
>Category:       ports
>Synopsis:       devel/fam doesn't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 14 22:10:03 PDT 2002
>Closed-Date:    Sat Jun 08 12:05:28 PDT 2002
>Last-Modified:  Sat Jun 08 12:05:28 PDT 2002
>Originator:     Seth Hieronymus
>Release:        4.5 Stable (4.6 Pre)
>Organization:
>Environment:
FreeBSD hts7.hiertech.com 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Tue May 14 11:47:12 MDT 2002     root@hts7.hiertech.com:/usr/src/sys/compile/hts7  i386
>Description:
When building devel/fam, the makefile gets to the 'test' subdirectory, and dies.  Here is the script output:


Making all in test
gmake[2]: Entering directory `/usr/ports/devel/fam/work/fam-oss-2.6.4/test'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/
local/etc/fam.conf\"    -Wall -O -pipe -march=pentiumpro -fmemoize-lookups -fs
ave-memoized -c test.c++
test.c++:125: return type for `main' changed to `int'
test.c++: In function `int main(...)':
test.c++:142: warning: unused variable `int optind'
gmake[2]: *** [test.o] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/fam/work/fam-oss-2.6.4/test'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/fam/work/fam-oss-2.6.4'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/devel/fam.
      
>How-To-Repeat:
This was a clean install of KDE3, which died in fam.  Died while in the KDE3 build, and then in its own build when I was isolating the problem.      
>Fix:
I didn't see (in my brief look) where the error was error was in the code, other than the main() function.  I fixed it by excising the 'test' subdir from the patchfile and the makefiles... there is probably a better way.
>Release-Note:
>Audit-Trail:

From: "Seth Hieronymus" <sethh@principia.edu>
To: "Michael Wardle" <michael.wardle@adacel.com>
Cc: <bug-followup@FreeBSD.org>
Subject: Re: ports/38098: devel/fam doesn't compile
Date: Mon, 27 May 2002 08:28:27 -0600

 I think you are correct about the FAM bug 95.  I wasn't paying attention
 before, but the fix
 is easy, just changing the main() return type in test.c++ to int at line 122.
 
 Thanks for the look at the report.
 
 Seth Hieronymus
 
 ----- Original Message -----
 From: "Michael Wardle
 > I suspect this is related to FAM bug 95
 > http://oss.sgi.com/bugzilla/show_bug.cgi?id=95
 >
 > This issue was fixed some time ago, but the FreeBSD FAM port hasn't been
 > updated for a while.  I'm working with the FreeBSD FAM maintainer to
 > make a new release that's acceptable for FreeBSD so the port can be updated.
 >
 > Please inform me if the bug seems to be something other than a void
 > return type in test.c++ or file a bug on SGI's OSS Bugzilla with more
 > information.
 >
 > Thanks
 >
 > --
 > Michael Wardle
 >

From: ports@geeksrus.net
To: freebsd-gnats-submit@FreeBSD.org, sethh@principia.edu
Cc:  
Subject: Re: ports/38098: devel/fam doesn't compile
Date: Sat, 8 Jun 2002 01:48:55 -0400 (EDT)

 I will be releasing an update to fam-2.6.8 this weekend. 
 
 Please close this PR.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat Jun 8 12:03:34 PDT 2002 
State-Changed-Why:  
requested by maintainer 
he will upgrade to fam-2.6.8 this weekend 

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