pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43660: net-snmp fails to build with netbsd-4



>Number:         43660
>Category:       pkg
>Synopsis:       net-snmp fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 24 14:05:00 +0000 2010
>Originator:     Michael van Elst
>Release:        NetBSD 4.0_STABLE
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
>Environment:
        
        
System: NetBSD henery 4.0_STABLE NetBSD 4.0_STABLE (HENERY) #31: Wed Jul 21 
08:58:21 CEST 2010 
mlelstv@henery:/home/netbsd4/obj.i386/home/netbsd4/src/sys/arch/i386/compile/HENERY
 i386
Architecture: i386
Machine: i386
>Description:
Building the net-snmp package from pkgsrc HEAD on netbsd-4 fails with:

libtool: compile:  cc -I../../include -I. -I../../agent -I../../agent/mibgroup -
I../../snmplib -I/pkg_comp/obj/pkgsrc/net/net-snmp/build_pkgs/.buildlink/include
 -DNETSNMP_ENABLE_IPV6 -O2 -Dnetbsd1 -Unetbsdelf -Dnetbsdelf=netbsdelf -fno-stri
ct-aliasing -pipe -fstack-protector -I/pkg_comp/obj/pkgsrc/net/net-snmp/build_pk
gs/.buildlink/lib/perl5/5.10.0/i386-netbsd-thread-multi/CORE -c mibII/ip.c  -fPI
C -DPIC -o mibII/.libs/ip.o
mibII/ip.c: In function 'ip_handler':
mibII/ip.c:296: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:300: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:304: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:307: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:310: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:313: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:316: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:319: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:322: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:325: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:328: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:331: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:334: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:338: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:341: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:344: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:347: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:350: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:353: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c:356: error: invalid use of undefined type 'struct ip_mib'
mibII/ip.c: In function 'ip_free':
mibII/ip.c:987: error: invalid application of 'sizeof' to incomplete type 'struc
t ip_mib'


>How-To-Repeat:
Try to build net-snmp from HEAD. The issue is most probably

revision 1.55
date: 2010/05/11 04:39:54;  author: adam;  state: Exp;  lines: +10 -1
Added patches, courtesy of Mike Bowie:
* Address changes in sysctl() storage, which has yielded values such as
  IP-MIB::ipForwarding.0 invalid.
* RAM reporting on 64-bit systems.

But I haven't verified this yet.

>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index