Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404031 - dev-python/gmpy-1.14 fails to build with pypy
Summary: dev-python/gmpy-1.14 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-16 05:36 UTC by Patrick Lauer
Modified: 2012-02-20 15:03 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-16 05:36:38 UTC
running build_ext
building 'gmpy' extension
creating build-2.7-pypy-1.8
creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7
creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7/src
cc -O2 -pipe -fno-strict-aliasing -fPIC -I./src -I/usr/lib64/pypy1.8/include -c src/gmpy.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/src/gmpy.o
In file included from src/gmpy.c:335:0:
src/mpz_pylong.c:68:23: error: expected ‘)’ before ‘*’ token
src/mpz_pylong.c: In function ‘mpn_pylong_size’:
src/mpz_pylong.c:91:34: error: ‘SHIFT’ undeclared (first use in this function)
src/mpz_pylong.c:91:34: note: each undeclared identifier is reported only once for each function it appears in
src/mpz_pylong.c: At top level:
src/mpz_pylong.c:100:23: error: expected ‘)’ before ‘*’ token
src/mpz_pylong.c:138:29: error: expected ‘)’ before ‘*’ token
src/mpz_pylong.c:144:39: error: expected declaration specifiers or ‘...’ before ‘digit’
src/mpz_pylong.c: In function ‘mpn_set_pylong’:
src/mpz_pylong.c:150:3: error: ‘digit’ undeclared (first use in this function)
src/mpz_pylong.c:150:11: error: ‘s’ undeclared (first use in this function)
src/mpz_pylong.c:150:15: error: ‘digits’ undeclared (first use in this function)
src/mpz_pylong.c:160:20: error: ‘SHIFT’ undeclared (first use in this function)
src/mpz_pylong.c:175:27: error: ‘MASK’ undeclared (first use in this function)
src/mpz_pylong.c: In function ‘mpn_pythonhash’:
src/mpz_pylong.c:208:35: error: ‘SHIFT’ undeclared (first use in this function)
src/mpz_pylong.c:221:45: error: ‘MASK’ undeclared (first use in this function)
src/mpz_pylong.c: In function ‘mpz_get_PyLong’:
src/mpz_pylong.c:266:24: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/mpz_pylong.c: In function ‘mpz_set_PyLong’:
src/mpz_pylong.c:281:3: warning: passing argument 1 of ‘PyLong_Check’ from incompatible pointer type
/usr/lib64/pypy1.8/include/pypy_decl.h:188:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyLongObject *’
src/mpz_pylong.c:286:44: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/mpz_pylong.c:291:38: error: ‘PyLongObject’ has no member named ‘ob_digit’
src/mpz_pylong.c:291:3: error: too many arguments to function ‘mpn_set_pylong’
src/mpz_pylong.c:144:1: note: declared here
error: command 'cc' failed with exit status 1
 * ERROR: dev-python/gmpy-1.14 failed (compile phase):
 *   Building failed with PyPy 1.8 (Python 2.7) in distutils_building() function
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 15:03:41 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> gmpy-1.14.ebuild:
+  Restricting pypy #404031