Advertisement
Guest User

Log File

a guest
Oct 11th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.50 KB | None | 0 0
  1. /usr/lib/python3/dist-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
  2. warnings.warn(msg, SetuptoolsDeprecationWarning)
  3. running build
  4. running build_py
  5. running build_ext
  6. building 'google.protobuf.pyext._message' extension
  7. arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I. -I../src -I/usr/include/python3.11 -c google/protobuf/pyext/descriptor.cc -o build/temp.linux-aarch64-cpython-311/google/protobuf/pyext/descriptor.o -Wno-write-strings -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-variable -std=c++11
  8. google/protobuf/pyext/descriptor.cc: In function ‘bool google::protobuf::python::_CalledFromGeneratedFile(int)’:
  9. google/protobuf/pyext/descriptor.cc:108:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  10. 108 | frame = frame->f_back;
  11. | ^~
  12. In file included from /usr/include/python3.11/Python.h:42,
  13. from google/protobuf/pyext/descriptor.cc:33:
  14. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  15. 22 | typedef struct _frame PyFrameObject;
  16. | ^~~~~~
  17. google/protobuf/pyext/descriptor.cc:114:12: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  18. 114 | if (frame->f_code->co_filename == NULL) {
  19. | ^~
  20. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  21. 22 | typedef struct _frame PyFrameObject;
  22. | ^~~~~~
  23. In file included from /usr/include/python3.11/Python.h:44:
  24. google/protobuf/pyext/descriptor.cc:119:37: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  25. 119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
  26. | ^~
  27. /usr/include/python3.11/object.h:775:59: note: in definition of macro ‘PyType_FastSubclass’
  28. 775 | #define PyType_FastSubclass(type, flag) PyType_HasFeature(type, flag)
  29. | ^~~~
  30. /usr/include/python3.11/object.h:107:28: note: in expansion of macro ‘_Py_CAST’
  31. 107 | #define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  32. | ^~~~~~~~
  33. /usr/include/python3.11/object.h:136:31: note: in expansion of macro ‘_PyObject_CAST’
  34. 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
  35. | ^~~~~~~~~~~~~~
  36. /usr/include/python3.11/unicodeobject.h:115:25: note: in expansion of macro ‘Py_TYPE’
  37. 115 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  38. | ^~~~~~~
  39. google/protobuf/pyext/descriptor.cc:59:4: note: in expansion of macro ‘PyUnicode_Check’
  40. 59 | (PyUnicode_Check(ob) ? ((*(charpp) = const_cast<char*>( \
  41. | ^~~~~~~~~~~~~~~
  42. google/protobuf/pyext/descriptor.cc:119:7: note: in expansion of macro ‘PyString_AsStringAndSize’
  43. 119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
  44. | ^~~~~~~~~~~~~~~~~~~~~~~~
  45. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  46. 22 | typedef struct _frame PyFrameObject;
  47. | ^~~~~~
  48. google/protobuf/pyext/descriptor.cc:119:37: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  49. 119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
  50. | ^~
  51. google/protobuf/pyext/descriptor.cc:60:56: note: in definition of macro ‘PyString_AsStringAndSize’
  52. 60 | PyUnicode_AsUTF8AndSize(ob, (sizep)))) == NULL \
  53. | ^~
  54. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  55. 22 | typedef struct _frame PyFrameObject;
  56. | ^~~~~~
  57. google/protobuf/pyext/descriptor.cc:119:37: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  58. 119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
  59. | ^~
  60. google/protobuf/pyext/descriptor.cc:63:50: note: in definition of macro ‘PyString_AsStringAndSize’
  61. 63 | : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
  62. | ^~
  63. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  64. 22 | typedef struct _frame PyFrameObject;
  65. | ^~~~~~
  66. google/protobuf/pyext/descriptor.cc:140:12: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  67. 140 | if (frame->f_globals != frame->f_locals) {
  68. | ^~
  69. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  70. 22 | typedef struct _frame PyFrameObject;
  71. | ^~~~~~
  72. google/protobuf/pyext/descriptor.cc:140:32: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  73. 140 | if (frame->f_globals != frame->f_locals) {
  74. | ^~
  75. /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
  76. 22 | typedef struct _frame PyFrameObject;
  77. | ^~~~~~
  78. In file included from /usr/include/python3.11/Python.h:95:
  79. google/protobuf/pyext/descriptor.cc: In function ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*)’:
  80. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  81. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  82. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  84. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  85. | ^~~~~~~~~~~~~~~~~
  86. /usr/include/python3.11/ceval.h:27:43: note: declared here
  87. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  88. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::Descriptor; PyObject = _object]’:
  90. google/protobuf/pyext/descriptor.cc:601:27: required from here
  91. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  92. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  93. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  94. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  95. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  96. | ^~~~~~~~~~~~~~~~~
  97. /usr/include/python3.11/ceval.h:27:43: note: declared here
  98. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  99. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  101. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  102. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  103. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  104. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  105. | ^~~~~~~~~~~~~~~~~
  106. /usr/include/python3.11/ceval.h:27:43: note: declared here
  107. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  108. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::FieldDescriptor; PyObject = _object]’:
  110. google/protobuf/pyext/descriptor.cc:950:27: required from here
  111. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  112. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  113. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  115. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  116. | ^~~~~~~~~~~~~~~~~
  117. /usr/include/python3.11/ceval.h:27:43: note: declared here
  118. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  119. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  120. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  121. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  122. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  124. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  125. | ^~~~~~~~~~~~~~~~~
  126. /usr/include/python3.11/ceval.h:27:43: note: declared here
  127. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  128. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  129. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::EnumDescriptor; PyObject = _object]’:
  130. google/protobuf/pyext/descriptor.cc:1114:27: required from here
  131. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  132. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  133. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  134. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  135. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  136. | ^~~~~~~~~~~~~~~~~
  137. /usr/include/python3.11/ceval.h:27:43: note: declared here
  138. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  139. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  141. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  142. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  143. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  144. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  145. | ^~~~~~~~~~~~~~~~~
  146. /usr/include/python3.11/ceval.h:27:43: note: declared here
  147. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  148. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::EnumValueDescriptor; PyObject = _object]’:
  150. google/protobuf/pyext/descriptor.cc:1245:27: required from here
  151. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  152. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  153. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  155. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  156. | ^~~~~~~~~~~~~~~~~
  157. /usr/include/python3.11/ceval.h:27:43: note: declared here
  158. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  159. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  160. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  161. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  162. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  164. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  165. | ^~~~~~~~~~~~~~~~~
  166. /usr/include/python3.11/ceval.h:27:43: note: declared here
  167. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  168. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  169. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::FileDescriptor; PyObject = _object]’:
  170. google/protobuf/pyext/descriptor.cc:1402:27: required from here
  171. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  172. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  173. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  175. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  176. | ^~~~~~~~~~~~~~~~~
  177. /usr/include/python3.11/ceval.h:27:43: note: declared here
  178. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  179. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  181. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  182. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  184. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  185. | ^~~~~~~~~~~~~~~~~
  186. /usr/include/python3.11/ceval.h:27:43: note: declared here
  187. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  188. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::OneofDescriptor; PyObject = _object]’:
  190. google/protobuf/pyext/descriptor.cc:1579:27: required from here
  191. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  192. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  193. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  194. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  195. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  196. | ^~~~~~~~~~~~~~~~~
  197. /usr/include/python3.11/ceval.h:27:43: note: declared here
  198. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  199. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  200. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  201. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  202. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  203. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  204. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  205. | ^~~~~~~~~~~~~~~~~
  206. /usr/include/python3.11/ceval.h:27:43: note: declared here
  207. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  208. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  209. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::ServiceDescriptor; PyObject = _object]’:
  210. google/protobuf/pyext/descriptor.cc:1703:27: required from here
  211. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  212. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  213. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  214. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  215. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  216. | ^~~~~~~~~~~~~~~~~
  217. /usr/include/python3.11/ceval.h:27:43: note: declared here
  218. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  219. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  221. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  222. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  223. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  224. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  225. | ^~~~~~~~~~~~~~~~~
  226. /usr/include/python3.11/ceval.h:27:43: note: declared here
  227. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  228. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  229. google/protobuf/pyext/descriptor.cc: In instantiation of ‘PyObject* google::protobuf::python::GetOrBuildOptions(const DescriptorClass*) [with DescriptorClass = google::protobuf::MethodDescriptor; PyObject = _object]’:
  230. google/protobuf/pyext/descriptor.cc:1817:27: required from here
  231. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  232. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  233. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  235. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  236. | ^~~~~~~~~~~~~~~~~
  237. /usr/include/python3.11/ceval.h:27:43: note: declared here
  238. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  239. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  240. /usr/include/python3.11/ceval.h:34:34: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
  241. 34 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
  242. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  243. google/protobuf/pyext/descriptor.cc:251:7: note: in expansion of macro ‘PyEval_CallObject’
  244. 251 | PyEval_CallObject(message_class->AsPyObject(), NULL));
  245. | ^~~~~~~~~~~~~~~~~
  246. /usr/include/python3.11/ceval.h:27:43: note: declared here
  247. 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  248. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  249. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement