|Summary:||dev-db/mysql-gui-tools - mysql dependency not needed|
|Product:||Gentoo Linux||Reporter:||John Alberts <john.m.alberts>|
|Component:||Current packages||Assignee:||Gentoo Linux bug wranglers <bug-wranglers>|
|Package list:||Runtime testing required:||---|
Description John Alberts 2007-09-12 05:25:29 UTC
dev-db/mysql-gui-tools brings in mysql as a dependency, although mysql should not be required to use the gui tools. This is also true for the individual ebuilds as well for mysql-administrator and mysql-query-browser. Reproducible: Always
Comment 1 Jakub Moc (RETIRED) 2007-09-12 07:07:09 UTC
And did you try to compile it without mysql installed? How far did it get? :)
Comment 2 John Alberts 2007-09-12 16:40:31 UTC
Yes, I did check and it works fine without mysql installed. I copied the mysql-gui-tools-5.0_p13 ebuild to my overlay and deleted the '>=virtual/mysql-5.0' rdepend. Everything compiled fine, and I was able to run and connect and view tables on a remote mysql db using mysql-administrator and mysql-query-browser. Mysql-workbench launches and looks like it works, but I have never used it before, so I can't say much more than, 'it appears to work for me.' NOTE: I did have mysql-5.0.42 installed on my machine before I test this, so I did an emerge -C mysql-5.0.42. I guess it's possible that the ebuild left behind some files that may have been needed to build mysql-gui-tools, but I doubt it. I'll leave it up to you whether you want to reopen this bug and fix it. ;)
Comment 3 Jakub Moc (RETIRED) 2007-09-12 19:40:06 UTC
Sorry, there's nothing to fix here. It's plain impossible to compile/run this without mysql client libraries installed. checking for mysql_config... no checking for mysql_config... no configure: error: Could not find mysql_config script. Make sure the mysql client libraries are installed
Comment 4 John Alberts 2007-09-12 21:29:33 UTC
sorry about that. I guess the mysql ebuild doesn't remove everything when you unmerge it. Looks like it requires mysql_config.
Comment 5 Jakub Moc (RETIRED) 2007-09-13 07:25:43 UTC
I suspect you unmerged virtual/mysql and not the real thing (dev-db/mysql).
Comment 6 Jakub Moc (RETIRED) 2008-02-12 09:56:59 UTC
*** Bug 209808 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan DELIZY 2008-02-12 10:45:09 UTC
Perhaps mysql client libraries should go in a separate ebuild and I think the same is true for the server part and the cli part.
Comment 8 Jakub Moc (RETIRED) 2008-02-12 10:52:04 UTC
You already have this with USE=minimal, stick to to package.keywords for mysql (not to make.conf!)