Your message dated Sat, 13 Nov 2021 10:04:35 +0000
with message-id <e1mlptj-0009ot...@fasolo.debian.org>
and subject line Bug#997185: fixed in nfswatch 4.99.11-9
has caused the Debian Bug report #997185,
regarding nfswatch: FTBFS: screen.c:227:57: error: format not a string literal
and no format arguments [-Werror=format-security]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
997185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997185
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: nfswatch
Source-Version: 4.99.11-9
Done: Salvatore Bonaccorso <car...@debian.org>
We believe that the bug you reported is fixed in the latest version of
nfswatch, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 997...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Salvatore Bonaccorso <car...@debian.org> (supplier of updated nfswatch package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Nov 2021 10:58:26 +0100
Source: nfswatch
Architecture: source
Version: 4.99.11-9
Distribution: unstable
Urgency: medium
Maintainer: Salvatore Bonaccorso <car...@debian.org>
Changed-By: Salvatore Bonaccorso <car...@debian.org>
Closes: 997185
Changes:
nfswatch (4.99.11-9) unstable; urgency=medium
.
* Use mvaddstr() instead of mvprintw() for dynamic string (Closes: #997185)
* Rename Salsa CI configuration file to debian/salsa-ci.yml
* Declare compliance with Debian policy 4.6.0
* Update copyright years for debian/* packaging files
Checksums-Sha1:
6c6fe408c348457d4479b1987410a001a032ec6b 2052 nfswatch_4.99.11-9.dsc
16757a6d12d3934bbe866fcce778795fe03b6f3c 5972 nfswatch_4.99.11-9.debian.tar.xz
Checksums-Sha256:
56d241809f74e281bf201893490d266149b1b1e99e601fba6c1742fed128b5f2 2052
nfswatch_4.99.11-9.dsc
e56e6fa77de689b43e41056a662268cd29358ba8b8ce7fca4e1d3a464da729de 5972
nfswatch_4.99.11-9.debian.tar.xz
Files:
e205ff55f3766f6702fe209360e520a1 2052 admin optional nfswatch_4.99.11-9.dsc
1bd8837be876c7129381a49154add2aa 5972 admin optional
nfswatch_4.99.11-9.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmGPjGlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89E/w4P/3c8nS1iqB4FwNctY4HwJlNDDfEXBg8d
JRNiv/wcANp7h6bu+rPr9Sw1gLn+Pgsj9RzggrTTsXfKK6eyBtLkmxB6+xKdx8Qu
KPOZb2TIeOWnMWQpUAXxmkpa6mrHsml5QZ1RGI02/wEKE9kh1c+t2ngfj16pESPP
OgjwlNBJWOetBiW00HukzxL2WnXLCFnZ8VXce6Ug9Vju8EREm8sg7IEtZIA26h0o
Ky7YCqYO0Dc+zGvzRHmE7+tr9/GHKEiCzCNRuA9XojjYR63rjLmQWdFRggmbun/s
HOLuTK+oB/ltqQz8hdqisIZFT+efHMHurxF001RRbxgAkSX2uAMi4deCvOQhdpLK
EGraLDzoZEJmNuCf2CJsdzfk9EUYjTHyyKAIyw9vy9MKnm9GM/3NJE5KIGnEBgs1
J/1o3UirV91kJJxAgZkA5RLNB+Tzc1dWVCmRtsFTCU+JdS8BWbeCXbi+YSbYAaDL
nThK3SY9iWRHnUzTsgdMzUn+Cdf/LG6b855pBdQlHXLvQRty+N1MgPsCTIsbbtLU
bqcHlKN8BuTDdr2qewk1lkMjZZi/05wjoZ+5IPwnfwR3iSQ/iKRXib9EzVRZWygC
kRluSTvEPnbX+iGaFe4HVUkNjZBwbKfWFMZzV59O0QwAQWa9yUEcfSt6lPZK0WAI
XkWKB66S/QUD
=f50A
-----END PGP SIGNATURE-----
--- End Message ---