Advertisement
Guest User

Kivy compilation error

a guest
May 12th, 2015
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.24 KB | None | 0 0
  1. # Check configuration tokens
  2. # Ensure build layout
  3. # Check configuration tokens
  4. # Preparing build
  5. # Check requirements for android
  6. # Run 'dpkg --version'
  7. # Cwd None
  8. Debian `dpkg' package management program version 1.17.5 (amd64).
  9. This is free software; see the GNU General Public License version 2 or
  10. later for copying conditions. There is NO warranty.
  11. # Search for Git (git)
  12. # -> found at /usr/bin/git
  13. # Search for Cython (cython)
  14. # -> found at /usr/local/bin/cython
  15. # Search for Java compiler (javac)
  16. # -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
  17. # Search for Java keytool (keytool)
  18. # -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
  19. # Install platform
  20. # Apache ANT found at /home/navatm/.buildozer/android/platform/apache-ant-1.9.4
  21. # Android SDK found at /home/navatm/.buildozer/android/platform/android-sdk-21
  22. # Android NDK found at /home/navatm/.buildozer/android/platform/android-ndk-r9c
  23. # Check application requirements
  24. # Run './distribute.sh -l'
  25. # Cwd /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android
  26. Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils enum34 ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift twisted txws wokkel zeroconf zope
  27. # Application requirements already installed, pass
  28. # Check garden requirements
  29. # Compile platform
  30. # Run './distribute.sh -l'
  31. # Cwd /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android
  32. Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils enum34 ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift twisted txws wokkel zeroconf zope
  33. # Clean and build python-for-android
  34. # Remove directory and subdirectory /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/dist/myapp
  35. # Run './distribute.sh -m "kivy" -d "myapp"'
  36. # Cwd /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android
  37. Check build dependencies for LinuxMint
  38. Packages missing: cython
  39. It might break the compilation, except if you installed thoses packages manually.
  40. Check environment
  41. SDK located at /home/navatm/.buildozer/android/platform/android-sdk-21
  42. NDK located at /home/navatm/.buildozer/android/platform/android-ndk-r9c
  43. NDK version is r9c
  44. API level set to 14
  45. Check NDK location
  46. Check mandatory tools
  47. Distribution will be located at /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/dist/myapp
  48. Entering in ARM environment
  49. Compiler found at /home/navatm/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
  50. PATH is /home/navatm/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/navatm/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/navatm/.buildozer/android/platform/android-ndk-r9c:/home/navatm/.buildozer/android/platform/android-sdk-21/tools:/home/navatm/.buildozer/android/platform/apache-ant-1.9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  51. Leaving ARM environment
  52. Read kivy recipe
  53. Module kivy depend on pygame pyjnius android
  54. Read pygame recipe
  55. Module pygame depend on python sdl
  56. Read pyjnius recipe
  57. Module pyjnius depend on python sdl
  58. Read android recipe
  59. Module android depend on pygame
  60. Read python recipe
  61. Module python depend on hostpython
  62. Read sdl recipe
  63. Module sdl depend on python
  64. Ignored python, already processed
  65. Ignored sdl, already processed
  66. Ignored pygame, already processed
  67. Read hostpython recipe
  68. Ignored python, already processed
  69. Modules changed to hostpython python sdl pygame pyjnius android kivy
  70. Pure-Python modules changed to
  71. Run get packages
  72. Download package for hostpython
  73. Module hostpython already downloaded
  74. Download package for python
  75. Module python already downloaded
  76. Download package for sdl
  77. No package for sdl
  78. Download package for pygame
  79. Module pygame already downloaded
  80. Download package for pyjnius
  81. Module pyjnius already downloaded
  82. Download package for android
  83. No package for android
  84. Download package for kivy
  85. Module kivy already downloaded
  86. Run prebuild
  87. Call prebuild_hostpython
  88. Call prebuild_python
  89. Call prebuild_sdl
  90. Call prebuild_pygame
  91. Call prebuild_pyjnius
  92. Call prebuild_android
  93. Call prebuild_kivy
  94. Run build
  95. Skipped build_hostpython
  96. Skipped build_python
  97. Skipped build_sdl
  98. Skipped build_pygame
  99. Skipped build_pyjnius
  100. Skipp[INFO ] Kivy v1.8.0
  101. /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
  102. warnings.warn(msg)
  103. /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  104. warnings.warn(msg)
  105. kivy/graphics/vertex_instructions.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  106. #error Do not use this file, it is the result of a failed Cython compilation.
  107. ^
  108. error: command 'ccache' failed with exit status 1
  109.  
  110. Error compiling Cython file:
  111. ------------------------------------------------------------
  112. ...
  113. # perhaps tangents, what's the position on the spline for parameter t),
  114. #
  115. # b) make that a superclass Spline,
  116. # c) create BezierSpline subclass that does the computation
  117.  
  118. cdef list _points
  119. ^
  120. ------------------------------------------------------------
  121.  
  122. kivy/graphics/vertex_instructions.pyx:104:14: C attributes cannot be added in implementation part of extension type defined in a pxd
  123.  
  124. Error compiling Cython file:
  125. ------------------------------------------------------------
  126. ...
  127. # perhaps tangents, what's the position on the spline for parameter t),
  128. #
  129. # b) make that a superclass Spline,
  130. # c) create BezierSpline subclass that does the computation
  131.  
  132. cdef list _points
  133. ^
  134. ------------------------------------------------------------
  135.  
  136. kivy/graphics/vertex_instructions.pyx:104:14: '_points' redeclared
  137.  
  138. Error compiling Cython file:
  139. ------------------------------------------------------------
  140. ...
  141. #
  142. # b) make that a superclass Spline,
  143. # c) create BezierSpline subclass that does the computation
  144.  
  145. cdef list _points
  146. cdef int _segments
  147. ^
  148. ------------------------------------------------------------
  149.  
  150. kivy/graphics/vertex_instructions.pyx:105:13: C attributes cannot be added in implementation part of extension type defined in a pxd
  151.  
  152. Error compiling Cython file:
  153. ------------------------------------------------------------
  154. ...
  155. #
  156. # b) make that a superclass Spline,
  157. # c) create BezierSpline subclass that does the computation
  158.  
  159. cdef list _points
  160. cdef int _segments
  161. ^
  162. ------------------------------------------------------------
  163.  
  164. kivy/graphics/vertex_instructions.pyx:105:13: '_segments' redeclared
  165.  
  166. Error compiling Cython file:
  167. ------------------------------------------------------------
  168. ...
  169. # b) make that a superclass Spline,
  170. # c) create BezierSpline subclass that does the computation
  171.  
  172. cdef list _points
  173. cdef int _segments
  174. cdef bint _loop
  175. ^
  176. ------------------------------------------------------------
  177.  
  178. kivy/graphics/vertex_instructions.pyx:106:14: C attributes cannot be added in implementation part of extension type defined in a pxd
  179.  
  180. Error compiling Cython file:
  181. ------------------------------------------------------------
  182. ...
  183. # b) make that a superclass Spline,
  184. # c) create BezierSpline subclass that does the computation
  185.  
  186. cdef list _points
  187. cdef int _segments
  188. cdef bint _loop
  189. ^
  190. ------------------------------------------------------------
  191.  
  192. kivy/graphics/vertex_instructions.pyx:106:14: '_loop' redeclared
  193.  
  194. Error compiling Cython file:
  195. ------------------------------------------------------------
  196. ...
  197. # c) create BezierSpline subclass that does the computation
  198.  
  199. cdef list _points
  200. cdef int _segments
  201. cdef bint _loop
  202. cdef int _dash_offset, _dash_length
  203. ^
  204. ------------------------------------------------------------
  205.  
  206. kivy/graphics/vertex_instructions.pyx:107:13: C attributes cannot be added in implementation part of extension type defined in a pxd
  207.  
  208. Error compiling Cython file:
  209. ------------------------------------------------------------
  210. ...
  211. # c) create BezierSpline subclass that does the computation
  212.  
  213. cdef list _points
  214. cdef int _segments
  215. cdef bint _loop
  216. cdef int _dash_offset, _dash_length
  217. ^
  218. ------------------------------------------------------------
  219.  
  220. kivy/graphics/vertex_instructions.pyx:107:13: '_dash_offset' redeclared
  221.  
  222. Error compiling Cython file:
  223. ------------------------------------------------------------
  224. ...
  225. # c) create BezierSpline subclass that does the computation
  226.  
  227. cdef list _points
  228. cdef int _segments
  229. cdef bint _loop
  230. cdef int _dash_offset, _dash_length
  231. ^
  232. ------------------------------------------------------------
  233.  
  234. kivy/graphics/vertex_instructions.pyx:107:27: C attributes cannot be added in implementation part of extension type defined in a pxd
  235.  
  236. Error compiling Cython file:
  237. ------------------------------------------------------------
  238. ...
  239. # c) create BezierSpline subclass that does the computation
  240.  
  241. cdef list _points
  242. cdef int _segments
  243. cdef bint _loop
  244. cdef int _dash_offset, _dash_length
  245. ^
  246. ------------------------------------------------------------
  247.  
  248. kivy/graphics/vertex_instructions.pyx:107:27: '_dash_length' redeclared
  249.  
  250. Error compiling Cython file:
  251. ------------------------------------------------------------
  252. ...
  253. `mode`: str
  254. Mode of the vbo. Check :attr:`mode` for more information. Defaults to
  255. 'points'.
  256.  
  257. '''
  258. cdef list _vertices
  259. ^
  260. ------------------------------------------------------------
  261.  
  262. kivy/graphics/vertex_instructions.pyx:297:14: C attributes cannot be added in implementation part of extension type defined in a pxd
  263.  
  264. Error compiling Cython file:
  265. ------------------------------------------------------------
  266. ...
  267. `mode`: str
  268. Mode of the vbo. Check :attr:`mode` for more information. Defaults to
  269. 'points'.
  270.  
  271. '''
  272. cdef list _vertices
  273. ^
  274. ------------------------------------------------------------
  275.  
  276. kivy/graphics/vertex_instructions.pyx:297:14: '_vertices' redeclared
  277.  
  278. Error compiling Cython file:
  279. ------------------------------------------------------------
  280. ...
  281. Mode of the vbo. Check :attr:`mode` for more information. Defaults to
  282. 'points'.
  283.  
  284. '''
  285. cdef list _vertices
  286. cdef list _indices
  287. ^
  288. ------------------------------------------------------------
  289.  
  290. kivy/graphics/vertex_instructions.pyx:298:14: C attributes cannot be added in implementation part of extension type defined in a pxd
  291.  
  292. Error compiling Cython file:
  293. ------------------------------------------------------------
  294. ...
  295. Mode of the vbo. Check :attr:`mode` for more information. Defaults to
  296. 'points'.
  297.  
  298. '''
  299. cdef list _vertices
  300. cdef list _indices
  301. ^
  302. ------------------------------------------------------------
  303.  
  304. kivy/graphics/vertex_instructions.pyx:298:14: '_indices' redeclared
  305.  
  306. Error compiling Cython file:
  307. ------------------------------------------------------------
  308. ...
  309. 'points'.
  310.  
  311. '''
  312. cdef list _vertices
  313. cdef list _indices
  314. cdef VertexFormat vertex_format
  315. ^
  316. ------------------------------------------------------------
  317.  
  318. kivy/graphics/vertex_instructions.pyx:299:22: C attributes cannot be added in implementation part of extension type defined in a pxd
  319.  
  320. Error compiling Cython file:
  321. ------------------------------------------------------------
  322. ...
  323. 'points'.
  324.  
  325. '''
  326. cdef list _vertices
  327. cdef list _indices
  328. cdef VertexFormat vertex_format
  329. ^
  330. ------------------------------------------------------------
  331.  
  332. kivy/graphics/vertex_instructions.pyx:299:22: 'vertex_format' redeclared
  333.  
  334. Error compiling Cython file:
  335. ------------------------------------------------------------
  336. ...
  337.  
  338.  
  339. cdef class StripMesh(VertexInstruction):
  340. cdef int icount
  341. cdef int li, lic
  342. cdef int add_triangle_strip(self, float *vertices, int vcount, int icount,
  343. ^
  344. ------------------------------------------------------------
  345.  
  346. /usr/local/lib/python2.7/dist-packages/kivy/graphics/vertex_instructions.pxd:17:31: C method 'add_triangle_strip' is declared but not defined
  347.  
  348. Error compiling Cython file:
  349. ------------------------------------------------------------
  350. ...
  351. cdef list _vertices
  352. cdef list _indices
  353. cdef VertexFormat vertex_format
  354. cdef int is_built
  355.  
  356. cdef void build_triangle_fan(self, float *vertices, int vcount, int icount)
  357. ^
  358. ------------------------------------------------------------
  359.  
  360. /usr/local/lib/python2.7/dist-packages/kivy/graphics/vertex_instructions.pxd:27:32: C method 'build_triangle_fan' is declared but not defined
  361. [INFO ] Kivy v1.8.0
  362. /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
  363. warnings.warn(msg)
  364. /home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  365. warnings.warn(msg)
  366. kivy/graphics/vertex_instructions.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  367. #error Do not use this file, it is the result of a failed Cython compilation.
  368. ^
  369. error: command 'ccache' failed with exit status 1
  370. ed build_android
  371. Call build_kivy
  372. Entering in ARM environment
  373. Compiler found at /home/navatm/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
  374.  
  375. Cython check avoided.
  376. running build_ext
  377. Build configuration is:
  378. * use_rpi = False
  379. * use_opengl_es2 = True
  380. * use_opengl_debug = False
  381. * use_glew = False
  382. * use_sdl = False
  383. * use_ios = False
  384. * use_mesagl = False
  385. * use_x11 = False
  386. * use_gstreamer = False
  387. * use_avfoundation = False
  388. Generate config.h
  389. Generate config.pxi
  390. Detected compiler is unix
  391. building 'kivy.graphics.vertex_instructions' extension
  392. ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-x86_64-2.7/kivy/graphics/vertex_instructions.o
  393.  
  394. Cython check avoided.
  395. running build_ext
  396. Build configuration is:
  397. * use_rpi = False
  398. * use_opengl_es2 = True
  399. * use_opengl_debug = False
  400. * use_glew = False
  401. * use_sdl = False
  402. * use_ios = False
  403. * use_mesagl = False
  404. * use_x11 = False
  405. * use_gstreamer = False
  406. * use_avfoundation = False
  407. Generate config.h
  408. Generate config.pxi
  409. Detected compiler is unix
  410. building 'kivy.graphics.vertex_instructions' extension
  411. ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/navatm/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/navatm/code/kivy-test/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-x86_64-2.7/kivy/graphics/vertex_instructions.o
  412. # Command failed: ./distribute.sh -m "kivy" -d "myapp"
  413. #
  414. # Buildozer failed to execute the last command
  415. # The error might be hidden in the log above this error
  416. # Please read the full log, and search for it before
  417. # raising an issue with buildozer itself.
  418. # In case of a bug report, please add a full log with log_level = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement