--- Begin Message ---
Source: netdiag
Version: 1.2-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stat_delta.o
> stat_delta.c
> statnet.c:102:8: warning: type defaults to ‘int’ in declaration of ‘gen_all’
> [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~
> statnet.c:102:17: warning: type defaults to ‘int’ in declaration of ‘gen_eth’
> [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~
> statnet.c:102:26: warning: type defaults to ‘int’ in declaration of
> ‘gen_plip’ [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~~
> statnet.c:102:36: warning: type defaults to ‘int’ in declaration of
> ‘gen_slip’ [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~~
> statnet.c:102:46: warning: type defaults to ‘int’ in declaration of ‘gen_ppp’
> [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~
> statnet.c:102:55: warning: type defaults to ‘int’ in declaration of
> ‘gen_loop’ [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> | ^~~~~~~~
> statnet.c:102:65: warning: type defaults to ‘int’ in declaration of ‘gen_802’
> [-Wimplicit-int]
> 102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop,
> gen_802 = 0;
> |
> ^~~~~~~
> statnet.c:106:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
> 106 | main (int argc, char *argv[])
> | ^~~~
> statnet.c: In function ‘update_display’:
> statnet.c:471:32: error: format not a string literal and no format arguments
> [-Werror=format-security]
> 471 | StatMem->servername);
> | ~~~~~~~^~~~~~~~~~~~
> statnet.c:479:32: error: format not a string literal and no format arguments
> [-Werror=format-security]
> 479 | StatMem->servername);
> | ~~~~~~~^~~~~~~~~~~~
> statnet.c:485:32: error: format not a string literal and no format arguments
> [-Werror=format-security]
> 485 | StatMem->servername);
> | ~~~~~~~^~~~~~~~~~~~
> statnet.c:555:36: warning: '0' flag ignored with '-' flag in gnu_printf
> format [-Wformat=]
> 555 | mvwprintw (genwin, 0, 0, "GENERAL Frame: /%-02d sec",
> SN_UPDATE_SECS);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> statnet.c:681:9: warning: implicit declaration of function ‘win_show_stat’
> [-Wimplicit-function-declaration]
> 681 | win_show_stat( protwin, 9, 1, noframes, &Now->prot,
> &Prev->prot, &Delta.prot, rewrite_labels, &update_prot_labels,
> &show_prot_labels );
> | ^~~~~~~~~~~~~
> statnet.c: In function ‘show_tcp_labels’:
> statnet.c:800:9: warning: implicit declaration of function ‘tally_label’; did
> you mean ‘slk_label’? [-Wimplicit-function-declaration]
> 800 | tally_label( Now_ts, tcpwin, TW, TH );
> | ^~~~~~~~~~~
> | slk_label
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_delta.o
> tally_delta.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_label.o
> tally_label.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o win_show_stat.o
> win_show_stat.c
> tally_label.c:13:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
> 13 | tally_label ( struct Tally *Now_ts, WINDOW *win, int width, int
> height )
> | ^~~~~~~~~~~
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o statnetd.o statnetd.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o itstime.o itstime.c
> itstime.c: In function ‘itstime’:
> itstime.c:50:9: warning: implicit declaration of function ‘alarm’
> [-Wimplicit-function-declaration]
> 50 | alarm (SN_STATS_SECS);
> | ^~~~~
> statnetd.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
> 124 | main (int argc, char *argv[])
> | ^~~~
> statnetd.c: In function ‘handle_other’:
> statnetd.c:499:11: warning: implicit declaration of function ‘tally’
> [-Wimplicit-function-declaration]
> 499 | tally( (short int)buf[14], &StatMem->sap_types ); /*
> count 802.2 SAP number */
> | ^~~~~
> statnetd.c: In function ‘main’:
> statnetd.c:336:24: warning: ignoring return value of ‘dup’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 336 | (void) dup(fileDesc); /* stdout */
> | ^~~~~~~~~~~~~
> statnetd.c:337:24: warning: ignoring return value of ‘dup’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 337 | (void) dup(fileDesc); /* stderr */
> | ^~~~~~~~~~~~~
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_init.o
> tally_init.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g
> -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally.o tally.c
> cc1: some warnings being treated as errors
> make[1]: *** [<builtin>: statnet.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/netdiag_1.2-1.1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---