Advertisement
trashatkivy

long ffpyplayer error after installing cython

Jan 13th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.52 KB | None | 0 0
  1. nyp@nyp-desktop:~$ python3 -m pip install kivy[full] kivy_examples
  2. Defaulting to user installation because normal site-packages is not writeable
  3. Requirement already satisfied: kivy[full] in ./.local/lib/python3.6/site-packages (2.0.0)
  4. Collecting kivy_examples
  5. Using cached Kivy_examples-2.0.0-py2.py3-none-any.whl (9.2 MB)
  6. Requirement already satisfied: docutils in ./.local/lib/python3.6/site-packages (from kivy_examples) (0.16)
  7. Requirement already satisfied: pygments in ./.local/lib/python3.6/site-packages (from kivy_examples) (2.7.4)
  8. Requirement already satisfied: Kivy-Garden>=0.1.4 in ./.local/lib/python3.6/site-packages (from kivy_examples) (0.1.4)
  9. Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from Kivy-Garden>=0.1.4->kivy_examples) (2.18.4)
  10. Requirement already satisfied: pillow in ./.local/lib/python3.6/site-packages (from kivy[full]) (8.1.0)
  11. Collecting ffpyplayer
  12. Using cached ffpyplayer-4.3.2.tar.gz (86 kB)
  13. Building wheels for collected packages: ffpyplayer
  14. Building wheel for ffpyplayer (setup.py) ... error
  15. ERROR: Command errored out with exit status 1:
  16. command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-v7ai_i1d
  17. cwd: /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/
  18. Complete output (235 lines):
  19. Using setuptools
  20. FFMPEG_ROOT: "None"
  21. WARNING: A problem occured while running pkg-config --libs --cflags libavcodec libavdevice libavfilter libavformat libavutil libswscale libswresample libpostproc (code 1)
  22.  
  23. b"Package libavcodec was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavcodec.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavcodec' found\nPackage libavdevice was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavdevice.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavdevice' found\nPackage libavfilter was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavfilter.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavfilter' found\nPackage libavformat was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavformat.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavformat' found\nPackage libavutil was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavutil.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavutil' found\nPackage libswscale was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libswscale.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libswscale' found\nPackage libswresample was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libswresample.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libswresample' found\nPackage libpostproc was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libpostproc.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libpostproc' found\n"
  24.  
  25. SDL_ROOT: "None"
  26. WARNING: A problem occured while running pkg-config --libs --cflags sdl2 (code 1)
  27.  
  28. b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\n"
  29.  
  30. WARNING: A problem occured while running pkg-config --libs --cflags sdl (code 1)
  31.  
  32. b"Package sdl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl' found\n"
  33.  
  34. Selecting SDL2 out of (SDL, SDL2)
  35. Generating ffconfig.h
  36. Generating ffconfig.pxi
  37. Include directories: ['/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer', '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes']
  38. Library directories: []
  39. running bdist_wheel
  40. running build
  41. running build_py
  42. creating build
  43. creating build/lib.linux-aarch64-3.6
  44. creating build/lib.linux-aarch64-3.6/ffpyplayer
  45. copying ffpyplayer/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer
  46. creating build/lib.linux-aarch64-3.6/ffpyplayer/player
  47. copying ffpyplayer/player/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  48. creating build/lib.linux-aarch64-3.6/ffpyplayer/tests
  49. copying ffpyplayer/tests/common.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  50. copying ffpyplayer/tests/test_pic.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  51. copying ffpyplayer/tests/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  52. copying ffpyplayer/tests/test_write.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  53. copying ffpyplayer/tests/test_play.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  54. copying ffpyplayer/player/player.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  55. copying ffpyplayer/player/decoder.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  56. copying ffpyplayer/player/clock.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  57. copying ffpyplayer/player/queue.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  58. copying ffpyplayer/player/core.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  59. copying ffpyplayer/player/frame_queue.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  60. creating build/lib.linux-aarch64-3.6/ffpyplayer/clib
  61. copying ffpyplayer/clib/misc.h -> build/lib.linux-aarch64-3.6/ffpyplayer/clib
  62. creating build/lib.linux-aarch64-3.6/ffpyplayer/includes
  63. copying ffpyplayer/includes/ffmpeg.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  64. copying ffpyplayer/includes/inline_funcs.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  65. copying ffpyplayer/includes/ffconfig.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  66. copying ffpyplayer/includes/ff_consts.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  67. copying ffpyplayer/includes/sdl.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  68. copying ffpyplayer/includes/ffconfig.h -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  69. copying ffpyplayer/writer.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  70. copying ffpyplayer/threading.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  71. copying ffpyplayer/pic.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  72. running build_ext
  73. Using compiler "unix"
  74. Using compiler args: ['-O3', '-fno-strict-aliasing', '-Wno-error']
  75. Using linker args: []
  76. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c
  77. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/threading.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/threading.c
  78. warning: ffpyplayer/includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  79. warning: ffpyplayer/includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  80. warning: ffpyplayer/includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  81. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/tools.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/tools.c
  82. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/writer.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/writer.c
  83. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/clock.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/clock.c
  84. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  85. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  86. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  87. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/core.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/core.c
  88. warning: ffpyplayer/player/../includes/sdl.pxi:167:4: 'SDL_eventaction' redeclared
  89. warning: ffpyplayer/player/../includes/sdl.pxi:5:8: 'SDL_INIT_VIDEO' redeclared
  90. warning: ffpyplayer/player/../includes/sdl.pxi:6:8: 'SDL_INIT_AUDIO' redeclared
  91. warning: ffpyplayer/player/../includes/sdl.pxi:7:8: 'SDL_INIT_TIMER' redeclared
  92. warning: ffpyplayer/player/../includes/sdl.pxi:8:8: 'SDL_INIT_EVENTTHREAD' redeclared
  93. warning: ffpyplayer/player/../includes/sdl.pxi:75:13: 'SDL_HWACCEL' redeclared
  94. warning: ffpyplayer/player/../includes/sdl.pxi:76:13: 'SDL_ASYNCBLIT' redeclared
  95. warning: ffpyplayer/player/../includes/sdl.pxi:77:13: 'SDL_HWSURFACE' redeclared
  96. warning: ffpyplayer/player/../includes/sdl.pxi:78:13: 'SDL_FULLSCREEN' redeclared
  97. warning: ffpyplayer/player/../includes/sdl.pxi:79:13: 'SDL_RESIZABLE' redeclared
  98. warning: ffpyplayer/player/../includes/sdl.pxi:80:13: 'SDL_YV12_OVERLAY' redeclared
  99. warning: ffpyplayer/player/../includes/sdl.pxi:81:12: 'SDL_MIX_MAXVOLUME' redeclared
  100. warning: ffpyplayer/player/../includes/sdl.pxi:83:13: 'AUDIO_S16SYS' redeclared
  101. warning: ffpyplayer/player/../includes/sdl.pxi:86:12: 'SDL_AUDIO_ALLOW_ANY_CHANGE' redeclared
  102. warning: ffpyplayer/player/../includes/sdl.pxi:87:8: 'SDL_AudioDeviceID' redeclared
  103. warning: ffpyplayer/player/../includes/sdl.pxi:127:8: 'SDL_IGNORE' redeclared
  104. warning: ffpyplayer/player/../includes/sdl.pxi:128:12: 'SDL_ACTIVEEVENT' redeclared
  105. warning: ffpyplayer/player/../includes/sdl.pxi:129:12: 'SDL_SYSWMEVENT' redeclared
  106. warning: ffpyplayer/player/../includes/sdl.pxi:131:8: 'SDL_VIDEOEXPOSE' redeclared
  107. warning: ffpyplayer/player/../includes/sdl.pxi:132:8: 'SDL_USEREVENT' redeclared
  108. warning: ffpyplayer/player/../includes/sdl.pxi:133:8: 'SDL_QUIT' redeclared
  109. warning: ffpyplayer/player/../includes/sdl.pxi:134:8: 'SDL_VIDEORESIZE' redeclared
  110. warning: ffpyplayer/player/../includes/sdl.pxi:135:13: 'SDL_ALLEVENTS' redeclared
  111. warning: ffpyplayer/player/../includes/sdl.pxi:168:8: 'SDL_ADDEVENT' redeclared
  112. warning: ffpyplayer/player/../includes/sdl.pxi:169:8: 'SDL_PEEKEVENT' redeclared
  113. warning: ffpyplayer/player/../includes/sdl.pxi:170:8: 'SDL_GETEVENT' redeclared
  114. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  115. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  116. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  117. warning: ffpyplayer/player/core.pyx:31:8: 'INT_MAX' redeclared
  118. warning: ffpyplayer/player/core.pyx:2262:23: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
  119. warning: ffpyplayer/player/core.pyx:2262:27: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
  120. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/decoder.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/decoder.c
  121. warning: ffpyplayer/player/../includes/sdl.pxi:167:4: 'SDL_eventaction' redeclared
  122. warning: ffpyplayer/player/../includes/sdl.pxi:5:8: 'SDL_INIT_VIDEO' redeclared
  123. warning: ffpyplayer/player/../includes/sdl.pxi:6:8: 'SDL_INIT_AUDIO' redeclared
  124. warning: ffpyplayer/player/../includes/sdl.pxi:7:8: 'SDL_INIT_TIMER' redeclared
  125. warning: ffpyplayer/player/../includes/sdl.pxi:8:8: 'SDL_INIT_EVENTTHREAD' redeclared
  126. warning: ffpyplayer/player/../includes/sdl.pxi:75:13: 'SDL_HWACCEL' redeclared
  127. warning: ffpyplayer/player/../includes/sdl.pxi:76:13: 'SDL_ASYNCBLIT' redeclared
  128. warning: ffpyplayer/player/../includes/sdl.pxi:77:13: 'SDL_HWSURFACE' redeclared
  129. warning: ffpyplayer/player/../includes/sdl.pxi:78:13: 'SDL_FULLSCREEN' redeclared
  130. warning: ffpyplayer/player/../includes/sdl.pxi:79:13: 'SDL_RESIZABLE' redeclared
  131. warning: ffpyplayer/player/../includes/sdl.pxi:80:13: 'SDL_YV12_OVERLAY' redeclared
  132. warning: ffpyplayer/player/../includes/sdl.pxi:81:12: 'SDL_MIX_MAXVOLUME' redeclared
  133. warning: ffpyplayer/player/../includes/sdl.pxi:83:13: 'AUDIO_S16SYS' redeclared
  134. warning: ffpyplayer/player/../includes/sdl.pxi:86:12: 'SDL_AUDIO_ALLOW_ANY_CHANGE' redeclared
  135. warning: ffpyplayer/player/../includes/sdl.pxi:87:8: 'SDL_AudioDeviceID' redeclared
  136. warning: ffpyplayer/player/../includes/sdl.pxi:127:8: 'SDL_IGNORE' redeclared
  137. warning: ffpyplayer/player/../includes/sdl.pxi:128:12: 'SDL_ACTIVEEVENT' redeclared
  138. warning: ffpyplayer/player/../includes/sdl.pxi:129:12: 'SDL_SYSWMEVENT' redeclared
  139. warning: ffpyplayer/player/../includes/sdl.pxi:131:8: 'SDL_VIDEOEXPOSE' redeclared
  140. warning: ffpyplayer/player/../includes/sdl.pxi:132:8: 'SDL_USEREVENT' redeclared
  141. warning: ffpyplayer/player/../includes/sdl.pxi:133:8: 'SDL_QUIT' redeclared
  142. warning: ffpyplayer/player/../includes/sdl.pxi:134:8: 'SDL_VIDEORESIZE' redeclared
  143. warning: ffpyplayer/player/../includes/sdl.pxi:135:13: 'SDL_ALLEVENTS' redeclared
  144. warning: ffpyplayer/player/../includes/sdl.pxi:168:8: 'SDL_ADDEVENT' redeclared
  145. warning: ffpyplayer/player/../includes/sdl.pxi:169:8: 'SDL_PEEKEVENT' redeclared
  146. warning: ffpyplayer/player/../includes/sdl.pxi:170:8: 'SDL_GETEVENT' redeclared
  147. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  148. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  149. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  150. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/frame_queue.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/frame_queue.c
  151. warning: ffpyplayer/player/../includes/sdl.pxi:167:4: 'SDL_eventaction' redeclared
  152. warning: ffpyplayer/player/../includes/sdl.pxi:5:8: 'SDL_INIT_VIDEO' redeclared
  153. warning: ffpyplayer/player/../includes/sdl.pxi:6:8: 'SDL_INIT_AUDIO' redeclared
  154. warning: ffpyplayer/player/../includes/sdl.pxi:7:8: 'SDL_INIT_TIMER' redeclared
  155. warning: ffpyplayer/player/../includes/sdl.pxi:8:8: 'SDL_INIT_EVENTTHREAD' redeclared
  156. warning: ffpyplayer/player/../includes/sdl.pxi:75:13: 'SDL_HWACCEL' redeclared
  157. warning: ffpyplayer/player/../includes/sdl.pxi:76:13: 'SDL_ASYNCBLIT' redeclared
  158. warning: ffpyplayer/player/../includes/sdl.pxi:77:13: 'SDL_HWSURFACE' redeclared
  159. warning: ffpyplayer/player/../includes/sdl.pxi:78:13: 'SDL_FULLSCREEN' redeclared
  160. warning: ffpyplayer/player/../includes/sdl.pxi:79:13: 'SDL_RESIZABLE' redeclared
  161. warning: ffpyplayer/player/../includes/sdl.pxi:80:13: 'SDL_YV12_OVERLAY' redeclared
  162. warning: ffpyplayer/player/../includes/sdl.pxi:81:12: 'SDL_MIX_MAXVOLUME' redeclared
  163. warning: ffpyplayer/player/../includes/sdl.pxi:83:13: 'AUDIO_S16SYS' redeclared
  164. warning: ffpyplayer/player/../includes/sdl.pxi:86:12: 'SDL_AUDIO_ALLOW_ANY_CHANGE' redeclared
  165. warning: ffpyplayer/player/../includes/sdl.pxi:87:8: 'SDL_AudioDeviceID' redeclared
  166. warning: ffpyplayer/player/../includes/sdl.pxi:127:8: 'SDL_IGNORE' redeclared
  167. warning: ffpyplayer/player/../includes/sdl.pxi:128:12: 'SDL_ACTIVEEVENT' redeclared
  168. warning: ffpyplayer/player/../includes/sdl.pxi:129:12: 'SDL_SYSWMEVENT' redeclared
  169. warning: ffpyplayer/player/../includes/sdl.pxi:131:8: 'SDL_VIDEOEXPOSE' redeclared
  170. warning: ffpyplayer/player/../includes/sdl.pxi:132:8: 'SDL_USEREVENT' redeclared
  171. warning: ffpyplayer/player/../includes/sdl.pxi:133:8: 'SDL_QUIT' redeclared
  172. warning: ffpyplayer/player/../includes/sdl.pxi:134:8: 'SDL_VIDEORESIZE' redeclared
  173. warning: ffpyplayer/player/../includes/sdl.pxi:135:13: 'SDL_ALLEVENTS' redeclared
  174. warning: ffpyplayer/player/../includes/sdl.pxi:168:8: 'SDL_ADDEVENT' redeclared
  175. warning: ffpyplayer/player/../includes/sdl.pxi:169:8: 'SDL_PEEKEVENT' redeclared
  176. warning: ffpyplayer/player/../includes/sdl.pxi:170:8: 'SDL_GETEVENT' redeclared
  177. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  178. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  179. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  180. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/player.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/player.c
  181. warning: ffpyplayer/player/../includes/sdl.pxi:167:4: 'SDL_eventaction' redeclared
  182. warning: ffpyplayer/player/../includes/sdl.pxi:5:8: 'SDL_INIT_VIDEO' redeclared
  183. warning: ffpyplayer/player/../includes/sdl.pxi:6:8: 'SDL_INIT_AUDIO' redeclared
  184. warning: ffpyplayer/player/../includes/sdl.pxi:7:8: 'SDL_INIT_TIMER' redeclared
  185. warning: ffpyplayer/player/../includes/sdl.pxi:8:8: 'SDL_INIT_EVENTTHREAD' redeclared
  186. warning: ffpyplayer/player/../includes/sdl.pxi:75:13: 'SDL_HWACCEL' redeclared
  187. warning: ffpyplayer/player/../includes/sdl.pxi:76:13: 'SDL_ASYNCBLIT' redeclared
  188. warning: ffpyplayer/player/../includes/sdl.pxi:77:13: 'SDL_HWSURFACE' redeclared
  189. warning: ffpyplayer/player/../includes/sdl.pxi:78:13: 'SDL_FULLSCREEN' redeclared
  190. warning: ffpyplayer/player/../includes/sdl.pxi:79:13: 'SDL_RESIZABLE' redeclared
  191. warning: ffpyplayer/player/../includes/sdl.pxi:80:13: 'SDL_YV12_OVERLAY' redeclared
  192. warning: ffpyplayer/player/../includes/sdl.pxi:81:12: 'SDL_MIX_MAXVOLUME' redeclared
  193. warning: ffpyplayer/player/../includes/sdl.pxi:83:13: 'AUDIO_S16SYS' redeclared
  194. warning: ffpyplayer/player/../includes/sdl.pxi:86:12: 'SDL_AUDIO_ALLOW_ANY_CHANGE' redeclared
  195. warning: ffpyplayer/player/../includes/sdl.pxi:87:8: 'SDL_AudioDeviceID' redeclared
  196. warning: ffpyplayer/player/../includes/sdl.pxi:127:8: 'SDL_IGNORE' redeclared
  197. warning: ffpyplayer/player/../includes/sdl.pxi:128:12: 'SDL_ACTIVEEVENT' redeclared
  198. warning: ffpyplayer/player/../includes/sdl.pxi:129:12: 'SDL_SYSWMEVENT' redeclared
  199. warning: ffpyplayer/player/../includes/sdl.pxi:131:8: 'SDL_VIDEOEXPOSE' redeclared
  200. warning: ffpyplayer/player/../includes/sdl.pxi:132:8: 'SDL_USEREVENT' redeclared
  201. warning: ffpyplayer/player/../includes/sdl.pxi:133:8: 'SDL_QUIT' redeclared
  202. warning: ffpyplayer/player/../includes/sdl.pxi:134:8: 'SDL_VIDEORESIZE' redeclared
  203. warning: ffpyplayer/player/../includes/sdl.pxi:135:13: 'SDL_ALLEVENTS' redeclared
  204. warning: ffpyplayer/player/../includes/sdl.pxi:168:8: 'SDL_ADDEVENT' redeclared
  205. warning: ffpyplayer/player/../includes/sdl.pxi:169:8: 'SDL_PEEKEVENT' redeclared
  206. warning: ffpyplayer/player/../includes/sdl.pxi:170:8: 'SDL_GETEVENT' redeclared
  207. warning: ffpyplayer/player/../includes/sdl.pxi:167:4: 'SDL_eventaction' redeclared
  208. warning: ffpyplayer/player/../includes/sdl.pxi:5:8: 'SDL_INIT_VIDEO' redeclared
  209. warning: ffpyplayer/player/../includes/sdl.pxi:6:8: 'SDL_INIT_AUDIO' redeclared
  210. warning: ffpyplayer/player/../includes/sdl.pxi:7:8: 'SDL_INIT_TIMER' redeclared
  211. warning: ffpyplayer/player/../includes/sdl.pxi:8:8: 'SDL_INIT_EVENTTHREAD' redeclared
  212. warning: ffpyplayer/player/../includes/sdl.pxi:75:13: 'SDL_HWACCEL' redeclared
  213. warning: ffpyplayer/player/../includes/sdl.pxi:76:13: 'SDL_ASYNCBLIT' redeclared
  214. warning: ffpyplayer/player/../includes/sdl.pxi:77:13: 'SDL_HWSURFACE' redeclared
  215. warning: ffpyplayer/player/../includes/sdl.pxi:78:13: 'SDL_FULLSCREEN' redeclared
  216. warning: ffpyplayer/player/../includes/sdl.pxi:79:13: 'SDL_RESIZABLE' redeclared
  217. warning: ffpyplayer/player/../includes/sdl.pxi:80:13: 'SDL_YV12_OVERLAY' redeclared
  218. warning: ffpyplayer/player/../includes/sdl.pxi:81:12: 'SDL_MIX_MAXVOLUME' redeclared
  219. warning: ffpyplayer/player/../includes/sdl.pxi:83:13: 'AUDIO_S16SYS' redeclared
  220. warning: ffpyplayer/player/../includes/sdl.pxi:86:12: 'SDL_AUDIO_ALLOW_ANY_CHANGE' redeclared
  221. warning: ffpyplayer/player/../includes/sdl.pxi:87:8: 'SDL_AudioDeviceID' redeclared
  222. warning: ffpyplayer/player/../includes/sdl.pxi:127:8: 'SDL_IGNORE' redeclared
  223. warning: ffpyplayer/player/../includes/sdl.pxi:128:12: 'SDL_ACTIVEEVENT' redeclared
  224. warning: ffpyplayer/player/../includes/sdl.pxi:129:12: 'SDL_SYSWMEVENT' redeclared
  225. warning: ffpyplayer/player/../includes/sdl.pxi:131:8: 'SDL_VIDEOEXPOSE' redeclared
  226. warning: ffpyplayer/player/../includes/sdl.pxi:132:8: 'SDL_USEREVENT' redeclared
  227. warning: ffpyplayer/player/../includes/sdl.pxi:133:8: 'SDL_QUIT' redeclared
  228. warning: ffpyplayer/player/../includes/sdl.pxi:134:8: 'SDL_VIDEORESIZE' redeclared
  229. warning: ffpyplayer/player/../includes/sdl.pxi:135:13: 'SDL_ALLEVENTS' redeclared
  230. warning: ffpyplayer/player/../includes/sdl.pxi:168:8: 'SDL_ADDEVENT' redeclared
  231. warning: ffpyplayer/player/../includes/sdl.pxi:169:8: 'SDL_PEEKEVENT' redeclared
  232. warning: ffpyplayer/player/../includes/sdl.pxi:170:8: 'SDL_GETEVENT' redeclared
  233. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  234. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  235. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  236. cythoning /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/queue.pyx to /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/queue.c
  237. warning: ffpyplayer/player/../includes/ff_consts.pxi:4:9: 'MAC_REALLOC' redeclared
  238. warning: ffpyplayer/player/../includes/ff_consts.pxi:5:9: 'NOT_WIN_MAC' redeclared
  239. warning: ffpyplayer/player/../includes/ff_consts.pxi:6:9: 'WIN_IS_DEFINED' redeclared
  240. building 'ffpyplayer.pic' extension
  241. creating build/temp.linux-aarch64-3.6
  242. creating build/temp.linux-aarch64-3.6/tmp
  243. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc
  244. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558
  245. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer
  246. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/clib
  247. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer -I/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes -I/usr/include/python3.6m -c /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c -o build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.o -O3 -fno-strict-aliasing -Wno-error
  248. In file included from /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c:610:0:
  249. /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes/ffconfig.h:5:10: fatal error: SDL_version.h: No such file or directory
  250. #include "SDL_version.h"
  251. ^~~~~~~~~~~~~~~
  252. compilation terminated.
  253. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  254. ----------------------------------------
  255. ERROR: Failed building wheel for ffpyplayer
  256. Running setup.py clean for ffpyplayer
  257. Failed to build ffpyplayer
  258. Installing collected packages: ffpyplayer, kivy-examples
  259. Running setup.py install for ffpyplayer ... error
  260. ERROR: Command errored out with exit status 1:
  261. command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4vm0e0v6/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/nyp/.local/include/python3.6m/ffpyplayer
  262. cwd: /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/
  263. Complete output (81 lines):
  264. Using setuptools
  265. FFMPEG_ROOT: "None"
  266. WARNING: A problem occured while running pkg-config --libs --cflags libavcodec libavdevice libavfilter libavformat libavutil libswscale libswresample libpostproc (code 1)
  267.  
  268. b"Package libavcodec was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavcodec.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavcodec' found\nPackage libavdevice was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavdevice.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavdevice' found\nPackage libavfilter was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavfilter.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavfilter' found\nPackage libavformat was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavformat.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavformat' found\nPackage libavutil was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libavutil.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libavutil' found\nPackage libswscale was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libswscale.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libswscale' found\nPackage libswresample was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libswresample.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libswresample' found\nPackage libpostproc was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libpostproc.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libpostproc' found\n"
  269.  
  270. SDL_ROOT: "None"
  271. WARNING: A problem occured while running pkg-config --libs --cflags sdl2 (code 1)
  272.  
  273. b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\n"
  274.  
  275. WARNING: A problem occured while running pkg-config --libs --cflags sdl (code 1)
  276.  
  277. b"Package sdl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl' found\n"
  278.  
  279. Selecting SDL2 out of (SDL, SDL2)
  280. Generating ffconfig.h
  281. Generating ffconfig.pxi
  282. Include directories: ['/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer', '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes']
  283. Library directories: []
  284. running install
  285. running build
  286. running build_py
  287. creating build
  288. creating build/lib.linux-aarch64-3.6
  289. creating build/lib.linux-aarch64-3.6/ffpyplayer
  290. copying ffpyplayer/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer
  291. creating build/lib.linux-aarch64-3.6/ffpyplayer/player
  292. copying ffpyplayer/player/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  293. creating build/lib.linux-aarch64-3.6/ffpyplayer/tests
  294. copying ffpyplayer/tests/common.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  295. copying ffpyplayer/tests/test_pic.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  296. copying ffpyplayer/tests/__init__.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  297. copying ffpyplayer/tests/test_write.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  298. copying ffpyplayer/tests/test_play.py -> build/lib.linux-aarch64-3.6/ffpyplayer/tests
  299. copying ffpyplayer/player/player.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  300. copying ffpyplayer/player/decoder.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  301. copying ffpyplayer/player/clock.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  302. copying ffpyplayer/player/queue.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  303. copying ffpyplayer/player/core.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  304. copying ffpyplayer/player/frame_queue.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer/player
  305. creating build/lib.linux-aarch64-3.6/ffpyplayer/clib
  306. copying ffpyplayer/clib/misc.h -> build/lib.linux-aarch64-3.6/ffpyplayer/clib
  307. creating build/lib.linux-aarch64-3.6/ffpyplayer/includes
  308. copying ffpyplayer/includes/ffmpeg.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  309. copying ffpyplayer/includes/inline_funcs.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  310. copying ffpyplayer/includes/ffconfig.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  311. copying ffpyplayer/includes/ff_consts.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  312. copying ffpyplayer/includes/sdl.pxi -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  313. copying ffpyplayer/includes/ffconfig.h -> build/lib.linux-aarch64-3.6/ffpyplayer/includes
  314. copying ffpyplayer/writer.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  315. copying ffpyplayer/threading.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  316. copying ffpyplayer/pic.pxd -> build/lib.linux-aarch64-3.6/ffpyplayer
  317. running build_ext
  318. Using compiler "unix"
  319. Using compiler args: ['-O3', '-fno-strict-aliasing', '-Wno-error']
  320. Using linker args: []
  321. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c' Cython extension (up-to-date)
  322. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/threading.c' Cython extension (up-to-date)
  323. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/tools.c' Cython extension (up-to-date)
  324. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/writer.c' Cython extension (up-to-date)
  325. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/clock.c' Cython extension (up-to-date)
  326. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/core.c' Cython extension (up-to-date)
  327. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/decoder.c' Cython extension (up-to-date)
  328. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/frame_queue.c' Cython extension (up-to-date)
  329. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/player.c' Cython extension (up-to-date)
  330. skipping '/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/player/queue.c' Cython extension (up-to-date)
  331. building 'ffpyplayer.pic' extension
  332. creating build/temp.linux-aarch64-3.6
  333. creating build/temp.linux-aarch64-3.6/tmp
  334. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc
  335. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558
  336. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer
  337. creating build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/clib
  338. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer -I/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes -I/usr/include/python3.6m -c /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c -o build/temp.linux-aarch64-3.6/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.o -O3 -fno-strict-aliasing -Wno-error
  339. In file included from /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/pic.c:610:0:
  340. /tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/ffpyplayer/includes/ffconfig.h:5:10: fatal error: SDL_version.h: No such file or directory
  341. #include "SDL_version.h"
  342. ^~~~~~~~~~~~~~~
  343. compilation terminated.
  344. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  345. ----------------------------------------
  346. ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cofzlysc/ffpyplayer_a18df7b1f15a4334baeea5f123d3a558/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4vm0e0v6/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/nyp/.local/include/python3.6m/ffpyplayer Check the logs for full command output.
  347.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement