Comment 0 for bug 1479372

Revision history for this message
Goetz T. Fischer (g-fischer) wrote :

upstream:
========

- system zlib adds -lzlib instead of -lz
- sql/log_event.cc: need to remove inline from do_apply_event_worker
build completes.

percona:
=======

"/build/percona-server-5.6.25-73.1/vio/viosocket.c", line 709: undefined struct/union member: s6_addr32
=> i don't need ipv6 so i removed the #ifdef HAVE_IPV6 block

"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/auto_addrinfo.hpp", line 37: Error: The function "memset" must have a prototype.
=> needs #include <string.h>
auto_addrinfo.hpp also has cr/lf format!

missing -lsocket:
storage/myisam/CMakeFiles/myisamlog.dir/link.txt
mysys/CMakeFiles/thr_lock.dir/link.txt
mysys/CMakeFiles/queues.dir/link.txt
extra/CMakeFiles/innochecksum.dir/link.txt
extra/CMakeFiles/replace.dir/link.txt

"/build/percona-server-5.6.25-73.1/sql/mysqld.cc", line 2247: Error: s6_addr32 is not a member of in6_addr.
=> see above

"/build/percona-server-5.6.25-73.1/plugin/audit_log/audit_log.c", line 65: undefined symbol: LOG_AUTHPRIV
"/build/percona-server-5.6.25-73.1/plugin/audit_log/audit_log.c", line 65: undefined symbol: LOG_FTP
=> replace with LOG_AUTH and LOG_DAEMON

"/opt/solarisstudio12.3/prod/include/CC/stlport4/stl/_auto_ptr.h", line 75: Error: Could not find a match for std::__ptr_base::__set(volatile dena::database_i*) needed in std::auto_ptr<volatile dena::database_i>::auto_ptr(volatile dena::database_i*).
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp", line 218: Where: While instantiating "std::auto_ptr<volatile dena::database_i>::auto_ptr(volatile dena::database_i*)".
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp", line 218: Where: Instantiated from non-template code.
=> see https://bugs.launchpad.net/percona-server/+bug/1477885

build fails.