Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692668 - net-voip/yate-6.1.0[mysql] fails with dev-db/mysql-connector-c-8: server/mysqldb.cpp:505:6: error: ‘my_bool’ was not declared in this scope
Summary: net-voip/yate-6.1.0[mysql] fails with dev-db/mysql-connector-c-8: server/mysq...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords: PATCH
: 692852 (view as bug list)
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2019-08-21 10:23 UTC by Attila Tóth
Modified: 2020-05-03 14:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix-my_bool-error.diff (fix-my_bool-error.diff,530 bytes, patch)
2019-08-21 10:29 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2019-08-21 10:23:52 UTC
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
Comment 1 Attila Tóth 2019-08-21 10:25:39 UTC
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
Comment 2 Attila Tóth 2019-08-21 10:29:18 UTC
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.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-08-26 02:01:37 UTC
*** Bug 692852 has been marked as a duplicate of this bug. ***
Comment 4 Jaco Kroon 2020-05-03 13:35:46 UTC
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.