Solved net-mgmt/net-snmp error on build

Is this new? Can't find anything about it in the normal places.

FreeBSD 10-STABLE. Using ports-mgmt/poudriere to build packages after an svn update of my ports tree. net/net-snmp is pulled in by net-mgmt/nagios.

Started a few weeks ago. Waited, updated ports again, still here. Was hoping it was just a temporary issue, but still here.

Code:
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[3]: stopped in /wrkdirs/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent/mibgroup
*** Error code 1

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

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

Stop.
make: stopped in /usr/ports/net-mgmt/net-snmp
===>  Cleaning for net-snmp-5.7.2_16
build of /usr/ports/net-mgmt/net-snmp ended at Sat Oct 25 09:23:53 PDT 2014
build time: 00:01:02


There's a bit in /usr/ports/UPDATING about net/net-snmp, but it's old and unrelated?

Code:
20120404:
  AFFECTS: users of net-mgmt/net-snmp
  AUTHOR: zi@FreeBSD.org

  The net-snmp startup script now specifies a new pid_file to avoid a
  conflict that existed with bsnmpd.  As a result, the startup script
  cannot find currently running versions of snmpd.

  You will need to either stop the daemon before upgrading or locate the
  PID of snmpd and manually kill it after upgrade.  Then, start the daemon
  as you normally would.
 
I
Code:
[root@backup1] ~# uname -a
FreeBSD backup1.int.autonlab.org 10.0-RELEASE-p15 FreeBSD 10.0-RELEASE-p15 #3 bde22ec(releng/10.0): Fri Aug  1 03:19:22 EDT 2014     root@avenger:/usr/obj/root/pcbsd-build-10.0-EDGE/git/freebsd/sys/GENERIC  amd64

Code:
[root@backup1] ~# pkg info net-snmp
net-snmp-5.7.2_16
Name  : net-snmp
Version  : 5.7.2_16
Installed on  : Fri Oct 10 19:41:06 UTC 2014
Origin  : net-mgmt/net-snmp
Architecture  : freebsd:10:x86:64
Prefix  : /usr/local
Categories  : net-mgmt ipv6
Licenses  : BSD3CLAUSE
Maintainer  : zi@FreeBSD.org
WWW  : http://net-snmp.sourceforge.net/
Comment  : Extendable SNMP implementation
 
Code:
Options        :
        AX_SOCKONLY    : off
        DMALLOC        : off
        DOCS           : on
        DUMMY          : on
        IPV6           : on
        MFD_REWRITES   : off
        MYSQL          : off
        PERL           : on
        PERL_EMBEDDED  : on
        PYTHON         : off
        SMUX           : on
        TKMIB          : off
        UNPRIVILEGED   : off
 
Back
Top