During configure process stops with CMake Error at build/cmake/Modules/FindMySQLCppConn.cmake:55 (file): file STRINGS file "/data/build/portage/dev-db/mysql-workbench-8.0.18/work/mysql-workbench-community-8.0.18-src/MySQLCppConn_INCLUDE_DIR-NOTFOUND/cppconn/version_info.h" cannot be read. Call Stack (most recent call first): CMakeLists.txt:78 (find_package) Reproducible: Always
Perhaps the problem is that i have mariadb installed ?
Created attachment 600054 [details, diff] mysql-workbench-8.0.18-MySQLCppConn_INCLUDE_DIR.patch Patch that seems solve the problem. See also https://forums.gentoo.org/viewtopic-t-1105414.html
Patch works for me.
The patch in comment 2 also works for dev-db/mysql-workbench-8.0.19, thanks. The ebuild needs the patch to compile against dev-db/mysql-connector-c++-8.0.19 but works with dev-db/mysql-connector-c++-1.1.12-r1 with or without it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4 commit e997d6b79ac1d6f0839b6d38428d03a6ff2bcba4 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2020-01-31 10:33:10 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2020-01-31 10:33:24 +0000 dev-db/mysql-workbench: fix building against mysql-connector-c++-8 Thanks to fedeliallalinea for providing a patch and Marco Genasci for linking it to the bug. Closes: https://bugs.gentoo.org/702666 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org> .../files/mysql-workbench-8.0.19-mysql-connector-8.patch | 12 ++++++++++++ dev-db/mysql-workbench/mysql-workbench-8.0.19.ebuild | 1 + 2 files changed, 13 insertions(+)
fedeliallalinea and Marco Genasci are the same person even though I may have some disassociation problems from time to time :P.