Advertisement
BRIDIN

Ошибка 67

Dec 11th, 2021
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.11 KB | None | 0 0
  1. pi@raspberrypi:~/rpi-fb-matrix/rpi-rgb-led-matrix/bindings/python $ sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
  2. Пол:1 http://archive.raspberrypi.org/debian bullseye InRelease [23,5 kB]
  3. Пол:2 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [242 kB]
  4. Пол:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
  5. Пол:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB]
  6. Получено 13,5 MB за 11с (1.241 kB/s)
  7. Чтение списков пакетов… Готово
  8. N: Репозиторий «http://archive.raspberrypi.org/debian bullseye InRelease» изменил значение поля «Suite» с «unstable» на «stable»
  9. Чтение списков пакетов… Готово
  10. Построение дерева зависимостей… Готово
  11. Чтение информации о состоянии… Готово
  12. Заметьте, вместо «python3-pillow» выбирается «python3-pil»
  13. Уже установлен пакет python3-dev самой новой версии (3.9.2-3).
  14. python3-dev помечен как установленный вручную.
  15. Уже установлен пакет python3-pil самой новой версии (8.1.2+dfsg-0.3).
  16. python3-pil помечен как установленный вручную.
  17. Следующий пакет устанавливался автоматически и больше не требуется:
  18. libfuse2
  19. Для его удаления используйте «sudo apt autoremove».
  20. Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 92 пакетов не обновлено.
  21. pi@raspberrypi:~/rpi-fb-matrix/rpi-rgb-led-matrix/bindings/python $ make build-python PYTHON=$(which python3)
  22. make -C ../../lib
  23. make[1]: вход в каталог «/home/pi/rpi-fb-matrix/rpi-rgb-led-matrix/lib»
  24. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o gpio.o gpio.cc
  25. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix.o led-matrix.cc
  26. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o options-initialize.o options-initialize.cc
  27. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o framebuffer.o framebuffer.cc
  28. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o thread.o thread.cc
  29. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o bdf-font.o bdf-font.cc
  30. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o graphics.o graphics.cc
  31. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o transformer.o transformer.cc
  32. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix-c.o led-matrix-c.cc
  33. cc -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -c -o hardware-mapping.o hardware-mapping.c
  34. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o content-streamer.o content-streamer.cc
  35. g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o multiplex-transformers.o multiplex-transformers.cc
  36. ar rcs librgbmatrix.a gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o multiplex-transformers.o
  37. g++ -shared -Wl,-soname,librgbmatrix.so.1 -o librgbmatrix.so.1 gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o multiplex-transformers.o -lpthread -lrt -lm -lpthread
  38. make[1]: выход из каталога «/home/pi/rpi-fb-matrix/rpi-rgb-led-matrix/lib»
  39. /usr/bin/python3 setup.py build --build-lib .
  40. running build
  41. running build_py
  42. running build_ext
  43. building 'core' extension
  44. creating build
  45. creating build/temp.linux-armv7l-3.9
  46. creating build/temp.linux-armv7l-3.9/rgbmatrix
  47. arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.9 -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-3.9/rgbmatrix/core.o -O3 -Wall
  48. rgbmatrix/core.cpp: In function ‘PyObject* PyInit_core()’:
  49. rgbmatrix/core.cpp:8478:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
  50. 8478 | __pyx_type_9rgbmatrix_4core_Canvas.tp_print = 0;
  51. | ^~~~~~~~
  52. rgbmatrix/core.cpp:8489:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
  53. 8489 | __pyx_type_9rgbmatrix_4core_FrameCanvas.tp_print = 0;
  54. | ^~~~~~~~
  55. rgbmatrix/core.cpp:8500:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
  56. 8500 | __pyx_type_9rgbmatrix_4core_RGBMatrix.tp_print = 0;
  57. | ^~~~~~~~
  58. rgbmatrix/core.cpp:8506:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
  59. 8506 | __pyx_type_9rgbmatrix_4core_RGBMatrixOptions.tp_print = 0;
  60. | ^~~~~~~~
  61. In file included from /usr/include/python3.9/unicodeobject.h:1026,
  62. from /usr/include/python3.9/Python.h:97,
  63. from rgbmatrix/core.cpp:4:
  64. rgbmatrix/core.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
  65. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  66. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  67. | ^
  68. /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  69. 261 | PyUnicode_WSTR_LENGTH(op) : \
  70. | ^~~~~~~~~~~~~~~~~~~~~
  71. rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  72. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  73. | ^~~~~~~~~~~~~~~~~~
  74. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  75. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  76. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  77. /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  78. 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
  79. | ^
  80. rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  81. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  82. | ^~~~~~~~~~~~~~~~~~
  83. /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  84. 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
  85. | ^~~~~~~~~~~~~~~~~~~
  86. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  87. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  88. | ^
  89. /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  90. 264 | PyUnicode_WSTR_LENGTH(op)))
  91. | ^~~~~~~~~~~~~~~~~~~~~
  92. rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  93. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  94. | ^~~~~~~~~~~~~~~~~~
  95. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  96. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  97. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  98. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  99. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  100. | ^
  101. /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  102. 261 | PyUnicode_WSTR_LENGTH(op) : \
  103. | ^~~~~~~~~~~~~~~~~~~~~
  104. rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  105. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  106. | ^~~~~~~~~~~~~~~~~~
  107. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  108. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  109. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  110. /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  111. 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
  112. | ^
  113. rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  114. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  115. | ^~~~~~~~~~~~~~~~~~
  116. /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  117. 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
  118. | ^~~~~~~~~~~~~~~~~~~
  119. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  120. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  121. | ^
  122. /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  123. 264 | PyUnicode_WSTR_LENGTH(op)))
  124. | ^~~~~~~~~~~~~~~~~~~~~
  125. rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126. 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  127. | ^~~~~~~~~~~~~~~~~~
  128. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  129. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  130. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  131. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  132. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  133. | ^
  134. /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  135. 261 | PyUnicode_WSTR_LENGTH(op) : \
  136. | ^~~~~~~~~~~~~~~~~~~~~
  137. rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  138. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  139. | ^~~~~~~~~~~~~~~~~~
  140. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  141. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  142. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  143. /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  144. 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
  145. | ^
  146. rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  147. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  148. | ^~~~~~~~~~~~~~~~~~
  149. /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  150. 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
  151. | ^~~~~~~~~~~~~~~~~~~
  152. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  153. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  154. | ^
  155. /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  156. 264 | PyUnicode_WSTR_LENGTH(op)))
  157. | ^~~~~~~~~~~~~~~~~~~~~
  158. rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  159. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  160. | ^~~~~~~~~~~~~~~~~~
  161. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  162. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  163. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  164. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  165. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  166. | ^
  167. /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  168. 261 | PyUnicode_WSTR_LENGTH(op) : \
  169. | ^~~~~~~~~~~~~~~~~~~~~
  170. rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  171. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  172. | ^~~~~~~~~~~~~~~~~~
  173. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  174. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  175. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  176. /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  177. 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
  178. | ^
  179. rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  180. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  181. | ^~~~~~~~~~~~~~~~~~
  182. /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  183. 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
  184. | ^~~~~~~~~~~~~~~~~~~
  185. /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  186. 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
  187. | ^
  188. /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  189. 264 | PyUnicode_WSTR_LENGTH(op)))
  190. | ^~~~~~~~~~~~~~~~~~~~~
  191. rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  192. 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  193. | ^~~~~~~~~~~~~~~~~~
  194. /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  195. 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  196. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  197. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
  198. make: *** [Makefile:67: build-python] Ошибка 1
  199.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement