Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.36 KB | None | 0 0
  1. dan@xc:~$
  2. dan@xc:~$
  3. dan@xc:~$ buildozer -v android debug
  4. # Check configuration tokens
  5. # Ensure build layout
  6. # Check configuration tokens
  7. # Preparing build
  8. # Check requirements for android
  9. # Run 'dpkg --version'
  10. # Cwd None
  11. Debian `dpkg' package management program version 1.17.5 (amd64).
  12. This is free software; see the GNU General Public License version 2 or
  13. later for copying conditions. There is NO warranty.
  14. # Search for Git (git)
  15. # -> found at /usr/bin/git
  16. # Search for Cython (cython)
  17. # -> found at /usr/local/bin/cython
  18. # Search for Java compiler (javac)
  19. # -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
  20. # Search for Java keytool (keytool)
  21. # -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
  22. # Install platform
  23. # Apache ANT found at /home/dan/.buildozer/android/platform/apache-ant-1.9.4
  24. # Android SDK found at /home/dan/.buildozer/android/platform/android-sdk-21
  25. # Android NDK found at /home/dan/.buildozer/android/platform/android-ndk-r9c
  26. # Check application requirements
  27. # Run './distribute.sh -l'
  28. # Cwd /home/dan/.buildozer/android/platform/python-for-android
  29. Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
  30. # Application requirements already installed, pass
  31. # Check garden requirements
  32. # Compile platform
  33. # Run './distribute.sh -l'
  34. # Cwd /home/dan/.buildozer/android/platform/python-for-android
  35. Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
  36. # Clean and build python-for-android
  37. # Remove directory and subdirectory /home/dan/.buildozer/android/platform/python-for-android/dist/myapp
  38. # Run './distribute.sh -m "kivy" -d "myapp"'
  39. # Cwd /home/dan/.buildozer/android/platform/python-for-android
  40. Check build dependencies for Ubuntu
  41. Packages missing: cython
  42. It might break the compilation, except if you installed thoses packages manually.
  43. Check enviromnent
  44. SDK located at /home/dan/.buildozer/android/platform/android-sdk-21
  45. NDK located at /home/dan/.buildozer/android/platform/android-ndk-r9c
  46. NDK version is r9c
  47. API level set to 14
  48. Check mandatory tools
  49. Distribution will be located at /home/dan/.buildozer/android/platform/python-for-android/dist/myapp
  50. Entering in ARM environment
  51. Compiler found at /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
  52. PATH is /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/dan/.buildozer/android/platform/android-ndk-r9c:/home/dan/.buildozer/android/platform/android-sdk-21/tools:/home/dan/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/dan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dan/m
  53. Leaving ARM enviromnent
  54. Read kivy recipe
  55. Module kivy depend on pygame pyjnius android
  56. Read pygame recipe
  57. Module pygame depend on python sdl
  58. Read pyjnius recipe
  59. Module pyjnius depend on python sdl
  60. Read android recipe
  61. Module android depend on pygame
  62. Read python recipe
  63. Module python depend on hostpython
  64. Read sdl recipe
  65. Module sdl depend on python
  66. Ignored python, already processed
  67. Ignored sdl, already processed
  68. Ignored pygame, already processed
  69. Read hostpython recipe
  70. Ignored python, already processed
  71. Modules changed to hostpython python sdl pygame pyjnius android kivy
  72. Pure-Python modules changed to
  73. Run get packages
  74. Download package for hostpython
  75. Module hostpython already downloaded
  76. Download package for python
  77. Module python already downloaded
  78. Download package for sdl
  79. No package for sdl
  80. Download package for pygame
  81. Module pygame already downloaded
  82. Download package for pyjnius
  83. Module pyjnius already downloaded
  84. Download package for android
  85. No package for android
  86. Download package for kivy
  87. Module kivy already downloaded
  88. Run prebuild
  89. Call prebuild_hostpython
  90. Call prebuild_python
  91. Call prebuild_sdl
  92. Call prebuild_pygame
  93. Call prebuild_pyjnius
  94. Call prebuild_android
  95. Call prebuild_kivy
  96. Run build
  97. Skipped build_hostpython
  98. Skipped build_python
  99. Skipped build_sdl
  100. Skipped build_pygame
  101. Skipped build_pyjnius
  102. Skipped build_android
  103. Call build_kivy
  104. Entering in ARM environment
  105. Compiler found at /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
  106. [INFO ] Kivy v1.8.0
  107. /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
  108. warnings.warn(msg)
  109. /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  110. warnings.warn(msg)
  111.  
  112. Cython check avoided.
  113. running build_ext
  114. Build configuration is:
  115. * use_rpi = False
  116. * use_opengl_es2 = True
  117. * use_opengl_debug = False
  118. * use_glew = False
  119. * use_sdl = False
  120. * use_ios = False
  121. * use_mesagl = False
  122. * use_x11 = False
  123. * use_gstreamer = False
  124. * use_avfoundation = False
  125. Generate config.h
  126. Generate config.pxi
  127. Detected compiler is unix
  128. building 'kivy.graphics.texture' extension
  129. arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/dan/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/texture.c -o build/temp.linux-x86_64-2.7/kivy/graphics/texture.o
  130. kivy/graphics/texture.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  131. #error Do not use this file, it is the result of a failed Cython compilation.
  132. ^
  133. error: command 'arm-linux-androideabi-gcc' failed with exit status 1
  134.  
  135. Error compiling Cython file:
  136. ------------------------------------------------------------
  137. ...
  138. cpdef release(self)
  139. cpdef get_pixel_color(self, int wx, int wy)
  140.  
  141. cdef void create_fbo(self)
  142. cdef void delete_fbo(self)
  143. cdef void apply(self)
  144. ^
  145. ------------------------------------------------------------
  146.  
  147. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  148.  
  149. Error compiling Cython file:
  150. ------------------------------------------------------------
  151. ...
  152. cdef void push_states(self, list names) except *
  153. cdef void pop_state(self, str name) except *
  154. cdef void pop_states(self, list names) except *
  155. cdef void enter(self) except *
  156. cdef void leave(self) except *
  157. cdef void apply(self) except *
  158. ^
  159. ------------------------------------------------------------
  160.  
  161. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  162.  
  163. Error compiling Cython file:
  164. ------------------------------------------------------------
  165. ...
  166. if self._depthbuffer_attached:
  167. glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
  168. else:
  169. glClear(GL_COLOR_BUFFER_BIT)
  170.  
  171. cdef void apply(self):
  172. ^
  173. ------------------------------------------------------------
  174.  
  175. kivy/graphics/fbo.pyx:298:9: Signature not compatible with previous declaration
  176.  
  177. Error compiling Cython file:
  178. ------------------------------------------------------------
  179. ...
  180. cdef void push_states(self, list names) except *
  181. cdef void pop_state(self, str name) except *
  182. cdef void pop_states(self, list names) except *
  183. cdef void enter(self) except *
  184. cdef void leave(self) except *
  185. cdef void apply(self) except *
  186. ^
  187. ------------------------------------------------------------
  188.  
  189. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  190.  
  191. Error compiling Cython file:
  192. ------------------------------------------------------------
  193. ...
  194. cpdef release(self)
  195. cpdef get_pixel_color(self, int wx, int wy)
  196.  
  197. cdef void create_fbo(self)
  198. cdef void delete_fbo(self)
  199. cdef void apply(self)
  200. ^
  201. ------------------------------------------------------------
  202.  
  203. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  204.  
  205. Error compiling Cython file:
  206. ------------------------------------------------------------
  207. ...
  208. cdef void push_states(self, list names) except *
  209. cdef void pop_state(self, str name) except *
  210. cdef void pop_states(self, list names) except *
  211. cdef void enter(self) except *
  212. cdef void leave(self) except *
  213. cdef void apply(self) except *
  214. ^
  215. ------------------------------------------------------------
  216.  
  217. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  218.  
  219. Error compiling Cython file:
  220. ------------------------------------------------------------
  221. ...
  222. cpdef release(self)
  223. cpdef get_pixel_color(self, int wx, int wy)
  224.  
  225. cdef void create_fbo(self)
  226. cdef void delete_fbo(self)
  227. cdef void apply(self)
  228. ^
  229. ------------------------------------------------------------
  230.  
  231. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  232.  
  233. Error compiling Cython file:
  234. ------------------------------------------------------------
  235. ...
  236. cdef void push_states(self, list names) except *
  237. cdef void pop_state(self, str name) except *
  238. cdef void pop_states(self, list names) except *
  239. cdef void enter(self) except *
  240. cdef void leave(self) except *
  241. cdef void apply(self) except *
  242. ^
  243. ------------------------------------------------------------
  244.  
  245. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  246.  
  247. Error compiling Cython file:
  248. ------------------------------------------------------------
  249. ...
  250. cpdef release(self)
  251. cpdef get_pixel_color(self, int wx, int wy)
  252.  
  253. cdef void create_fbo(self)
  254. cdef void delete_fbo(self)
  255. cdef void apply(self)
  256. ^
  257. ------------------------------------------------------------
  258.  
  259. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  260.  
  261. Error compiling Cython file:
  262. ------------------------------------------------------------
  263. ...
  264. cdef void push_states(self, list names) except *
  265. cdef void pop_state(self, str name) except *
  266. cdef void pop_states(self, list names) except *
  267. cdef void enter(self) except *
  268. cdef void leave(self) except *
  269. cdef void apply(self) except *
  270. ^
  271. ------------------------------------------------------------
  272.  
  273. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  274.  
  275. Error compiling Cython file:
  276. ------------------------------------------------------------
  277. ...
  278. if self.context_state:
  279. context.set_states(self.context_state)
  280. if self.context_pop:
  281. context.pop_states(self.context_pop)
  282.  
  283. cdef void set_state(self, str name, value):
  284. ^
  285. ------------------------------------------------------------
  286.  
  287. kivy/graphics/instructions.pyx:236:9: Signature not compatible with previous declaration
  288.  
  289. Error compiling Cython file:
  290. ------------------------------------------------------------
  291. ...
  292. cdef dict context_state
  293. cdef list context_push
  294. cdef list context_pop
  295.  
  296. cdef RenderContext get_context(self)
  297. cdef void set_state(self, str name, value) except *
  298. ^
  299. ------------------------------------------------------------
  300.  
  301. kivy/graphics/instructions.pxd:56:23: Previous declaration is here
  302.  
  303. Error compiling Cython file:
  304. ------------------------------------------------------------
  305. ...
  306.  
  307. cdef void set_state(self, str name, value):
  308. self.context_state[name] = value
  309. self.flag_update()
  310.  
  311. cdef void push_state(self, str name):
  312. ^
  313. ------------------------------------------------------------
  314.  
  315. kivy/graphics/instructions.pyx:240:9: Signature not compatible with previous declaration
  316.  
  317. Error compiling Cython file:
  318. ------------------------------------------------------------
  319. ...
  320. cdef list context_push
  321. cdef list context_pop
  322.  
  323. cdef RenderContext get_context(self)
  324. cdef void set_state(self, str name, value) except *
  325. cdef void push_state(self, str name) except *
  326. ^
  327. ------------------------------------------------------------
  328.  
  329. kivy/graphics/instructions.pxd:57:24: Previous declaration is here
  330.  
  331. Error compiling Cython file:
  332. ------------------------------------------------------------
  333. ...
  334.  
  335. cdef void push_state(self, str name):
  336. self.context_push.append(name)
  337. self.flag_update()
  338.  
  339. cdef void pop_state(self, str name):
  340. ^
  341. ------------------------------------------------------------
  342.  
  343. kivy/graphics/instructions.pyx:244:9: Signature not compatible with previous declaration
  344.  
  345. Error compiling Cython file:
  346. ------------------------------------------------------------
  347. ...
  348. cdef list context_pop
  349.  
  350. cdef RenderContext get_context(self)
  351. cdef void set_state(self, str name, value) except *
  352. cdef void push_state(self, str name) except *
  353. cdef void pop_state(self, str name) except *
  354. ^
  355. ------------------------------------------------------------
  356.  
  357. kivy/graphics/instructions.pxd:58:23: Previous declaration is here
  358.  
  359. Error compiling Cython file:
  360. ------------------------------------------------------------
  361. ...
  362. self._shader.set_uniform(name, value)
  363.  
  364. cdef get_state(self, str name):
  365. return self.state_stacks[name][-1]
  366.  
  367. cdef void set_states(self, dict states):
  368. ^
  369. ------------------------------------------------------------
  370.  
  371. kivy/graphics/instructions.pyx:767:9: Signature not compatible with previous declaration
  372.  
  373. Error compiling Cython file:
  374. ------------------------------------------------------------
  375. ...
  376. cdef int _use_parent_modelview
  377.  
  378. cdef void set_texture(self, int index, Texture texture)
  379. cdef void set_state(self, str name, value, int apply_now=?)
  380. cdef get_state(self, str name)
  381. cdef void set_states(self, dict states) except *
  382. ^
  383. ------------------------------------------------------------
  384.  
  385. kivy/graphics/instructions.pxd:111:24: Previous declaration is here
  386.  
  387. Error compiling Cython file:
  388. ------------------------------------------------------------
  389. ...
  390. cdef void set_states(self, dict states):
  391. cdef str name
  392. for name, value in states.iteritems():
  393. self.set_state(name, value)
  394.  
  395. cdef void push_state(self, str name):
  396. ^
  397. ------------------------------------------------------------
  398.  
  399. kivy/graphics/instructions.pyx:772:9: Signature not compatible with previous declaration
  400.  
  401. Error compiling Cython file:
  402. ------------------------------------------------------------
  403. ...
  404.  
  405. cdef void set_texture(self, int index, Texture texture)
  406. cdef void set_state(self, str name, value, int apply_now=?)
  407. cdef get_state(self, str name)
  408. cdef void set_states(self, dict states) except *
  409. cdef void push_state(self, str name) except *
  410. ^
  411. ------------------------------------------------------------
  412.  
  413. kivy/graphics/instructions.pxd:112:24: Previous declaration is here
  414.  
  415. Error compiling Cython file:
  416. ------------------------------------------------------------
  417. ...
  418. cdef void push_state(self, str name):
  419. stack = self.state_stacks[name]
  420. stack.append(stack[-1])
  421. self.flag_update()
  422.  
  423. cdef void push_states(self, list names):
  424. ^
  425. ------------------------------------------------------------
  426.  
  427. kivy/graphics/instructions.pyx:777:9: Signature not compatible with previous declaration
  428.  
  429. Error compiling Cython file:
  430. ------------------------------------------------------------
  431. ...
  432. cdef void set_texture(self, int index, Texture texture)
  433. cdef void set_state(self, str name, value, int apply_now=?)
  434. cdef get_state(self, str name)
  435. cdef void set_states(self, dict states) except *
  436. cdef void push_state(self, str name) except *
  437. cdef void push_states(self, list names) except *
  438. ^
  439. ------------------------------------------------------------
  440.  
  441. kivy/graphics/instructions.pxd:113:25: Previous declaration is here
  442.  
  443. Error compiling Cython file:
  444. ------------------------------------------------------------
  445. ...
  446. cdef void push_states(self, list names):
  447. cdef str name
  448. for name in names:
  449. self.push_state(name)
  450.  
  451. cdef void pop_state(self, str name):
  452. ^
  453. ------------------------------------------------------------
  454.  
  455. kivy/graphics/instructions.pyx:782:9: Signature not compatible with previous declaration
  456.  
  457. Error compiling Cython file:
  458. ------------------------------------------------------------
  459. ...
  460. cdef void set_state(self, str name, value, int apply_now=?)
  461. cdef get_state(self, str name)
  462. cdef void set_states(self, dict states) except *
  463. cdef void push_state(self, str name) except *
  464. cdef void push_states(self, list names) except *
  465. cdef void pop_state(self, str name) except *
  466. ^
  467. ------------------------------------------------------------
  468.  
  469. kivy/graphics/instructions.pxd:114:23: Previous declaration is here
  470.  
  471. Error compiling Cython file:
  472. ------------------------------------------------------------
  473. ...
  474. oldvalue = stack.pop()
  475. if oldvalue != stack[-1]:
  476. self.set_state(name, stack[-1])
  477. self.flag_update()
  478.  
  479. cdef void pop_states(self, list names):
  480. ^
  481. ------------------------------------------------------------
  482.  
  483. kivy/graphics/instructions.pyx:789:9: Signature not compatible with previous declaration
  484.  
  485. Error compiling Cython file:
  486. ------------------------------------------------------------
  487. ...
  488. cdef get_state(self, str name)
  489. cdef void set_states(self, dict states) except *
  490. cdef void push_state(self, str name) except *
  491. cdef void push_states(self, list names) except *
  492. cdef void pop_state(self, str name) except *
  493. cdef void pop_states(self, list names) except *
  494. ^
  495. ------------------------------------------------------------
  496.  
  497. kivy/graphics/instructions.pxd:115:24: Previous declaration is here
  498.  
  499. Error compiling Cython file:
  500. ------------------------------------------------------------
  501. ...
  502. _active_texture = index
  503. glActiveTexture(GL_TEXTURE0 + index)
  504. texture.bind()
  505. self.flag_update()
  506.  
  507. cdef void enter(self):
  508. ^
  509. ------------------------------------------------------------
  510.  
  511. kivy/graphics/instructions.pyx:809:9: Signature not compatible with previous declaration
  512.  
  513. Error compiling Cython file:
  514. ------------------------------------------------------------
  515. ...
  516. cdef void set_states(self, dict states) except *
  517. cdef void push_state(self, str name) except *
  518. cdef void push_states(self, list names) except *
  519. cdef void pop_state(self, str name) except *
  520. cdef void pop_states(self, list names) except *
  521. cdef void enter(self) except *
  522. ^
  523. ------------------------------------------------------------
  524.  
  525. kivy/graphics/instructions.pxd:116:19: Previous declaration is here
  526.  
  527. Error compiling Cython file:
  528. ------------------------------------------------------------
  529. ...
  530. self.flag_update()
  531.  
  532. cdef void enter(self):
  533. self._shader.use()
  534.  
  535. cdef void leave(self):
  536. ^
  537. ------------------------------------------------------------
  538.  
  539. kivy/graphics/instructions.pyx:812:9: Signature not compatible with previous declaration
  540.  
  541. Error compiling Cython file:
  542. ------------------------------------------------------------
  543. ...
  544. cdef void push_state(self, str name) except *
  545. cdef void push_states(self, list names) except *
  546. cdef void pop_state(self, str name) except *
  547. cdef void pop_states(self, list names) except *
  548. cdef void enter(self) except *
  549. cdef void leave(self) except *
  550. ^
  551. ------------------------------------------------------------
  552.  
  553. kivy/graphics/instructions.pxd:117:19: Previous declaration is here
  554.  
  555. Error compiling Cython file:
  556. ------------------------------------------------------------
  557. ...
  558. self._shader.use()
  559.  
  560. cdef void leave(self):
  561. self._shader.stop()
  562.  
  563. cdef void apply(self):
  564. ^
  565. ------------------------------------------------------------
  566.  
  567. kivy/graphics/instructions.pyx:815:9: 'apply' already defined
  568.  
  569. Error compiling Cython file:
  570. ------------------------------------------------------------
  571. ...
  572. self._shader.use()
  573.  
  574. cdef void leave(self):
  575. self._shader.stop()
  576.  
  577. cdef void apply(self):
  578. ^
  579. ------------------------------------------------------------
  580.  
  581. kivy/graphics/instructions.pyx:815:9: Signature not compatible with previous declaration
  582.  
  583. Error compiling Cython file:
  584. ------------------------------------------------------------
  585. ...
  586. cdef void push_states(self, list names) except *
  587. cdef void pop_state(self, str name) except *
  588. cdef void pop_states(self, list names) except *
  589. cdef void enter(self) except *
  590. cdef void leave(self) except *
  591. cdef void apply(self) except *
  592. ^
  593. ------------------------------------------------------------
  594.  
  595. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  596.  
  597. Error compiling Cython file:
  598. ------------------------------------------------------------
  599. ...
  600. cpdef release(self)
  601. cpdef get_pixel_color(self, int wx, int wy)
  602.  
  603. cdef void create_fbo(self)
  604. cdef void delete_fbo(self)
  605. cdef void apply(self)
  606. ^
  607. ------------------------------------------------------------
  608.  
  609. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  610.  
  611. Error compiling Cython file:
  612. ------------------------------------------------------------
  613. ...
  614. cdef void push_states(self, list names) except *
  615. cdef void pop_state(self, str name) except *
  616. cdef void pop_states(self, list names) except *
  617. cdef void enter(self) except *
  618. cdef void leave(self) except *
  619. cdef void apply(self) except *
  620. ^
  621. ------------------------------------------------------------
  622.  
  623. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  624.  
  625. Error compiling Cython file:
  626. ------------------------------------------------------------
  627. ...
  628. cdef void stop(self):
  629. '''Stop using the shader.
  630. '''
  631. glUseProgram(0)
  632.  
  633. cdef void set_uniform(self, str name, value):
  634. ^
  635. ------------------------------------------------------------
  636.  
  637. kivy/graphics/shader.pyx:224:9: Signature not compatible with previous declaration
  638.  
  639. Error compiling Cython file:
  640. ------------------------------------------------------------
  641. ...
  642. cdef dict uniform_locations
  643. cdef dict uniform_values
  644.  
  645. cdef void use(self)
  646. cdef void stop(self)
  647. cdef void set_uniform(self, str name, value) except *
  648. ^
  649. ------------------------------------------------------------
  650.  
  651. kivy/graphics/shader.pxd:29:25: Previous declaration is here
  652.  
  653. Error compiling Cython file:
  654. ------------------------------------------------------------
  655. ...
  656. if name in self.uniform_values and self.uniform_values[name] == value:
  657. return
  658. self.uniform_values[name] = value
  659. self.upload_uniform(name, value)
  660.  
  661. cdef void upload_uniform(self, str name, value):
  662. ^
  663. ------------------------------------------------------------
  664.  
  665. kivy/graphics/shader.pyx:230:9: Signature not compatible with previous declaration
  666.  
  667. Error compiling Cython file:
  668. ------------------------------------------------------------
  669. ...
  670. cdef dict uniform_values
  671.  
  672. cdef void use(self)
  673. cdef void stop(self)
  674. cdef void set_uniform(self, str name, value) except *
  675. cdef void upload_uniform(self, str name, value) except *
  676. ^
  677. ------------------------------------------------------------
  678.  
  679. kivy/graphics/shader.pxd:30:28: Previous declaration is here
  680.  
  681. Error compiling Cython file:
  682. ------------------------------------------------------------
  683. ...
  684. cdef GLfloat mat[16]
  685. for x in xrange(16):
  686. mat[x] = <GLfloat>value.mat[x]
  687. glUniformMatrix4fv(loc, 1, False, mat)
  688.  
  689. cdef int get_uniform_loc(self, str name):
  690. ^
  691. ------------------------------------------------------------
  692.  
  693. kivy/graphics/shader.pyx:415:9: Signature not compatible with previous declaration
  694.  
  695. Error compiling Cython file:
  696. ------------------------------------------------------------
  697. ...
  698. cdef void use(self)
  699. cdef void stop(self)
  700. cdef void set_uniform(self, str name, value) except *
  701. cdef void upload_uniform(self, str name, value) except *
  702. cdef void upload_uniform_matrix(self, int loc, Matrix value)
  703. cdef int get_uniform_loc(self, str name) except *
  704. ^
  705. ------------------------------------------------------------
  706.  
  707. kivy/graphics/shader.pxd:32:28: Previous declaration is here
  708.  
  709. Error compiling Cython file:
  710. ------------------------------------------------------------
  711. ...
  712. glEnableVertexAttribArray(attr.index)
  713.  
  714. # save for the next run.
  715. self._current_vertex_format = vertex_format
  716.  
  717. cdef void build(self):
  718. ^
  719. ------------------------------------------------------------
  720.  
  721. kivy/graphics/shader.pyx:455:9: Signature not compatible with previous declaration
  722.  
  723. Error compiling Cython file:
  724. ------------------------------------------------------------
  725. ...
  726. cdef void stop(self)
  727. cdef void set_uniform(self, str name, value) except *
  728. cdef void upload_uniform(self, str name, value) except *
  729. cdef void upload_uniform_matrix(self, int loc, Matrix value)
  730. cdef int get_uniform_loc(self, str name) except *
  731. cdef void build(self) except *
  732. ^
  733. ------------------------------------------------------------
  734.  
  735. kivy/graphics/shader.pxd:33:19: Previous declaration is here
  736.  
  737. Error compiling Cython file:
  738. ------------------------------------------------------------
  739. ...
  740.  
  741. cdef void build(self):
  742. self.build_vertex()
  743. self.build_fragment()
  744.  
  745. cdef void build_vertex(self, int link=1):
  746. ^
  747. ------------------------------------------------------------
  748.  
  749. kivy/graphics/shader.pyx:459:9: Signature not compatible with previous declaration
  750.  
  751. Error compiling Cython file:
  752. ------------------------------------------------------------
  753. ...
  754. cdef void set_uniform(self, str name, value) except *
  755. cdef void upload_uniform(self, str name, value) except *
  756. cdef void upload_uniform_matrix(self, int loc, Matrix value)
  757. cdef int get_uniform_loc(self, str name) except *
  758. cdef void build(self) except *
  759. cdef void build_vertex(self, int link=*) except *
  760. ^
  761. ------------------------------------------------------------
  762.  
  763. kivy/graphics/shader.pxd:34:26: Previous declaration is here
  764.  
  765. Error compiling Cython file:
  766. ------------------------------------------------------------
  767. ...
  768. if self.vertex_shader is not None:
  769. glAttachShader(self.program, self.vertex_shader.shader)
  770. if link:
  771. self.link_program()
  772.  
  773. cdef void build_fragment(self, int link=1):
  774. ^
  775. ------------------------------------------------------------
  776.  
  777. kivy/graphics/shader.pyx:469:9: Signature not compatible with previous declaration
  778.  
  779. Error compiling Cython file:
  780. ------------------------------------------------------------
  781. ...
  782. cdef void upload_uniform(self, str name, value) except *
  783. cdef void upload_uniform_matrix(self, int loc, Matrix value)
  784. cdef int get_uniform_loc(self, str name) except *
  785. cdef void build(self) except *
  786. cdef void build_vertex(self, int link=*) except *
  787. cdef void build_fragment(self, int link=*) except *
  788. ^
  789. ------------------------------------------------------------
  790.  
  791. kivy/graphics/shader.pxd:35:28: Previous declaration is here
  792.  
  793. Error compiling Cython file:
  794. ------------------------------------------------------------
  795. ...
  796. if self.fragment_shader is not None:
  797. glAttachShader(self.program, self.fragment_shader.shader)
  798. if link:
  799. self.link_program()
  800.  
  801. cdef void link_program(self):
  802. ^
  803. ------------------------------------------------------------
  804.  
  805. kivy/graphics/shader.pyx:479:9: Signature not compatible with previous declaration
  806.  
  807. Error compiling Cython file:
  808. ------------------------------------------------------------
  809. ...
  810. cdef void upload_uniform_matrix(self, int loc, Matrix value)
  811. cdef int get_uniform_loc(self, str name) except *
  812. cdef void build(self) except *
  813. cdef void build_vertex(self, int link=*) except *
  814. cdef void build_fragment(self, int link=*) except *
  815. cdef void link_program(self) except *
  816. ^
  817. ------------------------------------------------------------
  818.  
  819. kivy/graphics/shader.pxd:36:26: Previous declaration is here
  820.  
  821. Error compiling Cython file:
  822. ------------------------------------------------------------
  823. ...
  824. cpdef release(self)
  825. cpdef get_pixel_color(self, int wx, int wy)
  826.  
  827. cdef void create_fbo(self)
  828. cdef void delete_fbo(self)
  829. cdef void apply(self)
  830. ^
  831. ------------------------------------------------------------
  832.  
  833. kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration
  834.  
  835. Error compiling Cython file:
  836. ------------------------------------------------------------
  837. ...
  838. cdef void push_states(self, list names) except *
  839. cdef void pop_state(self, str name) except *
  840. cdef void pop_states(self, list names) except *
  841. cdef void enter(self) except *
  842. cdef void leave(self) except *
  843. cdef void apply(self) except *
  844. ^
  845. ------------------------------------------------------------
  846.  
  847. kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  848. [INFO ] Kivy v1.8.0
  849. /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
  850. warnings.warn(msg)
  851. /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  852. warnings.warn(msg)
  853.  
  854. Cython check avoided.
  855. running build_ext
  856. Build configuration is:
  857. * use_rpi = False
  858. * use_opengl_es2 = True
  859. * use_opengl_debug = False
  860. * use_glew = False
  861. * use_sdl = False
  862. * use_ios = False
  863. * use_mesagl = False
  864. * use_x11 = False
  865. * use_gstreamer = False
  866. * use_avfoundation = False
  867. Generate config.h
  868. Generate config.pxi
  869. Detected compiler is unix
  870. building 'kivy.graphics.texture' extension
  871. arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/dan/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/texture.c -o build/temp.linux-x86_64-2.7/kivy/graphics/texture.o
  872. kivy/graphics/texture.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
  873. #error Do not use this file, it is the result of a failed Cython compilation.
  874. ^
  875. error: command 'arm-linux-androideabi-gcc' failed with exit status 1
  876. # Command failed: ./distribute.sh -m "kivy" -d "myapp"
  877. dan@xc:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement