From jamie@bishopston.net  Sat May 22 15:32:48 2010
Return-Path: <jamie@bishopston.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6CD4C106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 May 2010 15:32:48 +0000 (UTC)
	(envelope-from jamie@bishopston.net)
Received: from pacha.mail.bishopston.net (pacha.mail.bishopston.net [IPv6:2001:5c0:1100:200::3])
	by mx1.freebsd.org (Postfix) with ESMTP id 0A5028FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 May 2010 15:32:47 +0000 (UTC)
Received: from catflap.bishopston.net (jamie@localhost [127.0.0.1])
	by catflap.bishopston.net (8.14.4/8.14.3) with ESMTP id o4MFWk26031373;
	Sat, 22 May 2010 16:32:46 +0100 (BST)
	(envelope-from jamie@catflap.bishopston.net)
Received: (from jamie@localhost)
	by catflap.bishopston.net (8.14.4/8.12.9/Submit) id o4MFWk8p031367;
	Sat, 22 May 2010 16:32:46 +0100 (BST)
Message-Id: <201005221532.o4MFWk8p031367@catflap.bishopston.net>
Date: Sat, 22 May 2010 16:32:46 +0100 (BST)
From: Jamie Landeg Jones <jamie@bishopston.net>
Reply-To: Jamie Landeg Jones <jamie@bishopston.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ben@wanderview.com
Subject: ifmcstat fails to build without KVM and with INET6 (FIX INCLUDED)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146835
>Category:       bin
>Synopsis:       [patch] ifmcstat(8) fails to build without KVM and with INET6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 15:40:01 UTC 2010
>Closed-Date:    
>Last-Modified:  Sat May 22 16:41:08 UTC 2010
>Originator:     Jamie Landeg Jones
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
http://www.bishopston.com/jamie/
>Environment:
System: FreeBSD catflap.bishopston.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri May 21 20:22:35 BST 2010 root@catflap.bishopston.net:/usr/obj/usr/src/sys/CATFLAP i386


	
>Description:

This was reported to the list as being a problem in head. I'm also getting the same problem
with *default release=cvs tag=RELENG_8.

P.S. Thanks Ben for this post, I'm turning it into a PR

 | From ben at wanderview.com  Sun Nov  1 17:51:44 2009
 | From: ben at wanderview.com (Ben Kelly)
 | Date: Sun Nov  1 17:51:50 2009
 | Subject: ifmcstat fails to build without KVM and with INET6
 | Message-ID: <92BA99AC-E038-44F4-A443-91FF5AA2968F@wanderview.com>
 | 
 | Hello all,
 | 
 | I'm having difficulty compiling a freshly updated checkout of head  
 | using WITHOUT_KVM src.conf.  The error is in src/usr.sbin/ifmcstat/ 
 | ifmcstat.c.  It appears the problem is due to the in6_ifinfo()  
 | function definition being incorrectly under an #ifdef WITH_KVM  
 | section.  I was able to fix the problem with the attached patch.
 | 
 | Just FYI in case anyone else hits this problem.
 | 
 | - Ben


>How-To-Repeat:
	Build world with WITHOUT_KVM in /etc/src.conf
>Fix:

Bens working patch is here: http://lists.freebsd.org/pipermail/freebsd-current/attachments/20091101/40848244/ifmcstat.obj

	


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