Your message dated Tue, 26 Oct 2021 13:48:56 +0000
with message-id <e1mfmoy-0003su...@fasolo.debian.org>
and subject line Bug#997168: fixed in scottfree 1.14-11
has caused the Debian Bug report #997168,
regarding scottfree: FTBFS: ScottCurses.c:402: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.)
--
997168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997168
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: scottfree
Version: 1.14-10.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 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
> ScottCurses.o ScottCurses.c
> ScottCurses.c: In function ‘OutBuf’:
> ScottCurses.c:402:32: error: format not a string literal and no format
> arguments [-Werror=format-security]
> 402 | wprintw(Bottom,word);
> | ^~~~
> ScottCurses.c: In function ‘LoadDatabase’:
> ScottCurses.c:303:17: warning: ignoring return value of ‘fscanf’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 303 | fscanf(f,"%hd %hd %hd %hd %hd %hd",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 304 | &rp->Exits[0],&rp->Exits[1],&rp->Exits[2],
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 305 | &rp->Exits[3],&rp->Exits[4],&rp->Exits[5]);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ScottCurses.c:335:17: warning: ignoring return value of ‘fscanf’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 335 | fscanf(f,"%hd",&lo);
> | ^~~~~~~~~~~~~~~~~~~
> ScottCurses.c:348:9: warning: ignoring return value of ‘fscanf’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 348 | fscanf(f,"%d",&ct);
> | ^~~~~~~~~~~~~~~~~~
> ScottCurses.c:352:9: warning: ignoring return value of ‘fscanf’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 352 | fscanf(f,"%d",&ct);
> | ^~~~~~~~~~~~~~~~~~
> ScottCurses.c: In function ‘LoadGame’:
> ScottCurses.c:695:17: warning: ignoring return value of ‘fscanf’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 695 | fscanf(f,"%d %d\n",&Counters[ct],&RoomSaved[ct]);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ScottCurses.c:697:9: warning: ignoring return value of ‘fscanf’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 697 | fscanf(f,"%ld %hd %hd %d %d %hd\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 698 | &BitFlags,&DarkFlag,&MyLoc,&CurrentCounter,&SavedRoom,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 699 | &GameHeader.LightTime);
> | ~~~~~~~~~~~~~~~~~~~~~~
> ScottCurses.c:705:17: warning: ignoring return value of ‘fscanf’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 705 | fscanf(f,"%hd\n",&lo);
> | ^~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [<builtin>: ScottCurses.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/scottfree_1.14-10.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: scottfree
Source-Version: 1.14-11
Done: Stephen Kitt <sk...@debian.org>
We believe that the bug you reported is fixed in the latest version of
scottfree, 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.
Stephen Kitt <sk...@debian.org> (supplier of updated scottfree 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: Tue, 26 Oct 2021 14:16:27 +0200
Source: scottfree
Architecture: source
Version: 1.14-11
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Stephen Kitt <sk...@debian.org>
Closes: 997168
Changes:
scottfree (1.14-11) unstable; urgency=medium
.
* Team upload.
* Add constant format strings. Closes: #997168.
* Ensure the generated manpage is cleaned up.
* Update VCS URLs.
* Build-depend on libncurses-dev instead of libncurses5-dev.
* Allow building without requiring root.
* Switch to debhelper compatibility level 13.
* Update debian/copyright.
* Apply hardening flags when linking.
* Standards-Version 4.6.0, no further change required.
Checksums-Sha1:
11b4fcaa39df1eb7521dc05d1a6f5ac67aafb41a 1968 scottfree_1.14-11.dsc
bd1f2a8d754493b6181057bb362e7d2dbf4029ad 5516 scottfree_1.14-11.debian.tar.xz
9c561ddd86b24af95aa529e7b7f0887b1451d362 6627
scottfree_1.14-11_source.buildinfo
Checksums-Sha256:
0403bb46c650eb5b3563ae3405d75eff56a70c5d47448bd41ae1814fd1fd3ebf 1968
scottfree_1.14-11.dsc
9d6fca3fea77658d8be7dca44b67de24f32a96c9700a07575f3078763a43e57e 5516
scottfree_1.14-11.debian.tar.xz
5d0bdd713a6a9e8c177bb61efb32dcae266dd682970eab82528a42aceabe562f 6627
scottfree_1.14-11_source.buildinfo
Files:
5f9c0c3465e02c5f2eb9a733d942395a 1968 games optional scottfree_1.14-11.dsc
942def4585070d11226c580ed094f219 5516 games optional
scottfree_1.14-11.debian.tar.xz
9079248517ddd9772c4b8d25dd9863d4 6627 games optional
scottfree_1.14-11_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmF38aQACgkQgNMC9Yht
g5yPAA/9GhIjulu9AnGbkS+P5Adg7w1Obgx/w8LU7+bxwihi3yzxMxzFgWfgN8qI
P5RAfPjIU4y4pA4TABiOGjrfYcFG1gWYC7X7ZuyRwT98vIz2rE0yomjkbMfXrEDl
Gw33GTWWakMiqfxRseODOoSH6k+sLx+P8WUqCWW/tC54xn5OAp4YtJlMAm7ZEI7c
CSQqnwHIUYtHd16sdJYbmqmbxbdoZsUdRJMjo6cOjl3uLPtYd6D8X6dKBhLddtEn
bRdSgh8tQgxOAS8uLFxVlA1peGCjwbenTHAXMjC1IhWN9lgBnI/yFcmUkwNIIBk5
rWp/HSsuj+MUdpesCNn9qQqgAIEwd5/JNBhgE/6dhMtIYDrZHiVOpzqgpIBX1Q81
vYhJmO7XoWoD/R/uUnpYnUL6T9yvrjlhFYFUiI6i2wG3xX2B4wDpH8LH2hlLN95M
xUjdvvxHmYx9tja7H3/0UOyxY09JTP2q20CmctLkCXzLlUqX0CyAM8+SVzPfaNOT
HhErVT75cL7uwHQSpl6R6/y6lT2YUXPbN7H4qGdxq2PIdbMAmuoHjSMotYWVX30n
q6vRqpCQrbPT/Jkxak2abGsDYl/TStrKATqvEwl27fc2ql1OwjcsB3wtu+fgfq6s
+sRhzqJpovTVATYX+Q+aLxb0nAnA6+KkaZbIqm5UwqKGFVFxQZs=
=fcUh
-----END PGP SIGNATURE-----
--- End Message ---