NetBSD Problem Report #56508
From www@netbsd.org Thu Nov 18 13:49:11 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id CCEE31A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Nov 2021 13:49:11 +0000 (UTC)
Message-Id: <20211118134910.375D31A923A@mollari.NetBSD.org>
Date: Thu, 18 Nov 2021 13:49:10 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: zabbix needs adapting for NetBSD/current
X-Send-Pr-Version: www-1.0
>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:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.