Created attachment 338732 [details] Build log [..] * Building of dev-python/sqlalchemy-0.7.9 with CPython 2.6... python2.6 setup.py --with-cextensions build -b build-2.6 /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: option --with-cextensions not recognized [..]
It just turned out this is due to a missing dependency on dev-python/setuptools[python_target_python2_6] and I was previously mixing explicit USE_PYTHON="2.6 2.7 3.1 3.2" (relevant to sqlalchemy) with implicit PYTHON_TARGETS="python2_7 python3_1" (relevant to setuptools) This hit me on sys-libs/cracklib and dev-python/urwid, too. Any idea how to fix this?
I don't think this can be fixed in ebuilds other than migrating to EAPI=5, which is available for >=setuptools-0.6.30-r1
Yeah, this should be fixed in >=dev-python/sqlalchemy-0.7.10.