Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403785 - dev-python/pycrypto-2.4.1 fails to build with pypy
Summary: dev-python/pycrypto-2.4.1 fails to build with pypy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 06:29 UTC by Patrick Lauer
Modified: 2012-02-20 15:34 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 Patrick Lauer gentoo-dev 2012-02-15 06:29:07 UTC
running build_ext
running build_configure
building 'Crypto.PublicKey._fastmath' extension
creating build-2.7-pypy-1.7/temp.linux-x86_64-2.7
creating build-2.7-pypy-1.7/temp.linux-x86_64-2.7/src
cc -pipe -fno-inline-functions -fno-strict-aliasing -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/usr/lib64/pypy1.7/include -c src/_fastmath.c -o build-2.7-pypy-1.7/temp.linux-x86_64-2.7/src/_fastmath.o
src/_fastmath.c: In function ‘longObjToMPZ’:
src/_fastmath.c:78:7: error: ‘PyLongObject’ has no member named ‘ob_size’
src/_fastmath.c:79:11: error: ‘PyLongObject’ has no member named ‘ob_size’
src/_fastmath.c:81:12: error: ‘PyLongObject’ has no member named ‘ob_size’
src/_fastmath.c:86:22: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/_fastmath.c:90:30: error: ‘SHIFT’ undeclared (first use in this function)
src/_fastmath.c:90:30: note: each undeclared identifier is reported only once for each function it appears in
src/_fastmath.c: In function ‘mpzToLongObj’:
src/_fastmath.c:105:38: error: ‘SHIFT’ undeclared (first use in this function)
src/_fastmath.c:109:2: warning: implicit declaration of function ‘_PyLong_New’
src/_fastmath.c:109:20: warning: initialization makes pointer from integer without a cast
src/_fastmath.c:119:4: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/_fastmath.c:119:21: error: ‘digit’ undeclared (first use in this function)
src/_fastmath.c:119:49: error: ‘MASK’ undeclared (first use in this function)
src/_fastmath.c:124:22: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/_fastmath.c:129:3: error: ‘PyLongObject’ has no member named ‘ob_size’
error: command 'cc' failed with exit status 1
 * ERROR: dev-python/pycrypto-2.4.1 failed (compile phase):
 *   Building failed with PyPy 1.7 (Python 2.7) in distutils_building() function
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 15:34:18 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> pycrypto-2.3.ebuild,
+  pycrypto-2.4.1.ebuild, pycrypto-2.5.ebuild:
+  Restricting pypy #403785