Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702666 - dev-db/mysql-workbench-8.0.18 - CMake Error at build/cmake/Modules/FindMySQLCppConn.cmake:55 (file): file STRINGS file ".../work/mysql-workbench-community-8.0.18-src/MySQLCppConn_INCLUDE_DIR-NOTFOUND/cppconn/version_info.h" cannot be read.
Summary: dev-db/mysql-workbench-8.0.18 - CMake Error at build/cmake/Modules/FindMySQLC...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-13 11:28 UTC by Marcin Kowalski
Modified: 2020-01-31 10:42 UTC (History)
5 users (show)

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


Attachments
mysql-workbench-8.0.18-MySQLCppConn_INCLUDE_DIR.patch (mysql-workbench-8.0.18-MySQLCppConn_INCLUDE_DIR.patch,624 bytes, patch)
2019-12-18 17:37 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2019-12-13 11:28:06 UTC
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
Comment 1 Marcin Kowalski 2019-12-13 11:30:09 UTC
Perhaps the problem is that i have mariadb installed ?
Comment 2 Marco Genasci 2019-12-18 17:37:39 UTC
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
Comment 3 Attila Tóth 2020-01-29 22:58:01 UTC
Patch works for me.
Comment 4 Jouni Kosonen 2020-01-31 04:02:58 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2020-01-31 10:33:29 UTC
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(+)
Comment 6 Marco Genasci 2020-01-31 10:42:56 UTC
fedeliallalinea and Marco Genasci are the same person even though I may have some disassociation problems from time to time :P.