Source: nfswatch Version: 4.99.11-8 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): > cc -DLINUX -O -Wall -W -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security > -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c > screen.c: In function ‘setup_screen’: > screen.c:227:57: error: format not a string literal and no format arguments > [-Werror=format-security] > 227 | (void) mvprintw(SCR_IF_Y, SCR_MIDDLE - (len/2), buf); > | ^~~ > screen.c:228:9: error: format not a string literal and no format arguments > [-Werror=format-security] > 228 | (void) mvprintw(SCR_PROMPT_Y, SCR_PROMPT_X0, prompt); > | ^ > screen.c: In function ‘update_screen’: > screen.c:380:21: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 380 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 381 | int_pkt_total, int_dst_pkt_total, int_pkt_drops); > | ~~~~~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:380:36: warning: format ‘%d’ expects argument of type ‘int’, but > argument 5 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 380 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 381 | int_pkt_total, int_dst_pkt_total, int_pkt_drops); > | ~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:380:51: warning: format ‘%d’ expects argument of type ‘int’, but > argument 6 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 380 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 381 | int_pkt_total, int_dst_pkt_total, int_pkt_drops); > | ~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:383:21: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 383 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 384 | pkt_total, dst_pkt_total, pkt_drops); > | ~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:383:36: warning: format ‘%d’ expects argument of type ‘int’, but > argument 5 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 383 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 384 | pkt_total, dst_pkt_total, pkt_drops); > | ~~~~~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:383:51: warning: format ‘%d’ expects argument of type ‘int’, but > argument 6 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 383 | "%10d (network) %10d (to host) %10d (dropped)", > | ~~~^ > | | > | int > | %10ld > 384 | pkt_total, dst_pkt_total, pkt_drops); > | ~~~~~~~~~ > | | > | Counter {aka long unsigned > int} > screen.c:400:53: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 400 | pkt_counters[i].pc_intx, "%7d", > | ~~^ > | | > | int > | %7ld > 401 | pkt_counters[i].pc_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:408:53: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 408 | pkt_counters[i].pc_totx, "%8d", > | ~~^ > | | > | int > | %8ld > 409 | pkt_counters[i].pc_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long unsigned int} > screen.c:440:68: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 440 | nfs_counters[i - soff].nc_intx, "%5d", > | ~~^ > | | > | int > | %5ld > 441 | nfs_counters[i].nc_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:448:68: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 448 | nfs_counters[i - soff].nc_totx, "%8d", > | ~~^ > | | > | int > | %8ld > 449 | nfs_counters[i].nc_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:474:71: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 474 | prc_counters[NFSv2][i - soff].pr_intx, > "%5d", > | > ~~^ > | > | > | > int > | > %5ld > 475 | prc_counters[NFSv2][i].pr_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | | > | Counter {aka long > unsigned int} > screen.c:482:71: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 482 | prc_counters[NFSv2][i - soff].pr_totx, > "%8d", > | > ~~^ > | > | > | > int > | > %8ld > 483 | prc_counters[NFSv2][i].pr_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | | > | Counter {aka long > unsigned int} > screen.c:499:44: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘long int’ [-Wformat=] > 499 | "%8d", > | ~~^ > | | > | int > | %8ld > 500 | count); > | ~~~~~ > | | > | long int > screen.c:540:71: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 540 | prc_counters[NFSv3][i - soff].pr_intx, > "%5d", > | > ~~^ > | > | > | > int > | > %5ld > 541 | prc_counters[NFSv3][i].pr_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | | > | Counter {aka long > unsigned int} > screen.c:548:71: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 548 | prc_counters[NFSv3][i - soff].pr_totx, > "%8d", > | > ~~^ > | > | > | > int > | > %8ld > 549 | prc_counters[NFSv3][i].pr_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | | > | Counter {aka long > unsigned int} > screen.c:565:44: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘long int’ [-Wformat=] > 565 | "%8d", > | ~~^ > | | > | int > | %8ld > 566 | count); > | ~~~~~ > | | > | long int > screen.c:604:65: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 604 | clnt_counters[i - soff].cl_intx, "%5d", > | ~~^ > | | > | int > | %5ld > 605 | clnt_counters[i].cl_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:612:65: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 612 | clnt_counters[i - soff].cl_totx, "%8d", > | ~~^ > | | > | int > | %8ld > 613 | clnt_counters[i].cl_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:640:44: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 640 | "%5d", > | ~~^ > | | > | int > | %5ld > 641 | auth_counters[i].ac_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka > long unsigned int} > screen.c:650:44: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 650 | "%8d", > | ~~^ > | | > | int > | %8ld > 651 | auth_counters[i].ac_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka > long unsigned int} > screen.c:676:68: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 676 | fil_counters[i - soff].fc_intx, "%5d", > | ~~^ > | | > | int > | %5ld > 677 | fil_counters[i].fc_interval); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c:684:68: warning: format ‘%d’ expects argument of type ‘int’, but > argument 4 has type ‘Counter’ {aka ‘long unsigned int’} [-Wformat=] > 684 | fil_counters[i - soff].fc_totx, "%8d", > | ~~^ > | | > | int > | %8ld > 685 | fil_counters[i].fc_total); > | ~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | Counter {aka long > unsigned int} > screen.c: In function ‘HowMany’: > screen.c:718:65: error: format not a string literal and no format arguments > [-Werror=format-security] > 718 | (void)mvprintw(SCR_NFSHDR_Y - 1, SCR_MIDDLE - (mlen/2), > message); > | > ^~~~~~~ > screen.c: In function ‘command’: > screen.c:908:17: warning: ‘sighold’ is deprecated: Use the sigprocmask > function instead [-Wdeprecated-declarations] > 908 | sighold(SIGALRM); > | ^~~~~~~ > In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28, > from screen.c:18: > /usr/include/signal.h:341:12: note: declared here > 341 | extern int sighold (int __sig) __THROW > | ^~~~~~~ > screen.c:915:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask > function instead [-Wdeprecated-declarations] > 915 | sigrelse(SIGALRM); > | ^~~~~~~~ > In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28, > from screen.c:18: > /usr/include/signal.h:345:12: note: declared here > 345 | extern int sigrelse (int __sig) __THROW > | ^~~~~~~~ > screen.c:936:17: warning: ‘sighold’ is deprecated: Use the sigprocmask > function instead [-Wdeprecated-declarations] > 936 | sighold(SIGALRM); > | ^~~~~~~ > In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28, > from screen.c:18: > /usr/include/signal.h:341:12: note: declared here > 341 | extern int sighold (int __sig) __THROW > | ^~~~~~~ > screen.c:946:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask > function instead [-Wdeprecated-declarations] > 946 | sigrelse(SIGALRM); > | ^~~~~~~~ > In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28, > from screen.c:18: > /usr/include/signal.h:345:12: note: declared here > 345 | extern int sigrelse (int __sig) __THROW > | ^~~~~~~~ > screen.c:1094:20: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 1094 | if (prev_showwhich > 0) { > | ^ > screen.c:1102:9: note: here > 1102 | default: /* give them some help > */ > | ^~~~~~~ > cc1: some warnings being treated as errors > make[2]: *** [<builtin>: screen.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/nfswatch_4.99.11-8_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.