Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420653 - dev-python/twisted-11.0.0 fails to install with pypy-1.9
Summary: dev-python/twisted-11.0.0 fails to install with pypy-1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 08:42 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2012-10-05 14:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirkjan Ochtman (RETIRED) gentoo-dev 2012-06-11 08:42:11 UTC
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'
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2012-06-11 09:22:20 UTC
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.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-10-05 08:32:13 UTC
Marien, any updates on this?
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2012-10-05 14:46:38 UTC
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.