pkgsrc-Users archive

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

Re: zabbix 5.0.3 in pkgsrc-wip



On Thu, 10 Sep 2020 at 20:30, Juraj Lutter <otis%netbsd.org@localhost> wrote:
>
> Hi,
>
> I have made a notable progress with zabbix 5.0, it is now in pkgsrc-wip master branch.
>
> It have been tested on SmartOS and NetBSD 9.0 and it would be nice if more people
> can give it a try, so we can progress to import into pkgsrc.
>
> Any feedback is more than welcome.

Casual attempt to build the server under -current (9.99.72 from
yesterday) fails (same as the version in sysutils):
....
depbase=`echo hostname.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc
-DHAVE_CONFIG_H -I. -I../../../../include    -I/usr/pkg/include
-I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED
-I/usr/pkg/include -O2 -pthread -I/usr/pkg/include -I/usr/include
-I/usr/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include -MT
hostname.o -MD -MP -MF $depbase.Tpo -c -o hostname.o hostname.c && mv
-f $depbase.Tpo $depbase.Po
--- libspecsysinfo_a-system.o ---
mv -f .deps/libspecsysinfo_a-system.Tpo .deps/libspecsysinfo_a-system.Po
--- libspecsysinfo_a-uptime.o ---
mv -f .deps/libspecsysinfo_a-uptime.Tpo .deps/libspecsysinfo_a-uptime.Po
--- libspecsysinfo_a-net.o ---
net.c: In function 'get_ifdata':
net.c:112:20: error: 'struct ifnet' has no member named 'if_ibytes';
did you mean 'if_index'?
       *ibytes += v.if_ibytes;
                    ^~~~~~~~~
                    if_index
net.c:114:22: error: 'struct ifnet' has no member named 'if_ipackets';
did you mean 'if_stats'?
       *ipackets += v.if_ipackets;
                      ^~~~~~~~~~~
                      if_stats
net.c:116:21: error: 'struct ifnet' has no member named 'if_ierrors';
did you mean 'if_metric'?
       *ierrors += v.if_ierrors;
                     ^~~~~~~~~~
                     if_metric
net.c:118:22: error: 'struct ifnet' has no member named 'if_iqdrops';
did you mean 'if_addrlist'?
       *idropped += v.if_iqdrops;
                      ^~~~~~~~~~
                      if_addrlist
net.c:120:20: error: 'struct ifnet' has no member named 'if_obytes';
did you mean 'if_type'?
       *obytes += v.if_obytes;
.....

>
> Thanks.
>
> otis



-- 
----


Home | Main Index | Thread Index | Old Index