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.