Building codership-mysql fails as follows:
Build command:
cmake -DWITH_WSREP=1 -DCMAKE_BUILD_TYPE=Debug -DENABLE_DOWNLOADS=1 . && make
Linking CXX executable merge_small_tests-t
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::Ticket_list::add_ticket(MDL_ticket*)':
/home/philips/git/codership-mysql/sql/mdl.cc:1405: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1416: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1433: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/home/philips/git/codership-mysql/sql/mdl.cc:1435: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1435: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::can_grant_lock(enum_mdl_type, MDL_context*, bool) const':
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1817: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1825: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/home/philips/git/codership-mysql/sql/mdl.cc:1828: undefined reference to `wsrep_log_conflicts'
/home/philips/git/codership-mysql/sql/mdl.cc:1831: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1858: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_ticket::wsrep_report(bool)':
/home/philips/git/codership-mysql/sql/mdl.cc:3185: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:3185: undefined reference to `sql_print_information(char const*, ...)'
collect2: error: ld returned 1 exit status
make[2]: *** [unittest/gunit/merge_small_tests-t] Error 1
make[1]: *** [unittest/gunit/CMakeFiles/merge_small_tests-t.dir/all] Error 2
make: *** [all] Error 2
Does not seem to affect 5.5