After I tried to update lxml from 2.2.1 to 2.2.2 a compilation error occured. * Building of dev-python/lxml-2.2.2 with Python 2.6... python2.6 setup.py build -b build-2.6 lxml requires cython-0.9.6.10 or later. * * ERROR: dev-python/lxml-2.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3408: Called distutils_src_compile * environment, line 841: Called python_execute_function 'building' * environment, line 2990: Called die * The specific snippet of code: * die "${failure_message}"; * The die message: * Building failed with Python 2.6 in building() function Actually, I have cython-0.11.2 installed. Reproducible: Always Steps to Reproduce: 1. emerge --update lxml
Could it be that you haven't re-installed cython since you upgraded python?
I just had the same problem. Reinstalling cython did help. I assume running python-updater would have solved this automatically. I always get bitten by this, would it be possible to somehow warn about this more prominently?
Yes, I just forgot to run python-updater. Sorry for sending bug located mostly in my head than in Gentoo.
(In reply to comment #1) > Could it be that you haven't re-installed cython since you upgraded python? > lxml has the threads flag active, but I think it's dependencies don't. Perhaps enabeling system-wide threads USE flag solves the problem....
Actually, All it needed was to update setuptools (I updated it to ~x86 and lxml started to compile without difficulties).
(In reply to comment #5) > Actually, All it needed was to update setuptools (I updated it to ~x86 and lxml > started to compile without difficulties). Does that mean that a stable version of setuptools can't be used to compile a stable version of lxml? If yes that's a bug AFAICS.