From nobody@FreeBSD.org  Mon Feb 18 15:46:21 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DA4EE16A418
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 15:46:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CC42813C43E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 15:46:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1IFhr55091033
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 15:43:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1IFhrkU091032;
	Mon, 18 Feb 2008 15:43:53 GMT
	(envelope-from nobody)
Message-Id: <200802181543.m1IFhrkU091032@www.freebsd.org>
Date: Mon, 18 Feb 2008 15:43:53 GMT
From: Helmut Schneider <jumper99@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net-snmp net-snmp-5.3.2_1 breaks ntop 3.3 on 7.0-RC2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120793
>Category:       ports
>Synopsis:       net-mgmt/net-snmp: net-snmp net-snmp-5.3.2_1 breaks ntop 3.3 on 7.0-RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 18 15:50:02 UTC 2008
>Closed-Date:    Sun Mar 02 16:35:41 UTC 2008
>Last-Modified:  Sun Mar  2 16:40:01 UTC 2008
>Originator:     Helmut Schneider
>Release:        FreeBSD 7.0-RC2
>Organization:
>Environment:
FreeBSD FBSD70VM.charlieroot.de 7.0-RC2 FreeBSD 7.0-RC2 #1: Sat Feb 16 15:06:05 UTC 2008     root@FBSD70VM.charlieroot.de:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The existence of net-snmp breaks installation of ntop. See discussion at ports@freebsd.org:
news:fp9mtb$cfp$1@ger.gmane.org

        then mv -f ".deps/iface.Tpo" ".deps/iface.Plo"; else rm -f 
".deps/iface.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr -I/usr/include -DINET6 -O2 -Dfreebsd7 
 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/lib/perl5/5.8.8/mach/CORE 
 -I. -I/usr/local/include -DFREEBSD -I/usr/local/include -I/usr/local/include 
 -I/usr/include -g -O2 -fno-strict-aliasing -pipe -I/usr/local/include -g -Wshadow 
 -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
 -fPIC -DPIC -MT iface.lo -MD -MP -MF .deps/iface.Tpo -c 
iface.c  -fPIC -DPIC -o .libs/iface.o
In file included from /usr/local/include/net-snmp/utilities.h:54,
                 from /usr/local/include/net-snmp/net-snmp-includes.h:78,
                 from iface.c:766:
/usr/local/include/net-snmp/library/container.h: In function 
'CONTAINER_FREE':
/usr/local/include/net-snmp/library/container.h:416: error: lvalue required 
as left operand of assignment
In file included from /usr/local/include/net-snmp/mib_api.h:24,
                 from /usr/local/include/net-snmp/net-snmp-includes.h:81,
                 from iface.c:766:
/usr/local/include/net-snmp/library/parse.h:32:1: warning: "MAXLABEL" 
redefined
In file included from /usr/include/arpa/nameser.h:579,
                 from ntop.h:321,
                 from iface.c:26:
/usr/include/arpa/nameser_compat.h:104:1: warning: this is the location of 
the previous definition
gmake[2]: *** [iface.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-3.3'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-3.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/ntop.
*** Error code 1

Stop in /usr/ports/net/ntop.

>How-To-Repeat:
Install net-snmp from ports. The try to install ntop from ports.
>Fix:
First install ntop, then net-snmp.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Feb 18 16:20:37 UTC 2008 
Responsible-Changed-Why:  
Make this a ports PR and reassign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120793 
Responsible-Changed-From-To: freebsd-ports-bugs->kuriyama 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 19 10:57:20 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120793 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Sun Mar 2 16:35:39 UTC 2008 
State-Changed-Why:  
Fixed by disabling SNMP support (which is supposed to be disabled by 
default) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120793: commit references a PR
Date: Sun,  2 Mar 2008 16:34:59 +0000 (UTC)

 wxs         2008-03-02 16:34:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/ntop             Makefile 
   Log:
   Explicitly disable SNMP which breaks the build when net-mgmt/net-snmp is installed on 7.0.
   
   PR:             ports/120793
   Submitted by:   Helmut Schneider <jumper99@gmx.de>
   Approved by:    garga (mentor)
   
   Revision  Changes    Path
   1.66      +3 -2      ports/net/ntop/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
