From nobody@FreeBSD.org  Sun Apr 13 12:15:38 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 6302C4FC
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2014 12:15:38 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 42E601888
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2014 12:15:38 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DCFcFv098654
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Apr 2014 12:15:38 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3DCFcpj098640;
	Sun, 13 Apr 2014 12:15:38 GMT
	(envelope-from nobody)
Message-Id: <201404131215.s3DCFcpj098640@cgiserv.freebsd.org>
Date: Sun, 13 Apr 2014 12:15:38 GMT
From: Matthias Fechner <idefix@fechner.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net-mgmt/net-snmp does not compile on 10-STABLE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188552
>Category:       ports
>Synopsis:       net-mgmt/net-snmp does not compile on 10-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    zi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 12:20:01 UTC 2014
>Closed-Date:    Sun Apr 20 19:00:20 UTC 2014
>Last-Modified:  Mon Apr 21 17:00:00 UTC 2014
>Originator:     Matthias Fechner
>Release:        10-STABLE
>Organization:
>Environment:
FreeBSD anny.lostinspace.de 10.0-STABLE FreeBSD 10.0-STABLE #3 r263676: Mon Mar 24 17:53:18 CET 2014     root@anny.lostinspace.de:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Compile the port breaks with error message:
/bin/sh ../../libtool --mode=compile cc -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib -I/usr/include   -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe -I/usr/local/include -D_WANT_IFADDR -fno-strict-aliasing -Ufreebsd10 -Dfreebsd10=freebsd10  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include  -I/usr/local/lib/perl5/5.18/mach/CORE -c -o mibII/route_write.lo mibII/route_write.c
libtool: compile:  cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe -I/usr/local/include -D_WANT_IFADDR -fno-strict-aliasing -Ufreebsd10 -Dfreebsd10=freebsd10 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.18/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.18/mach/CORE -c mibII/route_write.c  -fPIC -DPIC -o mibII/.libs/route_write.o
mibII/route_write.c:118:19: error: no member named 'rt_nodes' in 'struct ortentry'
    memcpy(&route.rt_dst, &dst, sizeof(struct sockaddr_in));
            ~~~~~ ^
mibII/route_write.c:76:16: note: expanded from macro 'rt_dst'
#define rt_dst rt_nodes->rn_key
               ^
mibII/route_write.c:123:11: error: no member named 'rt_pad1' in 'struct ortentry'
    route.rt_hash = iff;
    ~~~~~ ^
mibII/route_write.c:79:17: note: expanded from macro 'rt_hash'
#define rt_hash rt_pad1
                ^
mibII/route_write.c:208:19: error: no member named 'rt_nodes' in 'struct ortentry'
    memcpy(&route.rt_dst, &dst, sizeof(struct sockaddr_in));
            ~~~~~ ^
mibII/route_write.c:76:16: note: expanded from macro 'rt_dst'
#define rt_dst rt_nodes->rn_key
               ^
mibII/route_write.c:213:11: error: no member named 'rt_pad1' in 'struct ortentry'
    route.rt_hash = iff;
    ~~~~~ ^
mibII/route_write.c:79:17: note: expanded from macro 'rt_hash'
#define rt_hash rt_pad1
                ^
4 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent/mibgroup
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-mgmt/net-snmp
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/net-snmp

>How-To-Repeat:
Go to /usr/ports/net-mgmt/net-snmp and select the options in 'make config':
DUMMY
IPV6
PERL
PERL_EMBEDDED
SMUX
and execute make.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->zi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 13 12:20:04 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188552 
State-Changed-From-To: open->closed 
State-Changed-By: zi 
State-Changed-When: Sun Apr 20 19:00:19 UTC 2014 
State-Changed-Why:  
I cannot track STABLE and CURRENT.  For optimum results, please run a 
RELEASE. 

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

From: Ryan Steinmetz <zi@FreeBSD.org>
To: Matthias Fechner <idefix@fechner.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/188552: net-mgmt/net-snmp does not compile on 10-STABLE
Date: Sun, 20 Apr 2014 14:59:56 -0400

 This was caused by someone's changes to routing-related headers.  I
 recommend running RELEASE.
 
 It is possible that the issues have been resolved in STABLE, as I did
 see an email thread about the breakage a few weeks ago though.

From: Matthias Fechner <idefix@fechner.net>
To: Ryan Steinmetz <zi@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/188552: net-mgmt/net-snmp does not compile on 10-STABLE
Date: Mon, 21 Apr 2014 18:56:13 +0200

 Am 20.04.14 20:59, schrieb Ryan Steinmetz:
 > This was caused by someone's changes to routing-related headers.  I
 > recommend running RELEASE.
 > 
 > It is possible that the issues have been resolved in STABLE, as I did
 > see an email thread about the breakage a few weeks ago though.
 
 as the RELEASE has a bug that blocks it for me I had to use STABLE till
 the bug is fixed in RELEASE.
 I tried with the source from yesterday and there was indeed a fix.
 It compiles now without problems.
 
 Thanks.
 
 Gru,
 Matthias
 
 -- 
 "Programming today is a race between software engineers striving to
 build bigger and better idiot-proof programs, and the universe trying to
 produce bigger and better idiots. So far, the universe is winning." --
 Rich Cook
>Unformatted:
