Your message dated Sun, 24 Oct 2021 12:33:27 +0000
with message-id <[email protected]>
and subject line Bug#997142: fixed in bastet 0.43-7
has caused the Debian Bug report #997142,
regarding bastet: FTBFS: Ui.cpp:184:14: 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 [email protected]
immediately.)


-- 
997142: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997142
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bastet
Version: 0.43-6
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):
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -DNDEBUG -Wall -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o BlockChooser.o BlockChooser.cpp
> Ui.cpp: In member function ‘int Bastet::BorderedWindow::GetMinX()’:
> Ui.cpp:82:9: warning: variable ‘y’ set but not used 
> [-Wunused-but-set-variable]
>    82 |     int y,x;
>       |         ^
> Ui.cpp: In member function ‘int Bastet::BorderedWindow::GetMaxX()’:
> Ui.cpp:94:9: warning: variable ‘y’ set but not used 
> [-Wunused-but-set-variable]
>    94 |     int y,x;
>       |         ^
> Ui.cpp: In function ‘Bastet::Dot Bastet::BoundingRect(const string&)’:
> Ui.cpp:174:24: warning: narrowing conversion of ‘(maxlen + 1)’ from ‘size_t’ 
> {aka ‘long unsigned int’} to ‘int’ [-Wnarrowing]
>   174 |     return (Dot){maxlen+1,splits.size()};
>       |                  ~~~~~~^~
> Ui.cpp:174:38: warning: narrowing conversion of 
> ‘splits.std::vector<std::__cxx11::basic_string<char> >::size()’ from 
> ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long 
> unsigned int’} to ‘int’ [-Wnarrowing]
>   174 |     return (Dot){maxlen+1,splits.size()};
>       |                           ~~~~~~~~~~~^~
> Ui.cpp: In member function ‘void Bastet::Ui::MessageDialog(const string&)’:
> Ui.cpp:184:14: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   184 |     mvwprintw(w,0,0,message.c_str());
>       |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> Ui.cpp: In member function ‘std::string Bastet::Ui::InputDialog(const 
> string&)’:
> Ui.cpp:201:14: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   201 |     mvwprintw(w,0,0,message.c_str());
>       |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> Ui.cpp: In member function ‘int Bastet::Ui::KeyDialog(const string&)’:
> Ui.cpp:222:14: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   222 |     mvwprintw(w,0,0,message.c_str());
>       |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> Ui.cpp: In member function ‘int Bastet::Ui::MenuDialog(const 
> std::vector<std::__cxx11::basic_string<char> >&)’:
> Ui.cpp:236:17: warning: narrowing conversion of ‘(width + 5)’ from ‘size_t’ 
> {aka ‘long unsigned int’} to ‘int’ [-Wnarrowing]
>   236 |     Dot d={width+5,choices.size()};
>       |            ~~~~~^~
> Ui.cpp:236:32: warning: narrowing conversion of ‘(& 
> choices)->std::vector<std::__cxx11::basic_string<char> >::size()’ from 
> ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long 
> unsigned int’} to ‘int’ [-Wnarrowing]
>   236 |     Dot d={width+5,choices.size()};
>       |                    ~~~~~~~~~~~~^~
> Ui.cpp:240:16: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   240 |       mvwprintw(w,i,4,choices[i].c_str());
>       |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> Ui.cpp: In member function ‘void Bastet::Ui::ChooseLevel()’:
> Ui.cpp:291:16: error: format not a string literal and no format arguments 
> [-Werror=format-security]
>   291 |       mvwprintw(w,0,0,msg.c_str());
>       |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -DNDEBUG -Wall -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o BastetBlockChooser.o BastetBlockChooser.cpp
> cc1plus: some warnings being treated as errors
> make[1]: *** [<builtin>: Ui.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/bastet_0.43-6_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: bastet
Source-Version: 0.43-7
Done: Markus Koschany <[email protected]>

We believe that the bug you reported is fixed in the latest version of
bastet, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <[email protected]> (supplier of updated bastet 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Oct 2021 14:13:33 +0200
Source: bastet
Architecture: source
Version: 0.43-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Markus Koschany <[email protected]>
Closes: 997142
Changes:
 bastet (0.43-7) unstable; urgency=medium
 .
   * Add format-security.patch and fix FTBFS with latest version of ncurses.
     (Closes: #997142)
   * Declare compliance with Debian Policy 4.6.0.
Checksums-Sha1:
 89915f24a18b1ca7fdac95a6d39bb351a52fbd9a 2122 bastet_0.43-7.dsc
 28bb46f496f45c9c8db4af2fdfb5f8c420f43c17 12308 bastet_0.43-7.debian.tar.xz
 f92583b25fbfeae62292350b52aee75d6864971b 6307 bastet_0.43-7_amd64.buildinfo
Checksums-Sha256:
 1ceeac4ed03adc92d0cab1d1f84d21e6eeb59f7c48130ea36a0f21581e55b750 2122 
bastet_0.43-7.dsc
 8d19eaa10078e1d496b30e88da98f94d050a7e20d646a40e449b88dc60b34b85 12308 
bastet_0.43-7.debian.tar.xz
 930bd5fa8cfd9d4271007298c6164c7b5da43ec2bbd2082590aefab5371eb0f7 6307 
bastet_0.43-7_amd64.buildinfo
Files:
 267dbf301ae2170b72b7bf4e34bdf788 2122 games optional bastet_0.43-7.dsc
 de879fcb9ee964c17506d717a3be23db 12308 games optional 
bastet_0.43-7.debian.tar.xz
 28b3019b6a5d22584b0e1a2863bfc2f6 6307 games optional 
bastet_0.43-7_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmF1TpFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1Hk/ggQAMEwkSFH5Q8rN2P0A3sa0SaB+PDr4gpahJD/
F8NBKGO2U4kuDnBhec6JQ2lKSykr/UabOSbrPr8Lrrx4EMDUUdGGaBGhnvxF8Deo
nLhNadJ4yLTIR5sJ5OB/ZPsE9CeyhnasALayG2xxsbB2cMEWyCC78BFquC7LX61G
vB4AzJx8TGGZmWEay6qeXRjYWWCT95Hu6+1TdkqzrUyxAydXBQAwmDhK6iqkAM5a
AeOgpl697bSObNuDzHw1P+umvoHB2xWIZ4PkuwjnPGGhgopMyVWm8d12obTy94ab
E/m+lTgHhATBs9SwioKiuH7gFHmlSWrAOcCOrYaQCBE5zUzooOUgxRXJXFemeRu9
W/B2E71BJOPVNuf7D8umOubzVTTX6vUaQ7hLd6Ph/5booPF+MiQ+8lySiz92nhJg
2mgcmkFYIQevRNw9JHbpfOSdG9NHelipps6G19f5oVHHy2p9JhFIJ/AuNZcdYP19
5CC6anpheZox8x8nYX2gyqSi7uNA8l48FG6XIDyHuwK+IDwi3BHj1z0EmoUTXuxK
ZpVHFlhRN6SGVd3YwLUls4LTLOILIXCG58RngvdE0Rv08GZsuf0u22oIhW3vMqSy
rEYiptmRFgEUF9v60pcouKIEtlPjvhw4tA3CgH/X1wAsMqLZ4BEirBMapmoZUHC5
9aLX57hw
=+cgr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to