pkgsrc-Bugs archive

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

pkg/56508: zabbix needs adapting for NetBSD/current



>Number:         56508
>Category:       pkg
>Synopsis:       zabbix needs adapting for NetBSD/current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 18 13:50:01 +0000 2021
>Originator:     nia
>Release:        current
>Organization:
The NetBSD Foundation
>Environment:
>Description:
struct ifnet has changed.

net.c: In function 'get_ifdata':
net.c:112:19: error: 'struct ifnet' has no member named 'if_ibytes'
  112 |       *ibytes += v.if_ibytes;
      |                   ^
net.c:114:21: error: 'struct ifnet' has no member named 'if_ipackets'
  114 |       *ipackets += v.if_ipackets;
      |                     ^
net.c:116:20: error: 'struct ifnet' has no member named 'if_ierrors'
  116 |       *ierrors += v.if_ierrors;
      |                    ^
net.c:118:21: error: 'struct ifnet' has no member named 'if_iqdrops'
  118 |       *idropped += v.if_iqdrops;
      |                     ^
net.c:120:19: error: 'struct ifnet' has no member named 'if_obytes'
  120 |       *obytes += v.if_obytes;
      |                   ^
net.c:122:21: error: 'struct ifnet' has no member named 'if_opackets'
  122 |       *opackets += v.if_opackets;
      |                     ^
net.c:124:20: error: 'struct ifnet' has no member named 'if_oerrors'
  124 |       *oerrors += v.if_oerrors;
      |                    ^
net.c:126:19: error: 'struct ifnet' has no member named 'if_ibytes'
  126 |       *tbytes += v.if_ibytes + v.if_obytes;
      |                   ^
net.c:126:33: error: 'struct ifnet' has no member named 'if_obytes'
  126 |       *tbytes += v.if_ibytes + v.if_obytes;
      |                                 ^
net.c:128:21: error: 'struct ifnet' has no member named 'if_ipackets'
  128 |       *tpackets += v.if_ipackets + v.if_opackets;
      |                     ^
net.c:128:37: error: 'struct ifnet' has no member named 'if_opackets'
  128 |       *tpackets += v.if_ipackets + v.if_opackets;
      |                                     ^
net.c:130:20: error: 'struct ifnet' has no member named 'if_ierrors'
  130 |       *terrors += v.if_ierrors + v.if_oerrors;
      |                    ^
net.c:130:35: error: 'struct ifnet' has no member named 'if_oerrors'
  130 |       *terrors += v.if_ierrors + v.if_oerrors;
      |                                   ^
net.c:132:24: error: 'struct ifnet' has no member named 'if_collisions'
  132 |       *icollisions += v.if_collisions;
>How-To-Repeat:

>Fix:


Home | Main Index | Thread Index | Old Index