[pypy-issue] [issue762] Error trying to build a C extension in the zope.proxy 3.6.1 package

Nicola Larosa tracker at bugs.pypy.org
Sat Jun 25 15:55:23 CEST 2011


New submission from Nicola Larosa <pypy at teknico.net>:

Here's the output of trying to build the zope.proxy 3.6.1 package
<http://pypi.python.org/pypi/zope.proxy> under PyPy 1.5.

Unfortunately the C extension is mandatory, so this error effectively prevents
this package from building.

user at host:~/zope.proxy-3.6.1$ PYTHONPATH=. ~/pypy-1.5/bin/pypy setup.py build
running build
running build_py
...
cc -fPIC -Wimplicit -I~/pypy-1.5/include -c src/zope/proxy/_zope_proxy_proxy.c
-o build/temp.linux-i686-2.7/src/zope/proxy/_zope_proxy_proxy.o
src/zope/proxy/_zope_proxy_proxy.c: In function ‘WrapperType_Lookup’:
src/zope/proxy/_zope_proxy_proxy.c:177:47: error: ‘PyClassObject’ has no member
named ‘cl_dict’
src/zope/proxy/_zope_proxy_proxy.c: In function ‘wrap_coerce’:
src/zope/proxy/_zope_proxy_proxy.c:561:5: warning: implicit declaration of
function ‘PyNumber_CoerceEx’
src/zope/proxy/_zope_proxy_proxy.c: In function ‘wrap_slice’:
src/zope/proxy/_zope_proxy_proxy.c:634:9: warning: implicit declaration of
function ‘PyList_GetSlice’
src/zope/proxy/_zope_proxy_proxy.c:634:9: warning: return makes pointer from
integer without a cast
src/zope/proxy/_zope_proxy_proxy.c:637:9: warning: implicit declaration of
function ‘PyTuple_GetSlice’
src/zope/proxy/_zope_proxy_proxy.c:637:9: warning: return makes pointer from
integer without a cast
error: command 'cc' failed with exit status 1

----------
messages: 2668
nosy: pypy-issue, tekNico
priority: bug
release: 1.5
status: unread
title: Error trying to build a C extension in the zope.proxy 3.6.1 package

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue762>
________________________________________


More information about the pypy-issue mailing list