Guest User

Untitled

a guest
Mar 18th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.10 KB | None | 0 0
  1. kivy@kivyvm:~$ cd Projects
  2. kivy@kivyvm:~/Projects$ cd CalcGame
  3. kivy@kivyvm:~/Projects/CalcGame$ ls
  4. bin CalcGameStats.txt calculation.kv main.py Pipfile.lock
  5. buildozer.spec calculation.ini json_settings.py Pipfile __pycache__
  6. kivy@kivyvm:~/Projects/CalcGame$ buildozer android debug
  7. # Check configu
  8.  
  9. ration tokens
  10. # Ensure build layout
  11. # Check configuration tokens
  12. # Preparing build
  13. # Check requirements for android
  14. # Run 'dpkg --version'
  15. # Cwd None
  16. Debian 'dpkg' package management program version 1.18.10 (amd64).
  17. This is free software; see the GNU General Public License version 2 or
  18. later for copying conditions. There is NO warranty.
  19. # Search for Git (git)
  20. # -> found at /usr/bin/git
  21. # Search for Cython (cython)
  22. # -> found at /usr/local/bin/cython
  23. # Search for Java compiler (javac)
  24. # -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
  25. # Search for Java keytool (keytool)
  26. # -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
  27. # Install platform
  28. # Run 'pip install -q --user "appdirs" "colorama>=0.3.3" "sh>=1.10,<1.12.5" "jinja2" "six"'
  29. # Cwd None
  30. # Apache ANT found at /home/kivy/.buildozer/android/platform/apache-ant-1.9.4
  31. # Android SDK found at /home/kivy/.buildozer/android/platform/android-sdk-20
  32. # Android NDK found at /home/kivy/.buildozer/android/platform/android-ndk-r9c
  33. # Check application requirements
  34. # Check garden requirements
  35. # Compile platform
  36. # Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=calcgame --bootstrap=sdl2 --requirements=kivy,operator,webbrowser,random,datetime,functools,android --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Projects/CalcGame/.buildozer/android/platform/build'
  37. # Cwd /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  38. [INFO]: Will compile for the following archs: armeabi-v7a
  39. [INFO]: Found Android API target in $ANDROIDAPI
  40. [INFO]: Available Android APIs are (19)
  41. [INFO]: Requested API target 19 is available, continuing.
  42. [INFO]: Found NDK dir in $ANDROIDNDK
  43. [INFO]: Got NDK version from $ANDROIDNDKVER
  44. [INFO]: Using Google NDK r9c
  45. [INFO]: Found virtualenv at /usr/local/bin/virtualenv
  46. [INFO]: ccache is missing, the build will not be optimized in the future.
  47. [INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
  48. [INFO]: Picking the latest gcc toolchain, here 4.8
  49. [WARNING]: Missing executable: autoconf is not installed
  50. [WARNING]: Missing executable: automake is not installed
  51. [WARNING]: Missing executable: libtoolize is not installed
  52. [INFO]: No existing dists meet the given requirements!
  53. [INFO]: No dist exists that meets your requirements, so one will be built.
  54. [INFO]: Found multiple valid dependency orders:
  55. [INFO]: [u'datetime', u'functools', 'hostpython2', u'operator', u'random', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'webbrowser', 'python2', 'sdl2', 'six', u'android', 'pyjnius', u'kivy']
  56. [INFO]: [u'datetime', u'functools', 'hostpython3crystax', u'operator', u'random', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'webbrowser', 'python3crystax', 'sdl2', 'six', u'android', 'pyjnius', u'kivy']
  57. [INFO]: [u'datetime', u'functools', 'hostpython2', u'operator', 'pygame_bootstrap_components', u'random', u'webbrowser', 'python2', 'sdl', 'six', 'pygame', 'pyjnius', u'android', u'kivy']
  58. [INFO]: Using the first of these: [u'datetime', u'functools', 'hostpython2', u'operator', u'random', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', u'webbrowser', 'python2', 'sdl2', 'six', u'android', 'pyjnius', u'kivy']
  59. [INFO]: The selected bootstrap is sdl2_gradle
  60. [INFO]: # Creating dist with sdl2_gradle bootstrap
  61. [INFO]: Dist will have name calcgame and recipes (kivy, operator, webbrowser, random, datetime, functools, android)
  62. [INFO]: Dist will also contain modules (operator, functools, random, webbrowser, datetime) installed from pip
  63. [INFO]: -> running cp -r /home/kivy/Projects/Calc...(and 210 more)
  64. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2
  65. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  66. [INFO]: Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'six', u'android', 'pyjnius', u'kivy']
  67. [INFO]: The requirements (datetime, functools, operator, random, webbrowser) were not found as recipes, they will be installed with pip.
  68. [INFO]: # Downloading recipes
  69. [INFO]: Downloading hostpython2
  70. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 62 more)
  71. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/hostpython2
  72. [INFO]: -> running basename https://python.org/ftp...(and 34 more)
  73. [INFO]: hostpython2 download already cached, skipping
  74. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  75. [INFO]: Downloading sdl2_image
  76. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 61 more)
  77. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/sdl2_image
  78. [INFO]: -> running basename https://www.libsdl.or...(and 52 more)
  79. [INFO]: sdl2_image download already cached, skipping
  80. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  81. [INFO]: Downloading sdl2_mixer
  82. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 61 more)
  83. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/sdl2_mixer
  84. [INFO]: -> running basename https://www.libsdl.or...(and 52 more)
  85. [INFO]: sdl2_mixer download already cached, skipping
  86. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  87. [INFO]: Downloading sdl2_ttf
  88. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 59 more)
  89. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/sdl2_ttf
  90. [INFO]: -> running basename https://www.libsdl.org...(and 48 more)
  91. [INFO]: sdl2_ttf download already cached, skipping
  92. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  93. [INFO]: Downloading python2
  94. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 58 more)
  95. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/python2
  96. [INFO]: -> running basename https://python.org/ftp...(and 34 more)
  97. [INFO]: python2 download already cached, skipping
  98. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  99. [INFO]: Downloading sdl2
  100. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 55 more)
  101. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/sdl2
  102. [INFO]: -> running basename https://www.libsdl.org...(and 26 more)
  103. [INFO]: sdl2 download already cached, skipping
  104. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  105. [INFO]: Downloading six
  106. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 54 more)
  107. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/six
  108. [INFO]: -> running basename https://pypi.python.or...(and 40 more)
  109. [INFO]: six download already cached, skipping
  110. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  111. [INFO]: Downloading android
  112. [INFO]: Skipping android download as no URL is set
  113. [INFO]: Downloading pyjnius
  114. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 58 more)
  115. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/pyjnius
  116. [INFO]: -> running basename https://github.com/kiv...(and 28 more)
  117. [INFO]: pyjnius download already cached, skipping
  118. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  119. [INFO]: Downloading kivy
  120. [INFO]: -> running mkdir -p /home/kivy/Projects/C...(and 55 more)
  121. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/packages/kivy
  122. [INFO]: -> running basename https://github.com/kiv...(and 25 more)
  123. [INFO]: kivy download already cached, skipping
  124. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  125. [INFO]: # Building all recipes for arch armeabi-v7a
  126. [INFO]: # Unpacking recipes
  127. [INFO]: Unpacking hostpython2 for armeabi-v7a
  128. [INFO]: -> running basename https://python.org/ftp...(and 34 more)
  129. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
  130. [INFO]: hostpython2 is already unpacked, skipping
  131. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  132. [INFO]: Unpacking sdl2_image for armeabi-v7a
  133. [INFO]: -> running basename https://www.libsdl.or...(and 52 more)
  134. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
  135. [INFO]: sdl2_image is already unpacked, skipping
  136. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  137. [INFO]: Unpacking sdl2_mixer for armeabi-v7a
  138. [INFO]: -> running basename https://www.libsdl.or...(and 52 more)
  139. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
  140. [INFO]: sdl2_mixer is already unpacked, skipping
  141. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  142. [INFO]: Unpacking sdl2_ttf for armeabi-v7a
  143. [INFO]: -> running basename https://www.libsdl.org...(and 48 more)
  144. work[INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
  145. [INFO]: sdl2_ttf is already unpacked, skipping
  146. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  147. [INFO]: Unpacking python2 for armeabi-v7a
  148. [INFO]: -> running basename https://python.org/ftp...(and 34 more)
  149. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
  150. [INFO]: python2 is already unpacked, skipping
  151. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  152. [INFO]: Unpacking sdl2 for armeabi-v7a
  153. [INFO]: -> running basename https://www.libsdl.org...(and 26 more)
  154. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
  155. [INFO]: sdl2 is already unpacked, skipping
  156. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  157. [INFO]: Unpacking six for armeabi-v7a
  158. [INFO]: -> running basename https://pypi.python.or...(and 40 more)
  159. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
  160. [INFO]: six is already unpacked, skipping
  161. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  162. [INFO]: -> running rm -rf /home/kivy/Projects/Cal...(and 99 more)
  163. [INFO]: -> running cp -a /home/kivy/Projects/Calc...(and 225 more)
  164. [INFO]: Unpacking pyjnius for armeabi-v7a
  165. [INFO]: -> running basename https://github.com/kiv...(and 28 more)
  166. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
  167. [INFO]: pyjnius is already unpacked, skipping
  168. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  169. [INFO]: Unpacking kivy for armeabi-v7a
  170. [INFO]: -> running basename https://github.com/kiv...(and 25 more)
  171. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
  172. [INFO]: kivy is already unpacked, skipping
  173. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  174. [INFO]: # Prebuilding recipes
  175. [INFO]: Prebuilding hostpython2 for armeabi-v7a
  176. [INFO]: -> running cp /home/kivy/Projects/CalcGam...(and 233 more)
  177. [INFO]: Prebuilding sdl2_image for armeabi-v7a
  178. [INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
  179. [INFO]: Applying patches for sdl2_image[armeabi-v7a]
  180. [INFO]: sdl2_image already patched, skipping
  181. [INFO]: Prebuilding sdl2_mixer for armeabi-v7a
  182. [INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
  183. [INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
  184. [INFO]: sdl2_mixer already patched, skipping
  185. [INFO]: Prebuilding sdl2_ttf for armeabi-v7a
  186. [INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
  187. [INFO]: Prebuilding python2 for armeabi-v7a
  188. [INFO]: python2 has no prebuild_armeabi_v7a, skipping
  189. [INFO]: Applying patches for python2[armeabi-v7a]
  190. [INFO]: python2 already patched, skipping
  191. [INFO]: Prebuilding sdl2 for armeabi-v7a
  192. [INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
  193. [INFO]: Applying patches for sdl2[armeabi-v7a]
  194. [INFO]: sdl2 already patched, skipping
  195. [INFO]: Prebuilding six for armeabi-v7a
  196. [INFO]: six has no prebuild_armeabi_v7a, skipping
  197. [INFO]: Prebuilding android for armeabi-v7a
  198. [INFO]: android has no prebuild_armeabi_v7a, skipping
  199. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/android-python2-sdl2/armeabi-v7a/android
  200. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  201. [INFO]: Prebuilding pyjnius for armeabi-v7a
  202. [INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
  203. [INFO]: Applying patches for pyjnius[armeabi-v7a]
  204. [INFO]: pyjnius already patched, skipping
  205. [INFO]: Prebuilding kivy for armeabi-v7a
  206. [INFO]: kivy has no prebuild_armeabi_v7a, skipping
  207. [INFO]: # Building recipes
  208. [INFO]: Building hostpython2 for armeabi-v7a
  209. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
  210. [INFO]: hostpython already exists, skipping build
  211. [INFO]: <- directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain
  212. [INFO]: Building sdl2_image for armeabi-v7a
  213. [INFO]: Building sdl2_mixer for armeabi-v7a
  214. [INFO]: Building sdl2_ttf for armeabi-v7a
  215. [INFO]: Building python2 for armeabi-v7a
  216. [INFO]: Copying hostpython binary to targetpython folder
  217. [INFO]: -> running cp /home/kivy/Projects/CalcGam...(and 207 more)
  218. [INFO]: Building sdl2 for armeabi-v7a
  219. [INFO]: -> directory context /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
  220. [INFO]: -> running ndk-build V=1
  221. working: /homeException in thread background thread for pid 2431:
  222. Traceback (most recent call last):
  223. File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  224. self.run()
  225. File "/usr/lib/python2.7/threading.py", line 754, in run
  226. self.__target(*self.__args, **self.__kwargs)
  227. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2170, in background_thread
  228. handle_exit_code(exit_code)
  229. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1929, in fn
  230. return self.command.handle_command_exit_code(exit_code)
  231. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
  232. raise exc
  233. ErrorReturnCode_2:
  234.  
  235. RAN: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
  236.  
  237. STDOUT:
  238. /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/sdl/Android.mk:8: *** Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles". Stop.
  239.  
  240.  
  241. STDERR:
  242.  
  243.  
  244. Traceback (most recent call last):
  245. File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
  246. "__main__", fname, loader, pkg_name)
  247. File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
  248. exec code in run_globals
  249. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in <module>
  250. main()
  251. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
  252. ToolchainCL()
  253. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in __init__
  254. getattr(self, args.subparser_name.replace('-', '_'))(args)
  255. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
  256. build_dist_from_args(ctx, dist, args)
  257. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
  258. build_recipes(build_order, python_modules, ctx)
  259. File "pythonforandroid/build.py", line 573, in build_recipes
  260. File "/home/kivy/Projects/CalcGame/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/sdl2/__init__.py", line 32, in build_arch
  261. shprint(sh.ndk_build, "V=1", _env=env)
  262. File "pythonforandroid/logger.py", line 175, in shprint
  263. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 720, in next
  264. self.wait()
  265. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 651, in wait
  266. self.handle_command_exit_code(exit_code)
  267. File "/usr/local/lib/python2.7/dist-packages/sh.py", line 672, in handle_command_exit_code
  268. raise exc
  269. sh.ErrorReturnCode_2:
  270.  
  271. RAN: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
  272.  
  273. STDOUT:
  274. /home/kivy/Projects/CalcGame/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/sdl/Android.mk:8: *** Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles". Stop.
  275.  
  276.  
  277. STDERR:
  278.  
  279. # Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=calcgame --bootstrap=sdl2 --requirements=kivy,operator,webbrowser,random,datetime,functools,android --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Projects/CalcGame/.buildozer/android/platform/build
  280. #
  281. # Buildozer failed to execute the last command
  282. # The error might be hidden in the log above this error
  283. # Please read the full log, and search for it before
  284. # raising an issue with buildozer itself.
  285. # In case of a bug report, please add a full log with log_level = 2
Add Comment
Please, Sign In to add comment