Galera 25.3.5 fails to compile (10.3-RELEASE) with /usr/bin/ld: undefined reference to symbol `_ZNSt3__18ios_base5clearEj' (try adding -lc++) //usr/lib/libc++.so.1: could not read symbols: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) scons: *** [gcache/src/test] Error 1 If I add on the commandline make CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ CPP=/usr/local/bin/cpp or in the Makefile CXXFLAGS+= -Wl,-rpath= ${LOCALBASE}/bin/gcc LDFLAGS+= -lc++ it compiles. There are still warnings like: /usr/local/include/check.h:454:73: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] /usr/local/include/check.h:454:75: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL) ^ /usr/local/include/check.h:454:75: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] /usr/local/include/check.h:454:73: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL)
Btw, py27-cloud_sptheme a build dependency of galera, is marked as broken, and does not compilie, But I am not really sure, if galera need it really as build dependency (?).
The Problem with py-cloud_sptheme seems fixed, found a patch.
galera and py-cloud_sptheme are a request on pipermail.
I am not sure, but I think the -Wgnu-zero-variadic-macro-arguments warnings can be ignored.
Galera seems "in work" in another PR 208109. So I close here.
*** This bug has been marked as a duplicate of bug 208109 ***