ports/188552: net-mgmt/net-snmp does not compile on 10-STABLE
Matthias Fechner
idefix at fechner.net
Sun Apr 13 12:20:01 UTC 2014
>Number: 188552
>Category: ports
>Synopsis: net-mgmt/net-snmp does not compile on 10-STABLE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 13 12:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list