Advertisement
Guest User

Kivy

a guest
Aug 15th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.72 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.18.4 (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-8-openjdk-amd64/bin/javac
  17. # Search for Java keytool (keytool)
  18. # -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
  19. # Install platform
  20. # Run 'pip install -q --user "appdirs" "colorama>=0.3.3" "sh>=1.10" "jinja2" "six"'
  21. # Cwd None
  22. # Apache ANT found at /home/simon/.buildozer/android/platform/apache-ant-1.9.4
  23. # Android SDK found at /home/simon/.buildozer/android/platform/android-sdk-20
  24. # Android NDK found at /home/simon/.buildozer/android/platform/android-ndk-r9c
  25. # Check application requirements
  26. # Check garden requirements
  27. # Compile platform
  28. # Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=TestApp --bootstrap=sdl2 --requirements=kivy,hostpython2 --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build'
  29. # Cwd /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  30. [INFO]: Will compile for the following archs: armeabi-v7a
  31. [INFO]: Found Android API target in $ANDROIDAPI
  32. [INFO]: Available Android APIs are (19)
  33. [INFO]: Requested API target 19 is available, continuing.
  34. [INFO]: Found NDK dir in $ANDROIDNDK
  35. [INFO]: Got NDK version from $ANDROIDNDKVER
  36. [INFO]: Using Google NDK r9c
  37. [INFO]: Found virtualenv at /usr/local/bin/virtualenv
  38. [INFO]: ccache is missing, the build will not be optimized in the future.
  39. [INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
  40. [INFO]: Picking the latest gcc toolchain, here 4.8
  41. [WARNING]: Missing executable: libtoolize is not installed
  42. [INFO]: No existing dists meet the given requirements!
  43. [INFO]: No dist exists that meets your requirements, so one will be built.
  44. [INFO]: Bootstrap requires recipes ['sdl2', ('python2', 'python3crystax')]
  45. [INFO]: Loaded recipe sdl2 (depends on [('python2', 'python3crystax'), 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf'], conflicts ['sdl', 'pygame', 'pygame_bootstrap_components'])
  46. [INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
  47. [INFO]: Loaded recipe kivy (depends on [('sdl2', 'pygame'), 'pyjnius', ('python2', 'python3crystax')])
  48. [INFO]: Loaded recipe sdl2_image (depends on [])
  49. [INFO]: Loaded recipe sdl2_mixer (depends on [])
  50. [INFO]: Loaded recipe sdl2_ttf (depends on [])
  51. [INFO]: Loaded recipe pyjnius (depends on [('sdl2', 'sdl', 'genericndkbuild'), 'six', ('python2', 'python3crystax')])
  52. [INFO]: Loaded recipe six (depends on [('python2', 'python3crystax')])
  53. [INFO]: Found multiple valid recipe sets:
  54. [INFO]: dict_keys(['sdl2_image', 'python2', 'sdl2_mixer', 'kivy', 'sdl2', 'sdl2_ttf', 'six', 'hostpython2', 'pyjnius'])
  55. [INFO]: dict_keys(['sdl2_image', 'pyjnius', 'sdl2_mixer', 'kivy', 'sdl2', 'sdl2_ttf', 'six', 'hostpython2', 'python3crystax'])
  56. [INFO]: Using the first of these: dict_keys(['sdl2_image', 'python2', 'sdl2_mixer', 'kivy', 'sdl2', 'sdl2_ttf', 'six', 'hostpython2', 'pyjnius'])
  57. [INFO]: The selected bootstrap is sdl2
  58. [INFO]: # Creating dist with sdl2 bootstrap
  59. [INFO]: Dist will have name TestApp and recipes (kivy, hostpython2)
  60. [INFO]: -> running cp -r /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/bootstraps/sdl2/build /home/sim...(and 94 more)
  61. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2
  62. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  63. [INFO]: Recipe build order is ['hostpython2', 'python2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sdl2', 'six', 'pyjnius', 'kivy']
  64. [INFO]: # Downloading recipes
  65. [INFO]: Downloading hostpython2
  66. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/hostpython2
  67. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/hostpython2
  68. [INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
  69. [INFO]: hostpython2 download already cached, skipping
  70. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  71. [INFO]: Downloading python2
  72. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/python2
  73. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/python2
  74. [INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
  75. [INFO]: python2 download already cached, skipping
  76. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  77. [INFO]: Downloading sdl2_image
  78. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_image
  79. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_image
  80. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
  81. [INFO]: sdl2_image download already cached, skipping
  82. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  83. [INFO]: Downloading sdl2_mixer
  84. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_mixer
  85. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_mixer
  86. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
  87. [INFO]: sdl2_mixer download already cached, skipping
  88. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  89. [INFO]: Downloading sdl2_ttf
  90. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_ttf
  91. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2_ttf
  92. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
  93. [INFO]: sdl2_ttf download already cached, skipping
  94. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  95. [INFO]: Downloading sdl2
  96. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2
  97. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/sdl2
  98. [INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
  99. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  100. [INFO]: Downloading six
  101. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/six
  102. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/six
  103. [INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
  104. [INFO]: six download already cached, skipping
  105. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  106. [INFO]: Downloading pyjnius
  107. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/pyjnius
  108. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/pyjnius
  109. [INFO]: -> running basename https://github.com/kivy/pyjnius/archive/master.zip
  110. [INFO]: pyjnius download already cached, skipping
  111. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  112. [INFO]: Downloading kivy
  113. [INFO]: -> running mkdir -p /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/kivy
  114. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/packages/kivy
  115. [INFO]: -> running basename https://github.com/kivy/kivy/archive/1.10.0.zip
  116. [INFO]: kivy download already cached, skipping
  117. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  118. [INFO]: # Building all recipes for arch armeabi-v7a
  119. [INFO]: # Unpacking recipes
  120. [INFO]: Unpacking hostpython2 for armeabi-v7a
  121. [INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
  122. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
  123. [INFO]: hostpython2 is already unpacked, skipping
  124. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  125. [INFO]: Unpacking python2 for armeabi-v7a
  126. [INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
  127. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
  128. [INFO]: python2 is already unpacked, skipping
  129. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  130. [INFO]: Unpacking sdl2_image for armeabi-v7a
  131. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
  132. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
  133. [INFO]: sdl2_image is already unpacked, skipping
  134. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  135. [INFO]: Unpacking sdl2_mixer for armeabi-v7a
  136. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
  137. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
  138. [INFO]: sdl2_mixer is already unpacked, skipping
  139. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  140. [INFO]: Unpacking sdl2_ttf for armeabi-v7a
  141. [INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
  142. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
  143. [INFO]: sdl2_ttf is already unpacked, skipping
  144. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  145. [INFO]: Unpacking sdl2 for armeabi-v7a
  146. [INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
  147. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
  148. [INFO]: sdl2 is already unpacked, skipping
  149. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  150. [INFO]: Unpacking six for armeabi-v7a
  151. [INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
  152. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
  153. [INFO]: six is already unpacked, skipping
  154. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  155. [INFO]: Unpacking pyjnius for armeabi-v7a
  156. [INFO]: -> running basename https://github.com/kivy/pyjnius/archive/master.zip
  157. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
  158. [INFO]: pyjnius is already unpacked, skipping
  159. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  160. [INFO]: Unpacking kivy for armeabi-v7a
  161. [INFO]: -> running basename https://github.com/kivy/kivy/archive/1.10.0.zip
  162. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
  163. [INFO]: kivy is already unpacked, skipping
  164. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  165. [INFO]: # Prebuilding recipes
  166. [INFO]: Prebuilding hostpython2 for armeabi-v7a
  167. [INFO]: -> running cp /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/hostpython2/Setup /home/si...(and 124 more)
  168. [INFO]: Prebuilding python2 for armeabi-v7a
  169. [INFO]: python2 has no prebuild_armeabi_v7a, skipping
  170. [INFO]: Applying patches for python2[armeabi-v7a]
  171. [INFO]: python2 already patched, skipping
  172. [INFO]: Prebuilding sdl2_image for armeabi-v7a
  173. [INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
  174. [INFO]: Applying patches for sdl2_image[armeabi-v7a]
  175. [INFO]: sdl2_image already patched, skipping
  176. [INFO]: Prebuilding sdl2_mixer for armeabi-v7a
  177. [INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
  178. [INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
  179. [INFO]: sdl2_mixer already patched, skipping
  180. [INFO]: Prebuilding sdl2_ttf for armeabi-v7a
  181. [INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
  182. [INFO]: Prebuilding sdl2 for armeabi-v7a
  183. [INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
  184. [INFO]: Applying patches for sdl2[armeabi-v7a]
  185. [INFO]: sdl2 already patched, skipping
  186. [INFO]: Prebuilding six for armeabi-v7a
  187. [INFO]: six has no prebuild_armeabi_v7a, skipping
  188. [INFO]: Prebuilding pyjnius for armeabi-v7a
  189. [INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
  190. [INFO]: Applying patches for pyjnius[armeabi-v7a]
  191. [INFO]: pyjnius already patched, skipping
  192. [INFO]: Prebuilding kivy for armeabi-v7a
  193. [INFO]: kivy has no prebuild_armeabi_v7a, skipping
  194. [INFO]: # Building recipes
  195. [INFO]: Building hostpython2 for armeabi-v7a
  196. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
  197. [INFO]: hostpython already exists, skipping build
  198. [INFO]: <- directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master
  199. [INFO]: Building python2 for armeabi-v7a
  200. [INFO]: Copying hostpython binary to targetpython folder
  201. [INFO]: -> running cp /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/hostpython /home/sim...(and 104 more)
  202. [INFO]: Building sdl2_image for armeabi-v7a
  203. [INFO]: Building sdl2_mixer for armeabi-v7a
  204. [INFO]: Building sdl2_ttf for armeabi-v7a
  205. [INFO]: Building sdl2 for armeabi-v7a
  206. [INFO]: -> directory context /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
  207. [INFO]: -> running ndk-build V=1
  208. Exception in thread background thread for pid 2693:
  209. Traceback (most recent call last):
  210. File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
  211. self.run()
  212. File "/usr/lib/python3.5/threading.py", line 862, in run
  213. self._target(*self._args, **self._kwargs)
  214. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 1540, in wrap
  215. fn(*args, **kwargs)
  216. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 2459, in background_thread
  217. handle_exit_code(exit_code)
  218. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 2157, in fn
  219. return self.command.handle_command_exit_code(exit_code)
  220. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 815, in handle_command_exit_code
  221. raise exc
  222. sh.ErrorReturnCode_2:
  223.  
  224. RAN: /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
  225.  
  226. STDOUT:
  227. /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build: 158: /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build: file: not found
  228. /bin/sh: 1: file: not found
  229. Android NDK: WARNING:/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/src/Android.mk:main: non-system libraries in linker flags: -lpython2.7
  230. Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
  231. Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
  232. Android NDK: current module
  233. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/lib*.so
  234. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/gdbserver
  235. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/gdb.setup
  236. [armeabi-v7a] Compile thumb : SDL2 <= SDL_error.c
  237. /home/simon/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -MMD -MP -MF /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL/include -I/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL -DANDROID -DGL_GLEXT_PROTOTYPES -Wa,--noexecstack -Wformat -Werror=format-security -I/home/simon/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm/usr/include -c /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL/src/SDL_error.c -o /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o
  238. make: /home/simon/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
  239. /home/simon/.buildozer/android/platform/android-ndk-r9c/build/core/build-binary.mk:386: recipe for target '/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o' failed
  240. make: *** [/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o] Error 127
  241.  
  242.  
  243. STDERR:
  244.  
  245.  
  246. Traceback (most recent call last):
  247. File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
  248. "__main__", mod_spec)
  249. File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
  250. exec(code, run_globals)
  251. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 905, in <module>
  252. main()
  253. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 902, in main
  254. ToolchainCL()
  255. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 508, in __init__
  256. getattr(self, args.subparser_name.replace('-', '_'))(args)
  257. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 147, in wrapper_func
  258. build_dist_from_args(ctx, dist, args)
  259. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
  260. build_recipes(build_order, python_modules, ctx)
  261. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/build.py", line 565, in build_recipes
  262. recipe.build_arch(arch)
  263. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/sdl2/__init__.py", line 30, in build_arch
  264. shprint(sh.ndk_build, "V=1", _env=env)
  265. File "/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/python-for-android-master/pythonforandroid/logger.py", line 175, in shprint
  266. for line in output:
  267. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 863, in next
  268. self.wait()
  269. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 792, in wait
  270. self.handle_command_exit_code(exit_code)
  271. File "/usr/local/lib/python3.5/dist-packages/sh.py", line 815, in handle_command_exit_code
  272. raise exc
  273. sh.ErrorReturnCode_2:
  274.  
  275. RAN: /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
  276.  
  277. STDOUT:
  278. /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build: 158: /home/simon/.buildozer/android/platform/android-ndk-r9c/ndk-build: file: not found
  279. /bin/sh: 1: file: not found
  280. Android NDK: WARNING:/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/src/Android.mk:main: non-system libraries in linker flags: -lpython2.7
  281. Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
  282. Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
  283. Android NDK: current module
  284. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/lib*.so /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/lib*.so
  285. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/gdbserver /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/gdbserver
  286. rm -f /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/armeabi-v7a/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/mips/gdb.setup /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/libs/x86/gdb.setup
  287. [armeabi-v7a] Compile thumb : SDL2 <= SDL_error.c
  288. /home/simon/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -MMD -MP -MF /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL/include -I/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL -DANDROID -DGL_GLEXT_PROTOTYPES -Wa,--noexecstack -Wformat -Werror=format-security -I/home/simon/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm/usr/include -c /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni/SDL/src/SDL_error.c -o /home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o
  289. make: /home/simon/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
  290. /home/simon/.buildozer/android/platform/android-ndk-r9c/build/core/build-binary.mk:386: recipe for target '/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o' failed
  291. make: *** [/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/obj/local/armeabi-v7a/objs/SDL2/src/SDL_error.o] Error 127
  292.  
  293.  
  294. STDERR:
  295.  
  296. # Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=TestApp --bootstrap=sdl2 --requirements=kivy,hostpython2 --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/simon/Code/Kivy/KivyTesting/.buildozer/android/platform/build
  297. #
  298. # Buildozer failed to execute the last command
  299. # The error might be hidden in the log above this error
  300. # Please read the full log, and search for it before
  301. # raising an issue with buildozer itself.
  302. # 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