ports/158266: net-mgmt/net-snmp: cannot build a port on -CURRENT
Alexander Shikov
minotaur at itcons.net.ua
Fri Jun 24 19:00:24 UTC 2011
>Number: 158266
>Category: ports
>Synopsis: net-mgmt/net-snmp: cannot build a port on -CURRENT
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 24 19:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alexander Shikov
>Release: FreeBSD 9.0-CURRENT i386
>Organization:
IT Consulting LLC
>Environment:
FreeBSD newnoc.itcons.net.ua 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Jun 22 16:32:50 EEST 2011 root at newnoc.itcons.net.ua:/usr/obj/usr/src/sys/NOC i386
net-snmp-5.5_4
>Description:
I cannot build net-mgmt/net-snmp (cvsuped on 24th of June) on 9.0-CURRENT:
===> Building for net-snmp-5.5_4
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/agent/helpers
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/agent/mibgroup
/bin/sh ../../libtool --mode=compile cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include -O2 -pipe -fno-strict-aliasing -Ufreebsd9 -Dfreebsd9=freebsd9 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.3/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.12.3/mach/CORE -c -o mibII/tcpTable.lo mibII/tcpTable.c
libtool: compile: cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include -O2 -pipe -fno-strict-aliasing -Ufreebsd9 -Dfreebsd9=freebsd9 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.12.3/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.12.3/mach/CORE -c mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.o
mibII/tcpTable.c:94: error: field 'pcb' has incomplete type
mibII/tcpTable.c: In function 'tcpTable_load':
mibII/tcpTable.c:866: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:868: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:868: error: invalid application of 'sizeof' to incomplete type 'struct xinpgen'
mibII/tcpTable.c:872: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:876: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:877: error: invalid application of 'sizeof' to incomplete type 'struct inpcb'
mibII/tcpTable.c:881: error: dereferencing pointer to incomplete type
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/agent/mibgroup.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5/agent.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.5.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
Enabling/disabling IPv6 support in build options menu does not affect the process: building stops in either cases.
>How-To-Repeat:
1. Update ports tree
2. cd /usr/ports/net-mgmt/net-snmp/
3. make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list