Source: bmon
Version: 1:3.8-2
Severity: important

Hi,

bmon FTBFS on kfreebsd-any, but versions up to 3.5 successfully built
there:
https://buildd.debian.org/status/fetch.php?pkg=bmon&arch=kfreebsd-amd64&ver=1%3A3.8-2&stamp=1442411723
https://buildd.debian.org/status/fetch.php?pkg=bmon&arch=kfreebsd-i386&ver=1%3A3.8-2&stamp=1442426407

gcc -DHAVE_CONFIG_H -I. -I../include/bmon   -D_FORTIFY_SOURCE=2 -I../include 
-I../include -DSYSCONFDIR=\"/etc\" -D_GNU_SOURCE -Wall     -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
bmon-in_sysctl.o `test -f 'in_sysctl.c' || echo './'`in_sysctl.c
in_sysctl.c: In function 'sysctl_read':
in_sysctl.c:229:40: warning: format '%u' expects argument of type 'unsigned 
int', but argument 4 has type 'long unsigned int' [-Wformat=]
   snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_mtu);
                                        ^
in_sysctl.c:229:40: warning: format '%u' expects argument of type 'unsigned 
int', but argument 4 has type 'long unsigned int' [-Wformat=]
in_sysctl.c:232:40: warning: format '%u' expects argument of type 'unsigned 
int', but argument 4 has type 'long unsigned int' [-Wformat=]
   snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_metric);
                                        ^
in_sysctl.c:232:40: warning: format '%u' expects argument of type 'unsigned 
int', but argument 4 has type 'long unsigned int' [-Wformat=]
in_sysctl.c:235:59: error: 'struct if_data' has no member named 'ifi_recvquota'
   snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_recvquota);
                                                           ^
in_sysctl.c:238:59: error: 'struct if_data' has no member named 'ifi_xmitquota'
   snprintf(info_buf, sizeof(info_buf), "%u", ifm->ifm_data.ifi_xmitquota);
                                                           ^
make[2]: *** [bmon-in_sysctl.o] Error 1
Makefile:710: recipe for target 'bmon-in_sysctl.o' failed


If that is not trivially fixable, please request decrufting
of the outdated binary packages.


Andreas

Reply via email to