Source: netdiag Version: 1.2-1.2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration Relevant part (hopefully): > gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -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 ) > | ^~~~~~~~~~~ > In file included from /usr/include/netdb.h:27, > from inetprivate.h:13, > from getservent.c:45: > getservent.c: In function ‘sn_getservent’: > getservent.c:121:38: error: implicit declaration of function ‘atoi’ > [-Werror=implicit-function-declaration] > 121 | serv.s_port = htons((u_short)atoi(p)); > | ^~~~ > gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -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 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -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 > 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[]) > | ^~~~ > itstime.c: In function ‘itstime’: > itstime.c:50:9: error: implicit declaration of function ‘alarm’ > [-Werror=implicit-function-declaration] > 50 | alarm (SN_STATS_SECS); > | ^~~~~ > statnet.c: In function ‘update_display’: > 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: error: implicit declaration of function ‘win_show_stat’ > [-Werror=implicit-function-declaration] > 681 | win_show_stat( protwin, 9, 1, noframes, &Now->prot, > &Prev->prot, &Delta.prot, rewrite_labels, &update_prot_labels, > &show_prot_labels ); > | ^~~~~~~~~~~~~ > gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -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 > statnet.c: In function ‘show_tcp_labels’: > statnetd.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int] > 124 | main (int argc, char *argv[]) > | ^~~~ > statnet.c:800:9: error: implicit declaration of function ‘tally_label’; did > you mean ‘slk_label’? [-Werror=implicit-function-declaration] > 800 | tally_label( Now_ts, tcpwin, TW, TH ); > | ^~~~~~~~~~~ > | slk_label > cc1: some warnings being treated as errors > cc1: some warnings being treated as errors > statnetd.c: In function ‘handle_other’: > statnetd.c:499:11: error: implicit declaration of function ‘tally’ > [-Werror=implicit-function-declaration] > 499 | tally( (short int)buf[14], &StatMem->sap_types ); /* > count 802.2 SAP number */ > | ^~~~~ > make[1]: *** [<builtin>: itstime.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/netdiag_1.2-1.2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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 mark 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.