Your message dated Mon, 07 Feb 2022 07:13:19 +0000
with message-id <[email protected]>
and subject line Bug#997171: fixed in sysdig 0.27.1-0.3
has caused the Debian Bug report #997171,
regarding sysdig: FTBFS: cursescomponents.cpp:878:17: 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.)


-- 
997171: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997171
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sysdig
Version: 0.27.1-0.2
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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp && /usr/bin/c++ 
> -DHAS_CAPTURE -DK8S_DISABLE_THREAD -DPLATFORM_NAME=\"Linux\" 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/. 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../../common 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../libscap 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../async 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/./include -I/usr/include/jsoncpp 
> -I/usr/include/luajit-2.1 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp -I/usr/include/tbb 
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -ggdb   
> -std=c++0x -MD -MT userspace/libsinsp/CMakeFiles/sinsp.dir/cursestable.cpp.o 
> -MF CMakeFiles/sinsp.dir/cursestable.cpp.o.d -o 
> CMakeFiles/sinsp.dir/cursestable.cpp.o -c 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:82,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h: In function ‘std::string 
> json_as_string(const Json::Value&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h:276:33: warning: ‘FastWriter’ is 
> deprecated: Use StreamWriterBuilder instead [-Wdeprecated-declarations]
>   276 |         return Json::FastWriter().write(json);
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:98,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h: At global scope:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h:94:26: warning: 
> ‘FastWriter’ is deprecated: Use StreamWriterBuilder instead 
> [-Wdeprecated-declarations]
>    94 |         Json::FastWriter m_writer;
>       |                          ^~~~~~~~
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> In file included from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_collector.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s_handler.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s_net.h:31,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s.h:31,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:26,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:40:
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_handler.h: In static member 
> function ‘static socket_data_handler<T>::json_ptr_t 
> socket_data_handler<T>::try_parse(json_query&, const string&, const string&, 
> const string&, const string&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_handler.h:769:41: warning: 
> ‘Reader’ is deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   769 |                         if(Json::Reader().parse(filtered_json, *root))
>       |                                         ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:82,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h: In function ‘std::string 
> json_as_string(const Json::Value&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h:276:33: warning: ‘FastWriter’ is 
> deprecated: Use StreamWriterBuilder instead [-Wdeprecated-declarations]
>   276 |         return Json::FastWriter().write(json);
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:40:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h: In static member function 
> ‘static mesos_http::json_ptr_t mesos_http::try_parse(const string&, const 
> string&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:185:33: warning: ‘Reader’ is 
> deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   185 |                 if(Json::Reader().parse(json, *root))
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:40:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:185:33: warning: 
> ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder 
> instead [-Wdeprecated-declarations]
>   185 |                 if(Json::Reader().parse(json, *root))
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/reader.h:56:3: note: declared here
>    56 |   Reader();
>       |   ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:40:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:192:47: warning: ‘Reader’ is 
> deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   192 |                         errstr = 
> Json::Reader().getFormattedErrorMessages();
>       |                                               ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:40:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:192:47: warning: 
> ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder 
> instead [-Wdeprecated-declarations]
>   192 |                         errstr = 
> Json::Reader().getFormattedErrorMessages();
>       |                                               ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:36:
> /usr/include/jsoncpp/json/reader.h:56:3: note: declared here
>    56 |   Reader();
>       |   ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:98,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h: At global scope:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h:94:26: warning: 
> ‘FastWriter’ is deprecated: Use StreamWriterBuilder instead 
> [-Wdeprecated-declarations]
>    94 |         Json::FastWriter m_writer;
>       |                          ^~~~~~~~
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> In file included from /usr/include/string.h:519,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/./third-party/tinydir.h:30,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/chisel.cpp:31:
> In function ‘char* strcat(char*, const char*)’,
>     inlined from ‘int tinydir_readfile(const tinydir_dir*, tinydir_file*)’ at 
> /<<PKGBUILDDIR>>/userspace/libsinsp/./third-party/tinydir.h:357:8,
>     inlined from ‘static void 
> sinsp_chisel::get_chisel_list(std::vector<chisel_desc>*)’ at 
> /<<PKGBUILDDIR>>/userspace/libsinsp/chisel.cpp:1115:20:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:114:33: warning: ‘char* 
> __builtin___strcat_chk(char*, const char*, long unsigned int)’ accessing 4097 
> or more bytes at offsets 0 and 4096 may overlap 1 byte at offset 4096 
> [-Wrestrict]
>   114 |   return __builtin___strcat_chk (__dest, __src, __bos (__dest));
>       |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_collector.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s_handler.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s_net.h:31,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/k8s.h:31,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:39:
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_handler.h: In static member 
> function ‘static socket_data_handler<T>::json_ptr_t 
> socket_data_handler<T>::try_parse(json_query&, const string&, const string&, 
> const string&, const string&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/socket_handler.h:769:41: warning: 
> ‘Reader’ is deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   769 |                         if(Json::Reader().parse(filtered_json, *root))
>       |                                         ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp: In member function 
> ‘void curses_textbox::print_no_data()’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:878:17: error: 
> format not a string literal and no format arguments [-Werror=format-security]
>   878 |         mvprintw(m_parent->m_screenh / 2,
>       |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
>   879 |                 m_parent->m_screenw / 2 - wstr.size() / 2,
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   880 |                 wstr.c_str());
>       |                 ~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp: In member function 
> ‘void curses_textbox::render()’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursescomponents.cpp:1101:25: error: 
> format not a string literal and no format arguments [-Werror=format-security]
>  1101 |                 mvprintw(0,
>       |                 ~~~~~~~~^~~
>  1102 |                         m_parent->m_screenw / 2 - wstr.size() / 2,
>       |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  1103 |                         wstr.c_str());
>       |                         ~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:39:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h: In static member function 
> ‘static mesos_http::json_ptr_t mesos_http::try_parse(const string&, const 
> string&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:185:33: warning: ‘Reader’ is 
> deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   185 |                 if(Json::Reader().parse(json, *root))
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:39:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:185:33: warning: 
> ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder 
> instead [-Wdeprecated-declarations]
>   185 |                 if(Json::Reader().parse(json, *root))
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/reader.h:56:3: note: declared here
>    56 |   Reader();
>       |   ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:39:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:192:47: warning: ‘Reader’ is 
> deprecated: Use CharReader and CharReaderBuilder instead. 
> [-Wdeprecated-declarations]
>   192 |                         errstr = 
> Json::Reader().getFormattedErrorMessages();
>       |                                               ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/reader.h:37:63: note: declared here
>    37 |     "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
>       |                                                               ^~~~~~
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_auth.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/mesos.h:26,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/filterchecks.h:27,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:39:
> /<<PKGBUILDDIR>>/userspace/libsinsp/mesos_http.h:192:47: warning: 
> ‘Json::Reader::Reader()’ is deprecated: Use CharReader and CharReaderBuilder 
> instead [-Wdeprecated-declarations]
>   192 |                         errstr = 
> Json::Reader().getFormattedErrorMessages();
>       |                                               ^
> In file included from /usr/include/jsoncpp/json/json.h:11,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:35:
> /usr/include/jsoncpp/json/reader.h:56:3: note: declared here
>    56 |   Reader();
>       |   ^~~~~~
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp: In member function ‘void 
> curses_table::print_line_centered(std::string, int32_t)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:254:26: error: format not 
> a string literal and no format arguments [-Werror=format-security]
>   254 |                 mvwprintw(m_tblwin,
>       |                 ~~~~~~~~~^~~~~~~~~~
>   255 |                         m_parent->m_screenh / 2 + off,
>       |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   256 |                         m_parent->m_screenw / 2 - line.size() / 2,
>       |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   257 |                         line.c_str());
>       |                         ~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:268:34: error: format not 
> a string literal and no format arguments [-Werror=format-security]
>   268 |                         mvwprintw(m_tblwin,
>       |                         ~~~~~~~~~^~~~~~~~~~
>   269 |                                 m_parent->m_screenh / 2 + off + j,
>       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   270 |                                 0,
>       |                                 ~~
>   271 |                                 ss.c_str());
>       |                                 ~~~~~~~~~~~
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp: In member function ‘void 
> curses_table::print_error(std::string)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursestable.cpp:328:18: error: format not 
> a string literal and no format arguments [-Werror=format-security]
>   328 |         mvwprintw(m_tblwin,
>       |         ~~~~~~~~~^~~~~~~~~~
>   329 |                 m_parent->m_screenh / 2,
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~
>   330 |                 m_parent->m_screenw / 2 - wstr.size() / 2,
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   331 |                 wstr.c_str());
>       |                 ~~~~~~~~~~~~~
> [ 26%] Building CXX object 
> userspace/libsinsp/CMakeFiles/sinsp.dir/cursesspectro.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp && /usr/bin/c++ 
> -DHAS_CAPTURE -DK8S_DISABLE_THREAD -DPLATFORM_NAME=\"Linux\" 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/. 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../../common 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../libscap 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../async 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/./include -I/usr/include/jsoncpp 
> -I/usr/include/luajit-2.1 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp -I/usr/include/tbb 
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -ggdb   
> -std=c++0x -MD -MT 
> userspace/libsinsp/CMakeFiles/sinsp.dir/cursesspectro.cpp.o -MF 
> CMakeFiles/sinsp.dir/cursesspectro.cpp.o.d -o 
> CMakeFiles/sinsp.dir/cursesspectro.cpp.o -c 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursesspectro.cpp
> [ 26%] Building CXX object 
> userspace/libsinsp/CMakeFiles/sinsp.dir/cursesui.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp && /usr/bin/c++ 
> -DHAS_CAPTURE -DK8S_DISABLE_THREAD -DPLATFORM_NAME=\"Linux\" 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/. 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../../common 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../libscap 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/../async 
> -I/<<PKGBUILDDIR>>/userspace/libsinsp/./include -I/usr/include/jsoncpp 
> -I/usr/include/luajit-2.1 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/userspace/libsinsp -I/usr/include/tbb 
> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -ggdb   
> -std=c++0x -MD -MT userspace/libsinsp/CMakeFiles/sinsp.dir/cursesui.cpp.o -MF 
> CMakeFiles/sinsp.dir/cursesui.cpp.o.d -o CMakeFiles/sinsp.dir/cursesui.cpp.o 
> -c /<<PKGBUILDDIR>>/userspace/libsinsp/cursesui.cpp
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:82,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursesspectro.cpp:37:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h: In function ‘std::string 
> json_as_string(const Json::Value&)’:
> /<<PKGBUILDDIR>>/userspace/libsinsp/utils.h:276:33: warning: ‘FastWriter’ is 
> deprecated: Use StreamWriterBuilder instead [-Wdeprecated-declarations]
>   276 |         return Json::FastWriter().write(json);
>       |                                 ^
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursesspectro.cpp:37:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> cc1plus: some warnings being treated as errors
> In file included from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:98,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursesspectro.cpp:37:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h: At global scope:
> /<<PKGBUILDDIR>>/userspace/libsinsp/eventformatter.h:94:26: warning: 
> ‘FastWriter’ is deprecated: Use StreamWriterBuilder instead 
> [-Wdeprecated-declarations]
>    94 |         Json::FastWriter m_writer;
>       |                          ^~~~~~~~
> In file included from /usr/include/jsoncpp/json/json.h:13,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/event.h:21,
>                  from /<<PKGBUILDDIR>>/userspace/libsinsp/sinsp.h:75,
>                  from 
> /<<PKGBUILDDIR>>/userspace/libsinsp/cursesspectro.cpp:37:
> /usr/include/jsoncpp/json/writer.h:168:70: note: declared here
>   168 | class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API 
> FastWriter
>       |                                                                      
> ^~~~~~~~~~
> make[3]: *** [userspace/libsinsp/CMakeFiles/sinsp.dir/build.make:191: 
> userspace/libsinsp/CMakeFiles/sinsp.dir/cursescomponents.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/sysdig_0.27.1-0.2_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: sysdig
Source-Version: 0.27.1-0.3
Done: Dima Kogan <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sysdig, 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.
Dima Kogan <[email protected]> (supplier of updated sysdig 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, 06 Feb 2022 22:30:59 -0800
Source: sysdig
Architecture: source
Version: 0.27.1-0.3
Distribution: unstable
Urgency: medium
Maintainer: Evgeni Golov <[email protected]>
Changed-By: Dima Kogan <[email protected]>
Closes: 997171
Changes:
 sysdig (0.27.1-0.3) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Fix -Wformat-security error (Closes: #997171)
Checksums-Sha1:
 802e57b3ae61c0943f5d5408b9021f6a95766e3d 2322 sysdig_0.27.1-0.3.dsc
 227b9a7881bc5c2575a18312dbba59c5fb50bdfa 12020 sysdig_0.27.1-0.3.debian.tar.xz
 1003e6b355a0cf4646086b75ebb4dffdf845b6e2 9469 sysdig_0.27.1-0.3_amd64.buildinfo
Checksums-Sha256:
 103ccd39758cffdee2f5dfece65b08244d0cb21c538a9d688fb082e2d9754f2a 2322 
sysdig_0.27.1-0.3.dsc
 db5bafa50618ad22ed40dddf655e88a40568020b2eb835f3578a0bd078acb06a 12020 
sysdig_0.27.1-0.3.debian.tar.xz
 ff987831412f11f72e9bf2b2a9fd86c8e3c17abb9a653bdb5725fc6bf0918f1c 9469 
sysdig_0.27.1-0.3_amd64.buildinfo
Files:
 2ac07472ebd2687dd67abec03e8cb32a 2322 admin optional sysdig_0.27.1-0.3.dsc
 4a68be6d5b26049854748ef87876940a 12020 admin optional 
sysdig_0.27.1-0.3.debian.tar.xz
 da8b8455fa22a6bef7307894c8f0eb4f 9469 admin optional 
sysdig_0.27.1-0.3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEteL6GQ/fmv4hiInPrMfCzzCUEYgFAmIAv6oACgkQrMfCzzCU
EYgN7Q/9EBNyNDFHYMtgOyDBdKBTutbFkucl2uUYjeEe/0FFjgKyR+EW2fAKfS6Q
IqfFFV/0A5mLwopnDLTvgBYxJq8fKiwzNfCJfBMxwS/IJWEdw/vRp3t2s9oxyb/S
4GxHjZCPc/JW+YO77cYnfl9prZn+krILvNwp7/NYszcc9/3lP+GjdcPQzRJnqxVY
0TLj56ZH2k9gB6yCG9rsuXly7XiDWgZDuyTBHKdOQeAnjfxXiuXdyngPM/orTxYR
2ji1+9O1sbZ/eUI42EdozG2gStDLGwCiWsF3pMigQBIKoga4vt+x5nZHcQjcOSfQ
23XT7ITMCrtMF2BFCOX6kBv7nP2vySu0QdxPY2TMlqggOUxM1Kt7b1u40rjl4g8p
MV5+PxAWG2GDerC8qYog1jQyQoi9RkJ/dHsomb795MhAS8rtHIlogzPlieeJm9ce
ZFttCyXg7DPl0fbWQZH05OdoZ77y3/TI4yZaEBoDTYYo3ZIX3DOrs477BexQc748
zSF5FsCTdWtK/4emoFoDLhOJPtbgYQ6dIUkDBkbtyJ1sw06fRnbS2ozdp9J1+oLF
38zIcKGwjT4aO+WlUhXrTPfxm8+GSSfhwRsPMQ7Ly+FqRFhlGzakxaHaxvOxSy6j
Ypmm/P3tfmOWT1sr8pouujwJl/9Q1BTaVffl5fgpziTTwrc2zMM=
=bLxJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to