pkgsrc-Bugs archive

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

pkg/45474: net/net-snmp broken on DragonFly BSD



>Number:         45474
>Category:       pkg
>Synopsis:       net/net-snmp broken on DragonFly BSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 04:15:01 +0000 2011
>Originator:     Samuel J. Greear
>Release:        
>Organization:
DragonFly BSD
>Environment:
DragonFly v2.13.0.14.g01c78-DEVELOPMENT #0: Sun Oct  9 22:01:03 MDT 2011     
sjg%df.thesjg.com@localhost:/usr/obj/usr/src/sys/DEV
>Description:
FreeBSD added Interface Media Tokens which DragonFly BSD does not support,  so 
the build of net-snmp breaks on DragonFly BSD.

if-mib/data_access/interface_sysctl.c: In function 
'netsnmp_sysctl_ifmedia_to_speed':
if-mib/data_access/interface_sysctl.c:190: error: 'IFM_TOKEN' undeclared (first 
use in this function)
if-mib/data_access/interface_sysctl.c:190: error: (Each undeclared identifier 
is reported only once
if-mib/data_access/interface_sysctl.c:190: error: for each function it appears 
in.)
if-mib/data_access/interface_sysctl.c:192: error: 'IFM_TOK_STP4' undeclared 
(first use in this function)
if-mib/data_access/interface_sysctl.c:193: error: 'IFM_TOK_UTP4' undeclared 
(first use in this function)
if-mib/data_access/interface_sysctl.c:197: error: 'IFM_TOK_STP16' undeclared 
(first use in this function)
if-mib/data_access/interface_sysctl.c:198: error: 'IFM_TOK_UTP16' undeclared 
(first use in this function)
if-mib/data_access/interface_sysctl.c: In function 
'netsnmp_arch_interface_container_load':
if-mib/data_access/interface_sysctl.c:459: warning: right shift count >= width 
of type
if-mib/data_access/interface_sysctl.c:461: warning: right shift count >= width 
of type
if-mib/data_access/interface_sysctl.c:463: warning: right shift count >= width 
of type
if-mib/data_access/interface_sysctl.c:469: warning: right shift count >= width 
of type
if-mib/data_access/interface_sysctl.c:471: warning: right shift count >= width 
of type
if-mib/data_access/interface_sysctl.c:473: warning: right shift count >= width 
of type
*** Error code 1

Stop.
bmake: stopped in /tmp/net/net-snmp/work/net-snmp-5.6.1.1/agent/mibgroup
>How-To-Repeat:

>Fix:
Apply the patch at the following URL: 
http://evilprojects.net/dragonflybsd/pkgsrc/net-snmp.patch to the net-snmp 
directory.



Home | Main Index | Thread Index | Old Index