Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python setup.py develop
- running develop
- running egg_info
- writing src/ExtensionClass.egg-info/PKG-INFO
- writing dependency_links to src/ExtensionClass.egg-info/dependency_links.txt
- writing top-level names to src/ExtensionClass.egg-info/top_level.txt
- reading manifest file 'src/ExtensionClass.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- warning: no previously-included files found matching 'src/coverage.xml'
- warning: no previously-included files matching '*.dll' found anywhere in distribution
- warning: no previously-included files matching '*.pyo' found anywhere in distribution
- warning: no previously-included files matching '*.so' found anywhere in distribution
- writing manifest file 'src/ExtensionClass.egg-info/SOURCES.txt'
- running build_ext
- building 'ExtensionClass._ExtensionClass' extension
- cc -pthread -DNDEBUG -O2 -fPIC -Isrc -I/home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include -c src/ExtensionClass/_ExtensionClass.c -o build/temp.linux-x86_64-2.7/src/ExtensionClass/_ExtensionClass.o
- In file included from src/ExtensionClass/_ExtensionClass.c:20:0:
- src/ExtensionClass/ExtensionClass.h:139:0: warning: "Py_FindMethod" redefined
- #define Py_FindMethod(M,SELF,NAME) (EC_findiattrs((SELF),(NAME)))
- ^
- In file included from /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/Python.h:141:0,
- from src/ExtensionClass/ExtensionClass.h:83,
- from src/ExtensionClass/_ExtensionClass.c:20:
- /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/pypy_decl.h:956:0: note: this is the location of the previous definition
- #define Py_FindMethod PyPy_FindMethod
- ^
- src/ExtensionClass/_ExtensionClass.c: In function ‘inheritedAttribute’:
- src/ExtensionClass/_ExtensionClass.c:508:45: error: ‘PySuper_Type’ undeclared (first use in this function)
- cls = PyObject_CallFunction((PyObject*)&PySuper_Type, "OO", self, self);
- ^
- src/ExtensionClass/_ExtensionClass.c:508:45: note: each undeclared identifier is reported only once for each function it appears in
- src/ExtensionClass/_ExtensionClass.c: In function ‘PyExtensionClass_Export_’:
- src/ExtensionClass/_ExtensionClass.c:861:13: warning: assignment makes pointer from integer without a cast
- m = PyDescr_NewMethod(ECBaseType, pure_methods);
- ^
- src/ExtensionClass/_ExtensionClass.c:883:9: warning: assignment makes pointer from integer without a cast
- m = PyDescr_NewMethod(typ, mdef);
- ^
- In file included from /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/Python.h:81:0,
- from src/ExtensionClass/ExtensionClass.h:83,
- from src/ExtensionClass/_ExtensionClass.c:20:
- src/ExtensionClass/_ExtensionClass.c: In function ‘PyECMethod_New_’:
- src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
- Py_XDECREF(((PyMethodObject*)callable)->im_self);
- ^
- /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:47:34: note: in definition of macro ‘Py_XDECREF’
- #define Py_XDECREF(op) do { if ((op) == NULL) ; else Py_DECREF(op); } while (0)
- ^
- src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
- Py_XDECREF(((PyMethodObject*)callable)->im_self);
- ^
- /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:40:29: note: in definition of macro ‘Py_DECREF’
- if (--((PyObject *)(op))->ob_refcnt != 0) \
- ^
- src/ExtensionClass/_ExtensionClass.c:911:11: note: in expansion of macro ‘Py_XDECREF’
- Py_XDECREF(((PyMethodObject*)callable)->im_self);
- ^
- src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
- Py_XDECREF(((PyMethodObject*)callable)->im_self);
- ^
- /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:43:38: note: in definition of macro ‘Py_DECREF’
- _Py_Dealloc((PyObject *)(op)); \
- ^
- src/ExtensionClass/_ExtensionClass.c:911:11: note: in expansion of macro ‘Py_XDECREF’
- Py_XDECREF(((PyMethodObject*)callable)->im_self);
- ^
- src/ExtensionClass/_ExtensionClass.c:913:38: error: ‘PyMethodObject’ has no member named ‘im_self’
- ((PyMethodObject*)callable)->im_self = inst;
- ^
- error: command 'cc' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement