Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. python setup.py develop
  2. running develop
  3. running egg_info
  4. writing src/ExtensionClass.egg-info/PKG-INFO
  5. writing dependency_links to src/ExtensionClass.egg-info/dependency_links.txt
  6. writing top-level names to src/ExtensionClass.egg-info/top_level.txt
  7. reading manifest file 'src/ExtensionClass.egg-info/SOURCES.txt'
  8. reading manifest template 'MANIFEST.in'
  9. warning: no previously-included files found matching 'src/coverage.xml'
  10. warning: no previously-included files matching '*.dll' found anywhere in distribution
  11. warning: no previously-included files matching '*.pyo' found anywhere in distribution
  12. warning: no previously-included files matching '*.so' found anywhere in distribution
  13. writing manifest file 'src/ExtensionClass.egg-info/SOURCES.txt'
  14. running build_ext
  15. building 'ExtensionClass._ExtensionClass' extension
  16. 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
  17. In file included from src/ExtensionClass/_ExtensionClass.c:20:0:
  18. src/ExtensionClass/ExtensionClass.h:139:0: warning: "Py_FindMethod" redefined
  19. #define Py_FindMethod(M,SELF,NAME) (EC_findiattrs((SELF),(NAME)))
  20. ^
  21. In file included from /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/Python.h:141:0,
  22. from src/ExtensionClass/ExtensionClass.h:83,
  23. from src/ExtensionClass/_ExtensionClass.c:20:
  24. /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
  25. #define Py_FindMethod PyPy_FindMethod
  26. ^
  27. src/ExtensionClass/_ExtensionClass.c: In function ‘inheritedAttribute’:
  28. src/ExtensionClass/_ExtensionClass.c:508:45: error: ‘PySuper_Type’ undeclared (first use in this function)
  29. cls = PyObject_CallFunction((PyObject*)&PySuper_Type, "OO", self, self);
  30. ^
  31. src/ExtensionClass/_ExtensionClass.c:508:45: note: each undeclared identifier is reported only once for each function it appears in
  32. src/ExtensionClass/_ExtensionClass.c: In function ‘PyExtensionClass_Export_’:
  33. src/ExtensionClass/_ExtensionClass.c:861:13: warning: assignment makes pointer from integer without a cast
  34. m = PyDescr_NewMethod(ECBaseType, pure_methods);
  35. ^
  36. src/ExtensionClass/_ExtensionClass.c:883:9: warning: assignment makes pointer from integer without a cast
  37. m = PyDescr_NewMethod(typ, mdef);
  38. ^
  39. In file included from /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/Python.h:81:0,
  40. from src/ExtensionClass/ExtensionClass.h:83,
  41. from src/ExtensionClass/_ExtensionClass.c:20:
  42. src/ExtensionClass/_ExtensionClass.c: In function ‘PyECMethod_New_’:
  43. src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
  44. Py_XDECREF(((PyMethodObject*)callable)->im_self);
  45. ^
  46. /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:47:34: note: in definition of macro ‘Py_XDECREF’
  47. #define Py_XDECREF(op) do { if ((op) == NULL) ; else Py_DECREF(op); } while (0)
  48. ^
  49. src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
  50. Py_XDECREF(((PyMethodObject*)callable)->im_self);
  51. ^
  52. /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:40:29: note: in definition of macro ‘Py_DECREF’
  53. if (--((PyObject *)(op))->ob_refcnt != 0) \
  54. ^
  55. src/ExtensionClass/_ExtensionClass.c:911:11: note: in expansion of macro ‘Py_XDECREF’
  56. Py_XDECREF(((PyMethodObject*)callable)->im_self);
  57. ^
  58. src/ExtensionClass/_ExtensionClass.c:911:49: error: ‘PyMethodObject’ has no member named ‘im_self’
  59. Py_XDECREF(((PyMethodObject*)callable)->im_self);
  60. ^
  61. /home/rotonen/.pyenv/versions/pypy2.7-5.9.0/envs/Zope/include/object.h:43:38: note: in definition of macro ‘Py_DECREF’
  62. _Py_Dealloc((PyObject *)(op)); \
  63. ^
  64. src/ExtensionClass/_ExtensionClass.c:911:11: note: in expansion of macro ‘Py_XDECREF’
  65. Py_XDECREF(((PyMethodObject*)callable)->im_self);
  66. ^
  67. src/ExtensionClass/_ExtensionClass.c:913:38: error: ‘PyMethodObject’ has no member named ‘im_self’
  68. ((PyMethodObject*)callable)->im_self = inst;
  69. ^
  70. error: command 'cc' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement