{"action":"created","issue":{"url":"https://api.github.com/repos/scylladb/scylla/issues/530","labels_url":"https://api.github.com/repos/scylladb/scylla/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/scylladb/scylla/issues/530/comments","events_url":"https://api.github.com/repos/scylladb/scylla/issues/530/events","html_url":"https://github.com/scylladb/scylla/issues/530","id":115229456,"number":530,"title":"Getting compilation error on message/messaging_service.cc with Ubuntu 14.04","user":{"login":"syuu1228","id":183648,"avatar_url":"https://avatars.githubusercontent.com/u/183648?v=3","gravatar_id":"","url":"https://api.github.com/users/syuu1228","html_url":"https://github.com/syuu1228","followers_url":"https://api.github.com/users/syuu1228/followers","following_url":"https://api.github.com/users/syuu1228/following{/other_user}","gists_url":"https://api.github.com/users/syuu1228/gists{/gist_id}","starred_url":"https://api.github.com/users/syuu1228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syuu1228/subscriptions","organizations_url":"https://api.github.com/users/syuu1228/orgs","repos_url":"https://api.github.com/users/syuu1228/repos","events_url":"https://api.github.com/users/syuu1228/events{/privacy}","received_events_url":"https://api.github.com/users/syuu1228/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T08:04:29Z","updated_at":"2015-11-05T08:08:40Z","closed_at":null,"body":"Here's an error message:\r\n```\r\nFAILED: g++-5 -MMD -MT build/release/message/messaging_service.o -MF build/release/message/messaging_service.o.d -std=gnu++1y -g  -Wall -Werror -fvisibility=hidden -pthread -I/home/syuu/scylla/seastar -I/home/syuu/scylla/seastar/build/release/gen  -march=nehalem -DHAVE_DPDK -I/home/syuu/scylla/seastar/build/dpdk/include -march=corei7 -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3,RTE_CPUFLAG_SSSE3,RTE_CPUFLAG_SSE4_1,RTE_CPUFLAG_SSE4_2 -Wno-error=literal-suffix -Wno-literal-suffix -Wno-invalid-offsetof    -O2 -I/usr/include/jsoncpp -Wno-maybe-uninitialized  -I. -I build/release/gen -I seastar -I seastar/build/release/gen -c -o build/release/message/messaging_service.o message/messaging_service.cc\r\nmessage/messaging_service.cc: In member function ‘void net::messaging_service::foreach_server_connection_stats(std::function<void(const rpc::client_info&, const rpc::stats&)>&&) const’:\r\nmessage/messaging_service.cc:217:14: error: ‘struct net::messaging_service::rpc_protocol_server_wrapper’ has no member named ‘foreach_connection’\r\n     _server->foreach_connection([f](const rpc_protocol::server::connection& c) {\r\n              ^\r\nmessage/messaging_service.cc: In lambda function:\r\nmessage/messaging_service.cc:218:18: error: passing ‘const rpc::protocol<net::serializer, net::messaging_verb>::server::connection’ as ‘this’ argument discards qualifiers [-fpermissive]\r\n         f(c.info(), c.get_stats());\r\n                  ^\r\nIn file included from message/messaging_service.cc:34:0:\r\n/home/syuu/scylla/seastar/rpc/rpc.hh:90:19: note:   in call to ‘auto& rpc::protocol<Serializer, MsgType>::server::connection::info() [with Serializer = net::serializer; MsgType = net::messaging_verb]’\r\n             auto& info() { return _info; }\r\n                   ^\r\nmessage/messaging_service.cc:218:23: error: ‘const class rpc::protocol<net::serializer, net::messaging_verb>::server::connection’ has no member named ‘get_stats’\r\n         f(c.info(), c.get_stats());\r\n                       ^\r\nninja: build stopped: subcommand failed.\r\nmake[1]: *** [override_dh_auto_build] Error 1\r\nmake[1]: Leaving directory `/home/syuu/scylla'\r\nmake: *** [binary] Error 2\r\ndpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2\r\ndebuild: fatal error at line 1364:\r\ndpkg-buildpackage -rfakeroot -D -us -uc failed\r\n```"},"comment":{"url":"https://api.github.com/repos/scylladb/scylla/issues/comments/153983157","html_url":"https://github.com/scylladb/scylla/issues/530#issuecomment-153983157","issue_url":"https://api.github.com/repos/scylladb/scylla/issues/530","id":153983157,"user":{"login":"amnonh","id":2118079,"avatar_url":"https://avatars.githubusercontent.com/u/2118079?v=3","gravatar_id":"","url":"https://api.github.com/users/amnonh","html_url":"https://github.com/amnonh","followers_url":"https://api.github.com/users/amnonh/followers","following_url":"https://api.github.com/users/amnonh/following{/other_user}","gists_url":"https://api.github.com/users/amnonh/gists{/gist_id}","starred_url":"https://api.github.com/users/amnonh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amnonh/subscriptions","organizations_url":"https://api.github.com/users/amnonh/orgs","repos_url":"https://api.github.com/users/amnonh/repos","events_url":"https://api.github.com/users/amnonh/events{/privacy}","received_events_url":"https://api.github.com/users/amnonh/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T08:08:40Z","updated_at":"2015-11-05T08:08:40Z","body":"It seems like you are missing a seastar patch\n\nOn Thu, Nov 5, 2015 at 10:04 AM, Takuya ASADA <notifications@github.com>\nwrote:\n\n> Here's an error message:\n>\n> FAILED: g++-5 -MMD -MT build/release/message/messaging_service.o -MF build/release/message/messaging_service.o.d -std=gnu++1y -g  -Wall -Werror -fvisibility=hidden -pthread -I/home/syuu/scylla/seastar -I/home/syuu/scylla/seastar/build/release/gen  -march=nehalem -DHAVE_DPDK -I/home/syuu/scylla/seastar/build/dpdk/include -march=corei7 -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3,RTE_CPUFLAG_SSSE3,RTE_CPUFLAG_SSE4_1,RTE_CPUFLAG_SSE4_2 -Wno-error=literal-suffix -Wno-literal-suffix -Wno-invalid-offsetof    -O2 -I/usr/include/jsoncpp -Wno-maybe-uninitialized  -I. -I build/release/gen -I seastar -I seastar/build/release/gen -c -o build/release/message/messaging_service.o message/messaging_service.cc\n> message/messaging_service.cc: In member function ‘void net::messaging_service::foreach_server_connection_stats(std::function<void(const rpc::client_info&, const rpc::stats&)>&&) const’:\n> message/messaging_service.cc:217:14: error: ‘struct net::messaging_service::rpc_protocol_server_wrapper’ has no member named ‘foreach_connection’\n>      _server->foreach_connection([f](const rpc_protocol::server::connection& c) {\n>               ^\n> message/messaging_service.cc: In lambda function:\n> message/messaging_service.cc:218:18: error: passing ‘const rpc::protocol<net::serializer, net::messaging_verb>::server::connection’ as ‘this’ argument discards qualifiers [-fpermissive]\n>          f(c.info(), c.get_stats());\n>                   ^\n> In file included from message/messaging_service.cc:34:0:\n> /home/syuu/scylla/seastar/rpc/rpc.hh:90:19: note:   in call to ‘auto& rpc::protocol<Serializer, MsgType>::server::connection::info() [with Serializer = net::serializer; MsgType = net::messaging_verb]’\n>              auto& info() { return _info; }\n>                    ^\n> message/messaging_service.cc:218:23: error: ‘const class rpc::protocol<net::serializer, net::messaging_verb>::server::connection’ has no member named ‘get_stats’\n>          f(c.info(), c.get_stats());\n>                        ^\n> ninja: build stopped: subcommand failed.\n> make[1]: *** [override_dh_auto_build] Error 1\n> make[1]: Leaving directory `/home/syuu/scylla'\n> make: *** [binary] Error 2\n> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2\n> debuild: fatal error at line 1364:\n> dpkg-buildpackage -rfakeroot -D -us -uc failed\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/scylladb/scylla/issues/530>.\n>\n"}}