Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 21:35:18 GMT
From:      Tolstoy@FreeBSD.org, Theodore <fileaholic@i.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/132787: 'net-mgmt/net-snmp' does not build
Message-ID:  <200903182135.n2ILZIuB043777@www.freebsd.org>
Resent-Message-ID: <200903182140.n2ILe3lS075824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132787
>Category:       ports
>Synopsis:       'net-mgmt/net-snmp' does not build
>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:   Wed Mar 18 21:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tolstoy, Theodore
>Release:        FreeBSD 7.0-CURRENT-200701
>Organization:
National University of Shipbuilding
>Environment:
FreeBSD cs2.nuos.edu.ua 7.0-CURRENT-200701 FreeBSD 7.0-CURRENT-200701 #1: Thu Apr 19 14:05:23 UTC 2007     root@cs2.nuos.edu.ua:/usr/src/sys/i386/compile/TVT  i386

>Description:
After having upgraded PERL 5.8.8 and portupgraded it to PERL 5.8.9 (with thread support). I also had to rebuild NET-SNMP, but it failed with thr following errors.

===========================================================
[xxx@yyy /usr/ports/net-mgmt/net-snmp]$ sudo make
===>  Building for net-snmp-5.4.2.1_3
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup
/bin/sh ../../libtool --mode=compile cc -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib   -DNETSNMP_ENABLE_IPV6 -O2 -fno-strict-aliasing -pipe -Ufreebsd7 -Dfreebsd7=freebsd7  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include  -I/usr/local/lib/perl5/5.8.9/mach/CORE -c -o sctp-mib/sctpTables_freebsd.lo sctp-mib/sctpTables_freebsd.c
 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -DNETSNMP_ENABLE_IPV6 -O2 -fno-strict-aliasing -pipe -Ufreebsd7 -Dfreebsd7=freebsd7 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -c sctp-mib/sctpTables_freebsd.c  -fPIC -DPIC -o sctp-mib/.libs/sctpTables_freebsd.o
sctp-mib/sctpTables_freebsd.c: In function `parse_assoc_local_addresses':
sctp-mib/sctpTables_freebsd.c:49: error: structure has no member named `start_time'
sctp-mib/sctpTables_freebsd.c: In function `parse_assoc_xstcb':
sctp-mib/sctpTables_freebsd.c:97: error: structure has no member named `heartbeat_interval'
sctp-mib/sctpTables_freebsd.c:99: error: structure has no member named `primary_process'
sctp-mib/sctpTables_freebsd.c:100: error: structure has no member named `local_port'
sctp-mib/sctpTables_freebsd.c:102: error: structure has no member named `heartbeat_interval'
sctp-mib/sctpTables_freebsd.c:103: error: structure has no member named `in_streams'
sctp-mib/sctpTables_freebsd.c:104: error: structure has no member named `out_streams'
sctp-mib/sctpTables_freebsd.c:105: error: structure has no member named `max_nr_retrans'
sctp-mib/sctpTables_freebsd.c:106: error: structure has no member named `T1_expireries'
sctp-mib/sctpTables_freebsd.c:107: error: structure has no member named `retransmitted_tsns'
sctp-mib/sctpTables_freebsd.c:108: error: structure has no member named `T2_expireries'
sctp-mib/sctpTables_freebsd.c:111: error: structure has no member named `discontinuity_time'
sctp-mib/sctpTables_freebsd.c:112: error: structure has no member named `start_time'
sctp-mib/sctpTables_freebsd.c: In function `parse_remaddr_xraddr':
sctp-mib/sctpTables_freebsd.c:138: error: structure has no member named `active'
sctp-mib/sctpTables_freebsd.c:143: error: structure has no member named `heartbeat_enabled'
sctp-mib/sctpTables_freebsd.c:148: error: structure has no member named `rto'
sctp-mib/sctpTables_freebsd.c:149: error: structure has no member named `max_path_rtx'
sctp-mib/sctpTables_freebsd.c:150: error: structure has no member named `rtx'
sctp-mib/sctpTables_freebsd.c:151: error: structure has no member named `start_time'
sctp-mib/sctpTables_freebsd.c: In function `sctpTables_arch_load':
sctp-mib/sctpTables_freebsd.c:214: error: structure has no member named `last'
sctp-mib/sctpTables_freebsd.c:221: error: structure has no member named `last'
sctp-mib/sctpTables_freebsd.c:227: error: structure has no member named `last'
sctp-mib/sctpTables_freebsd.c:236: error: structure has no member named `last'
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
=============================================================

>How-To-Repeat:
1. Deinstall net-snmp.

2. Update ports to the state on 15/03/2009. (Maybe evet to the latest state)

3. Upgrade PERL 5.8.8 to PERL 5.8.9. I've done it with portupgrade and choosed thread support).

4. Try to rebuild NET-SNMP from ports and watch how it fail.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903182135.n2ILZIuB043777>