Summary: | dev-python/mysql-python should not depend on virtual/mysql | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Baumhof <gentoo> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Baumhof
2009-08-24 21:23:07 UTC
*** Bug 282620 has been marked as a duplicate of this bug. *** *** Bug 282621 has been marked as a duplicate of this bug. *** We can add "minimal" USE flag, whose enabling would disable dependency on mysql. I don't really like that idea. minimal is explained as "Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)", but every single feature of dev-python/mysql-python works without a local install of mysql. And that leads me to the question: Why does that dependency exist in the first place? >>> Compiling source in /var/tmp/portage/dev-python/mysql-python-1.2.3_rc1/work/MySQL-python-1.2.3c1 ...
python setup.py build
/usr/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
sh: mysql_config: command not found
Traceback (most recent call last):
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "/var/tmp/portage/dev-python/mysql-python-1.2.3_rc1/work/MySQL-python-1.2.3c1/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/var/tmp/portage/dev-python/mysql-python-1.2.3_rc1/work/MySQL-python-1.2.3c1/setup_posix.py", line 24, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
*
* ERROR: dev-python/mysql-python-1.2.3_rc1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3154: Called distutils_src_compile
* environment, line 783: Called die
* The specific snippet of code:
* ${python} setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
* The die message:
* Building failed
|