server/mysqldb.cpp: In member function ‘int {anonymous}::MyAcct::initConns()’: server/mysqldb.cpp:505:6: error: ‘my_bool’ was not declared in this scope; did you mean ‘bool’? 505 | my_bool reconn = 1; | ^~~~~~~ | bool server/mysqldb.cpp:506:72: error: ‘reconn’ was not declared in this scope 506 | mysql_options(mySqlConn->m_conn,MYSQL_OPT_RECONNECT,(const char*)&reconn); | ^~~~~~ make[1]: *** [Makefile:296: server/mysqldb.yate] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-voip/yate-6.1.0/work/yate/modules' make: *** [Makefile:186: modules] Error 2 * ERROR: net-voip/yate-6.1.0::gentoo failed (compile phase): * emake failed
This is related to >=dev-db/mysql-8 and >=dev-db/mysql-connector-c-8 version bump and a candidate to the tracker bug: https://bugs.gentoo.org/692570
Created attachment 587736 [details, diff] fix-my_bool-error.diff Proposed patch fixing the problem related to the new version of mysql-8 & mysql-connector-c-8.
*** Bug 692852 has been marked as a duplicate of this bug. ***
Note that it fails this way even with USE=-mysql, as long as mysql-connector-c is installed, this fails. So the configure is likely not honouring --without-mysql properly.