Bug#812290: pokerth: FTBFS with GCC 6: overriding...

Martin Michlmayr tbm at hpe.com
Fri Jan 22 04:07:06 UTC 2016


Package: pokerth
Version: 1.1.1-3
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DENABLE_IPV6 -DTIXML_USE_STL -DBOOST_FILESYSTEM_DEPRECATED -DQT_NO_DEBUG -I. -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/gui/qt -Isrc/gui/qt/qttools -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/core -Isrc/third_party/websocketpp -isystem /usr/include -I/opt/gsasl/include -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o obj/chatcleanermanager.o src/net/common/chatcleanermanager.cpp
> In file included from src/third_party/websocketpp/websocketpp/uri.hpp:32:0,
>                  from src/third_party/websocketpp/websocketpp/transport/base/endpoint.hpp:35,
>                  from src/third_party/websocketpp/websocketpp/transport/iostream/endpoint.hpp:34,
>                  from src/third_party/websocketpp/websocketpp/config/core.hpp:40,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:31,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/error.hpp:125:18: error: looser throw specifier for 'virtual const char* websocketpp::error::category::name() const'
>      char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                   ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/transport/iostream/connection.hpp:35:0,
>                  from src/third_party/websocketpp/websocketpp/transport/iostream/endpoint.hpp:35,
>                  from src/third_party/websocketpp/websocketpp/config/core.hpp:40,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:31,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/transport/base/connection.hpp:182:18: error: looser throw specifier for 'virtual const char* websocketpp::transport::error::category::name() const'
>      char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                   ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/transport/iostream/connection.hpp:36:0,
>                  from src/third_party/websocketpp/websocketpp/transport/iostream/endpoint.hpp:35,
>                  from src/third_party/websocketpp/websocketpp/config/core.hpp:40,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:31,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/transport/iostream/base.hpp:67:18: error: looser throw specifier for 'virtual const char* websocketpp::transport::iostream::error::category::name() const'
>      char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                   ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/message_buffer/message.hpp:32:0,
>                  from src/third_party/websocketpp/websocketpp/config/core.hpp:47,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:31,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/frame.hpp: In function 'boost::system::error_code websocketpp::frame::set_size(websocketpp::frame::basic_header&, websocketpp::frame::extended_header&, uint64_t)':
> src/third_party/websocketpp/websocketpp/frame.hpp:466:69: warning: unused parameter 'eh' [-Wunused-parameter]
>  inline lib::error_code set_size(basic_header & h, extended_header & eh, uint64_t
>                                                                      ^~
> 
> In file included from src/third_party/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp:35:0,
>                  from src/third_party/websocketpp/websocketpp/config/core.hpp:61,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:31,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/extensions/extension.hpp: At global scope:
> src/third_party/websocketpp/websocketpp/extensions/extension.hpp:65:17: error: looser throw specifier for 'virtual const char* websocketpp::extensions::error::category::name() const'
>      const char *name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                  ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/transport/asio/connection.hpp:36:0,
>                  from src/third_party/websocketpp/websocketpp/transport/asio/endpoint.hpp:34,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:32,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/transport/asio/base.hpp:205:18: error: looser throw specifier for 'virtual const char* websocketpp::transport::asio::error::category::name() const'
>      char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                   ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/transport/asio/security/none.hpp:32:0,
>                  from src/third_party/websocketpp/websocketpp/transport/asio/endpoint.hpp:35,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:32,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/transport/asio/security/base.hpp:105:17: error: looser throw specifier for 'virtual const char* websocketpp::transport::asio::socket::socket_category::name() const'
>      const char *name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                  ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/transport/asio/endpoint.hpp:35:0,
>                  from src/third_party/websocketpp/websocketpp/config/asio_no_tls.hpp:32,
>                  from src/net/websocket_defs.h:36,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/transport/asio/security/none.hpp: In member function 'boost::system::error_code websocketpp::transport::asio::basic_socket::connection::init_asio(websocketpp::transport::asio::basic_socket::connection::io_service_ptr, websocketpp::transport::asio::basic_socket::connection::strand_ptr, bool)':
> src/third_party/websocketpp/websocketpp/transport/asio/security/none.hpp:157:67: warning: unused parameter 'strand' [-Wunused-parameter]
>      lib::error_code init_asio (io_service_ptr service, strand_ptr strand,
>                                                                    ^~~~~~
> 
> src/third_party/websocketpp/websocketpp/transport/asio/security/none.hpp:158:14: warning: unused parameter 'is_server' [-Wunused-parameter]
>          bool is_server)
>               ^~~~~~~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/processors/processor.hpp:31:0,
>                  from src/third_party/websocketpp/websocketpp/connection.hpp:39,
>                  from src/third_party/websocketpp/websocketpp/endpoint.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/roles/server_endpoint.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/server.hpp:31,
>                  from src/net/websocket_defs.h:37,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/processors/base.hpp: At global scope:
> src/third_party/websocketpp/websocketpp/processors/base.hpp:162:18: error: looser throw specifier for 'virtual const char* websocketpp::processor::error::processor_category::name() const'
>      char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
>                   ^~~~
> 
> In file included from /usr/include/boost/asio/io_service.hpp:25:0,
>                  from /usr/include/boost/asio/basic_io_object.hpp:19,
>                  from /usr/include/boost/asio/basic_socket.hpp:20,
>                  from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
>                  from /usr/include/boost/asio.hpp:21,
>                  from src/net/chatcleanermanager.h:36,
>                  from src/net/common/chatcleanermanager.cpp:32:
> /usr/include/boost/system/error_code.hpp:190:32: error:   overriding 'virtual const char* boost::system::error_category::name() const noexcept'
>        virtual const char *     name() const BOOST_SYSTEM_NOEXCEPT = 0;
>                                 ^~~~
> 
> In file included from src/third_party/websocketpp/websocketpp/processors/hybi13.hpp:40:0,
>                  from src/third_party/websocketpp/websocketpp/processors/hybi08.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/processors/hybi07.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/impl/connection_impl.hpp:36,
>                  from src/third_party/websocketpp/websocketpp/connection.hpp:1429,
>                  from src/third_party/websocketpp/websocketpp/endpoint.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/roles/server_endpoint.hpp:31,
>                  from src/third_party/websocketpp/websocketpp/server.hpp:31,
>                  from src/net/websocket_defs.h:37,
>                  from src/net/sendbuffer.h:36,
>                  from src/net/asiosendbuffer.h:36,
>                  from src/net/common/chatcleanermanager.cpp:33:
> src/third_party/websocketpp/websocketpp/sha1/sha1.hpp:46:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
>                  const unsigned int steps)
>                                          ^
> 
> Makefile.pokerth_lib:1371: recipe for target 'obj/chatcleanermanager.o' failed
> make[2]: *** [obj/chatcleanermanager.o] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> Makefile:103: recipe for target 'sub-pokerth_lib-pro-make_first-ordered' failed
> make[1]: *** [sub-pokerth_lib-pro-make_first-ordered] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: make -j1 returned exit code 2

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-games-devel mailing list