pkgsrc-Bugs archive

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

pkg/47659: net/net-snmp hardware/cpu/cpu_sysctl.c: In function 'netsnmp_cpu_arch_load':



>Number:         47659
>Category:       pkg
>Synopsis:       net/net-snmp hardware/cpu/cpu_sysctl.c: In function 
>'netsnmp_cpu_arch_load':
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 17 02:30:01 +0000 2013
>Originator:     David Shao
>Release:        NetBSD 6.99.17 (GENERIC) amd64
>Organization:
>Environment:
NetBSD 6.99.17 (GENERIC) amd64
>Description:
Installing net/net-snmp from current pkgsrc results in error:

The supported build options for net-snmp are:

        inet6 perl snmp-nokmem snmp-unprived ssl

The currently selected options are:

        inet6 perl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.net-snmp (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
net-snmp-5.7.2.  Their current value is shown below:

        * NET_SNMP_MIBDIRS = 
\$HOME/.snmp/mibs:/usr/pkg/share/snmp/mibs:/usr/pkg/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs
        * NET_SNMP_PERSISTENTDIR = /var/net-snmp
        * NET_SNMP_SYS_CONTACT = default_user@contact.domain
        * NET_SNMP_SYS_LOCATION = defaultlocation
...
libtool: compile:  gcc -I../../include -I. -I../../agent -I../../agent/mibgroup 
-I../../snmplib -I/usr/pkgsrc/net/net-snmp/work/.buildlink/include 
-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -g -Dnetbsd1 -Unetbsd 
-Dnetbsd=netbsd -O2 -g -pthread -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/pkgsrc/net/net-snmp/work/.buildlink/lib/perl5/5.16.0/x86_64-netbsd-thread-multi/CORE
 -c hardware/cpu/cpu_sysctl.c  -fPIC -DPIC -o hardware/cpu/.libs/cpu_sysctl.o
hardware/cpu/cpu_sysctl.c: In function 'netsnmp_cpu_arch_load':
hardware/cpu/cpu_sysctl.c:171:27: error: storage size of 'mem_stats' isn't known
hardware/cpu/cpu_sysctl.c:173:39: error: invalid application of 'sizeof' to 
incomplete type 'struct uvmexp_sysctl' 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp/work/net-snmp-5.7.2/agent/mibgroup
*** Error code 1


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index