Your message dated Tue, 18 Oct 2022 14:40:04 +0000
with message-id <e1oknle-00b95a...@fasolo.debian.org>
and subject line Bug#997174: fixed in netdiag 1.2-1.2
has caused the Debian Bug report #997174,
regarding netdiag: FTBFS: statnet.c:471:32: 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.)


-- 
997174: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997174
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- 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 ---
--- Begin Message ---
Source: netdiag
Source-Version: 1.2-1.2
Done: Reiner Herrmann <rei...@reiner-h.de>

We believe that the bug you reported is fixed in the latest version of
netdiag, 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.
Reiner Herrmann <rei...@reiner-h.de> (supplier of updated netdiag 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: SHA256

Format: 1.8
Date: Sun, 16 Oct 2022 15:28:17 +0200
Source: netdiag
Architecture: source
Version: 1.2-1.2
Distribution: unstable
Urgency: medium
Maintainer: Michael Meskes <mes...@debian.org>
Changed-By: Reiner Herrmann <rei...@reiner-h.de>
Closes: 997174
Changes:
 netdiag (1.2-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use fixed format strings in mvprintw calls. (Closes: #997174)
Checksums-Sha1:
 2ba2cf6ec50ed7ecc33533b1b88b340aa360a60c 1690 netdiag_1.2-1.2.dsc
 be820b7614480e95c045eb94ebc9f32dfd675805 88131 netdiag_1.2-1.2.diff.gz
 830c278bba9b4f50e1234b3e2a4fba6576750ec9 6089 netdiag_1.2-1.2_source.buildinfo
Checksums-Sha256:
 9b6e8fd062ec13c7ea8b76f9830c95d447b5ef30552ba12ddf8003190c0b2dc5 1690 
netdiag_1.2-1.2.dsc
 084b152530c0d5308cb3659bde3cafe4794346bcaf19535eca1aa04e6d1f061e 88131 
netdiag_1.2-1.2.diff.gz
 082ea5e0dc46654af2828bbed14baed410e6f3c8bd809c196aa5d43fd1b119e9 6089 
netdiag_1.2-1.2_source.buildinfo
Files:
 b362aa4ea30311858ce7927e6ca15488 1690 net optional netdiag_1.2-1.2.dsc
 fba4f11c085a8705e23a7ff6676aca64 88131 net optional netdiag_1.2-1.2.diff.gz
 2ff7dcecb617bc0a5f7a9695345a0bf3 6089 net optional 
netdiag_1.2-1.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEo+u0H8Wr1nXO5BxF6mymuVG4UTkFAmNMC84ACgkQ6mymuVG4
UTk+sBAAnwXY5k864d2rDbDzImIKp9bUe+BBhfELzNSK3EH3TIZUIBzmzz4N1sc1
GnCuzpkyvbVG9Rb5f3T2iiZgHSLkHy8RBTeHTO26AmxBt3crRpnXXbgNo6MEPUhk
jY/uI/Rie6ry6hm4KeQECgBMQeq6bZYrDVcOIRH7+1igMjJv1hC7tlkKqmwIvK61
eki66sFO/0aoPjsuwPR2Qlizk8VVcAO23Sks/5oxeRyrpVHt7M58OQLPNRBMkuWs
SRZVsOk2SD0aR921AGaQycMUSs/aB6wRHKpEYMXAj7iAgalko/DhpvDrHXiJ7EE5
gPU4Dp9MG2oSYVuUsCERzEODh3WEsgyehfnc9QpS9QdLYZPfAzDq8/p9nQBBaeyb
d8Wy0WWWdNZtWNqWcF3rSZyRrpiwmu5ylSqqmZ23Htw9SewDmJle5k0bYJdNlcUg
7C0s96CgA5o/w3hIQlQ6KQIVwU6BSQai7U2GG6xyQ0yrd1mwdsYS6FmXxJbMwmkK
XZNxj0SyM5hkdI+qBwJOWauvVXP2nUTGZuV3tawmCDexRRLEkTrzd9WaWJaDEnRw
tiBldQBaRThaO2wRa1o+MTExUquD4g87HMQIkI4ng8HQHZAcJGVkBIxfS/RVa0I0
/myK2xmU6Br9vz/+vRYzIdJXdyfnBAYMB6H5lfEyiPPbPRK6b3I=
=NZ37
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to