Subject: pkg/23017: pkgsrc/sysutils/fam mntent.h include nested too deeply
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 09/30/2003 12:19:04
>Number:         23017
>Category:       pkg
>Synopsis:       pkgsrc/sysutils/fam mntent.h include nested too deeply
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 19:20:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
sysutils/fam build failed with:
mntent.h:31:10: #include nested too deeply

In file included from mntent.h:31,
                 from mntent.h:31,
                 from mntent.h:31,
		... and around 195 times ...

This is cpp (GCC) 3.3.1 as installed from gcc3-c-3.3.1.
>How-To-Repeat:
	
>Fix:
patches/patch-ao provides fam/mntent.h which has:

#if defined(HAVE_MNTENT_H)
#include <mntent.h>
#else

It is reloading itself there.
>Release-Note:
>Audit-Trail:
>Unformatted: