From owner-freebsd-ports@FreeBSD.ORG Mon Feb 18 15:12:48 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7275916A49C for ; Mon, 18 Feb 2008 15:12:48 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 546BC13C4DD for ; Mon, 18 Feb 2008 15:12:48 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id DD3085C5C; Mon, 18 Feb 2008 10:15:13 -0500 (EST) Date: Mon, 18 Feb 2008 10:15:13 -0500 From: Wesley Shields To: James Message-ID: <20080218151513.GE90004@atarininja.org> References: <1203298778.6223.10.camel@pclmills> <1203346933.5865.6.camel@pclmills> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1203346933.5865.6.camel@pclmills> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Helmut Schneider , freebsd-ports@freebsd.org Subject: Re: ntop does not compile on 7.0-RC2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 15:12:48 -0000 On Mon, Feb 18, 2008 at 08:02:13AM -0700, James wrote: > > On Mon, 2008-02-18 at 11:18 +0100, Helmut Schneider wrote: > > James wrote: > > > > > > On Sun, 2008-02-17 at 17:20 +0100, Helmut Schneider wrote: > > >> Hi, > > >> > > >> ntop stops with: > > >> [...] > > >> 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. > > >> > > >> Bug or a local problem? > > >> > > > Local problem. > > > > > > I don'thave a net-snmp directory installed; looks like some library > > > there is clobbering a needed definition. > > > > Indeed, net-snmp breaks ntop. I removed net-snmp and ntop compiles fine. > > Installed net-snmp and rebuilded ntop, fails. > > > > What should I do now, report the maintainer of ntop and/or net-snmp? > > > > Sounds like an entirely reasonable course of action. The maintainers' > email addresses ought to be in the Makefile for each port. That would be me. :) > I imagine it's the ntop person you want to report to. If other ports > install fine, then net-snmp is also (probably) installing as it should > and the ntop Makefile just needs to be tweaked. I'll look into this, but any relevant information should be submitted as a PR so there is a more permanent record of it. I'll go about getting it fixed as time permits. Thank you for bringing this to my attention. :) -- WXS