Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HandlerSocket fails to build with debug server flags #102

Open
laurynas-biveinis opened this issue May 26, 2014 · 0 comments
Open

HandlerSocket fails to build with debug server flags #102

laurynas-biveinis opened this issue May 26, 2014 · 0 comments

Comments

@laurynas-biveinis
Copy link

If HS is placed to plugin/ directory of the server tree and the server is configured with -DWITH_DEBUG=ON, the build will fail with a sequence of errors, the first one being

06:18:36 cc1plus: warnings being treated as errors
06:18:36 In file included from /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/socket.hpp:15,
06:18:36 from /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/hstcpcli.hpp:19,
06:18:36 from /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/hstcpcli.cpp:12:
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp: In member function ‘int dena::auto_addrinfo::resolve(const char_, const char_, int, int, int, int)’:
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_flags’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_family’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_socktype’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_protocol’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_addrlen’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_addr’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_canonname’
06:18:36 /mnt/workspace/percona-server-5.6-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp:35: error: missing initializer for member ‘addrinfo::ai_next’
06:18:36 make[2]: *** [plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/CMakeFiles/hsclient.dir/hstcpcli.cpp.o] Error 1

This was reported as https://bugs.launchpad.net/percona-server/+bug/1323014. The fix patch is available at https://code.launchpad.net/~laurynas-biveinis/percona-server/bug1323014/+merge/220927

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants