Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 443516

Summary: dev-db/mysql-workbench should install more tools
Product: Gentoo Linux Reporter: Taras Onishchuk <taras.onishchuk>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED OBSOLETE    
Severity: normal CC: taras.onishchuk
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-09-21   

Description Taras Onishchuk 2012-11-16 13:14:17 UTC
Package used: ysql-workbench-gpl-5.2.44-src.tar.gz (but applicable to previous versions too).
System: Linux host 3.4.9-gentoo #2 SMP Wed Oct 24 09:14:44 EEST 2012 x86_64 Intel(R) Atom(TM) CPU D510 @ 1.66GHz GenuineIntel GNU/Linux
X env: KDE

Once the workbench is built and launched, one can go to
Plugins -> Start shell for MySQL utilities

When new terminal is open, it's expected to see list of installed utilities:
mysqldbcompare                                                                                                                                                                                                                                                                 
mysqldbcopy                                                                                                                                                                                                                                                                    
mysqldbexport                                                                                                                                                                                                                                                                  
mysqldbimport                                                                                                                                                                                                                                                                  
mysqldiff                                                                                                                                                                                                                                                                      
mysqldiskusage                                                                                                                                                                                                                                                                 
mysqlfailover                                                                                                                                                                                                                                                                  
mysqlindexcheck                                                                                                                                                                                                                                                                
mysqlmetagrep                                                                                                                                                                                                                                                                  
mysqlprocgrep                                                                                                                                                                                                                                                                  
mysqlreplicate                                                                                                                                                                                                                                                                 
mysqlrpladmin                                                                                                                                                                                                                                                                  
mysqlrplcheck                                                                                                                                                                                                                                                                  
mysqlrplshow                                                                                                                                                                                                                                                                   
mysqlserverclone                                                                                                                                                                                                                                                               
mysqlserverinfo                                                                                                                                                                                                                                                                
mysqluserclone

These are included into the package (I was able to find the python installer) but are not installed into the system and don't appear in the terminal opened.

I managed to get them working by manually installing the tools but they never got into the shell opened. The last attempt was to have the tools installed in the way they are in Ubuntu package:

python ./setup.py install --home=/usr/share/mysql-workbench/python --install-purelib=/usr/share/mysql-workbench/python/ --install-scripts=/usr/share/mysql-workbench/python

The above line was run against setup.py in the directories (these were extracted from the package):
mysql-workbench-gpl-5.2.44-src/ext/connector-python
mysql-workbench-gpl-5.2.44-src/ext/mysql-utilities

Again, the utilities are working, but the new terminal launched won't display these are available and they are not installed automatically.
Comment 1 Hans de Graaff gentoo-dev Security 2012-11-18 11:05:35 UTC
I am not familiar with the specifics of installing python tools on Gentoo, specifically the support for multiple python versions. I probably won't have time for this bug either in the foreseeable future, so it would be great if someone could create patches for our ebuild to make this work properly.
Comment 2 Hans de Graaff gentoo-dev Security 2013-02-09 07:53:59 UTC
At FOSDEM it was mentioned that the utilities will probably be distributed on their own at some point, so this should be a separate package.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 06:13:57 UTC
removed.