running build_ext cc -march=native -O2 -pipe -fPIC -I/usr/lib64/pypy1.9/include -c conftest.c -o conftest.o building 'twisted.test.raiser' extension creating build-2.7-pypy-1.9/temp.linux-x86_64-2.7 creating build-2.7-pypy-1.9/temp.linux-x86_64-2.7/twisted creating build-2.7-pypy-1.9/temp.linux-x86_64-2.7/twisted/test cc -march=native -O2 -pipe -fPIC -I/usr/lib64/pypy1.9/include -c twisted/test/raiser.c -o build-2.7-pypy-1.9/temp.linux-x86_64-2.7/twisted/test/raiser.o twisted/test/raiser.c: In function ‘__Pyx_ErrRestore’: twisted/test/raiser.c:674:22: error: ‘PyThreadState’ has no member named ‘curexc_type’ twisted/test/raiser.c:675:23: error: ‘PyThreadState’ has no member named ‘curexc_value’ twisted/test/raiser.c:676:20: error: ‘PyThreadState’ has no member named ‘curexc_traceback’ twisted/test/raiser.c:677:11: error: ‘PyThreadState’ has no member named ‘curexc_type’ twisted/test/raiser.c:678:11: error: ‘PyThreadState’ has no member named ‘curexc_value’ twisted/test/raiser.c:679:11: error: ‘PyThreadState’ has no member named ‘curexc_traceback’ twisted/test/raiser.c: In function ‘__Pyx_ErrFetch’: twisted/test/raiser.c:687:19: error: ‘PyThreadState’ has no member named ‘curexc_type’ twisted/test/raiser.c:688:20: error: ‘PyThreadState’ has no member named ‘curexc_value’ twisted/test/raiser.c:689:17: error: ‘PyThreadState’ has no member named ‘curexc_traceback’ twisted/test/raiser.c:691:11: error: ‘PyThreadState’ has no member named ‘curexc_type’ twisted/test/raiser.c:692:11: error: ‘PyThreadState’ has no member named ‘curexc_value’ twisted/test/raiser.c:693:11: error: ‘PyThreadState’ has no member named ‘curexc_traceback’ error: command 'cc' failed with exit status 1 * ERROR: dev-python/twisted-11.0.0 failed (compile phase): * Building failed with PyPy 1.9 (Python 2.7) in distutils_building() function * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 5114: Called distutils_src_compile * environment, line 1216: Called python_execute_function 'distutils_building' * environment, line 3461: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/twisted-11.0.0', * the complete build log and the output of 'emerge -pqv =dev-python/twisted-11.0.0'. * The complete build log is located at '/var/tmp/portage/dev-python/twisted-11.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/twisted-11.0.0/temp/environment'. * S: '/var/tmp/portage/dev-python/twisted-11.0.0/work/TwistedCore-11.0.0'
From the Twisted Core NEWS file, under 11.1.0: - Twisted is now installable on PyPy, because some incompatible C extensions are no longer built. (#5158) So I'll restrict *-pypy-* in twisted < 11.1.0 (and subpackages) along with committing 12.1.0, hopefully later today.
Marien, any updates on this?
Well, it's a little later than "later today" (didn't help that I accidentally my entire cvs checkout), but twisted 12.2.0 is in the tree and I've restricted pypy in <twisted-11.1.0 now. Tests still need work (but I think pypy itself needs some more work for those to pass too), but AFAIK it's functional enough to be useful.