Guest User

Untitled

a guest
Dec 18th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.49 KB | None | 0 0
  1. [INFO]: Cythonize kivy/graphics/svg.pyx
  2. [INFO]: -> running cython ./kivy/graphics/svg.pyx
  3. Exception in thread background thread for pid 21988:
  4. Traceback (most recent call last):
  5. File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  6. self.run()
  7. File "/usr/lib/python3.6/threading.py", line 864, in run
  8. self._target(*self._args, **self._kwargs)
  9. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 2170, in background_thread
  10. handle_exit_code(exit_code)
  11. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 1929, in fn
  12. return self.command.handle_command_exit_code(exit_code)
  13. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
  14. raise exc
  15. sh.ErrorReturnCode_1:
  16.  
  17. RAN: /usr/bin/cython ./kivy/graphics/svg.pyx
  18.  
  19. STDOUT:
  20.  
  21. Error compiling Cython file:
  22. ------------------------------------------------------------
  23. ...
  24. end = time()
  25. Logger.debug("Svg: Loaded {} in {:.2f}s".format(filename, end - start))
  26. finally:
  27. fd.close()
  28.  
  29. cdef void reload(self) except *:
  30. ^
  31. ------------------------------------------------------------
  32.  
  33. kivy/graphics/svg.pyx:469:9: Signature not compatible with previous declaration
  34.  
  35. Error compiling Cython file:
  36. ------------------------------------------------------------
  37. ...
  38. cpdef flag_update(self, int do_parent=?, list _instrs=?)
  39. ELSE:
  40. cpdef flag_update(self, int do_parent=?)
  41. cdef void flag_update_done(self)
  42. cdef void set_parent(self, Instruction parent)
  43. cdef void reload(self)
  44. ^
  45. ------------------------------------------------------------
  46.  
  47. kivy/graphics/instructions.pxd:36:20: Previous declaration is here
  48.  
  49.  
  50. STDERR:
  51.  
  52.  
  53. Traceback (most recent call last):
  54. File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  55. "__main__", mod_spec)
  56. File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  57. exec(code, run_globals)
  58. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in <module>
  59. main()
  60. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
  61. ToolchainCL()
  62. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in __init__
  63. getattr(self, args.subparser_name.replace('-', '_'))(args)
  64. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
  65. build_dist_from_args(ctx, dist, args)
  66. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
  67. build_recipes(build_order, python_modules, ctx)
  68. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/build.py", line 573, in build_recipes
  69. recipe.build_arch(arch)
  70. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 928, in build_arch
  71. self.build_cython_components(arch)
  72. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 963, in build_cython_components
  73. self.cythonize_build(env=env)
  74. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/kivy/__init__.py", line 18, in cythonize_build
  75. super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)
  76. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 1008, in cythonize_build
  77. self.cythonize_file(env, build_dir, join(root, filename))
  78. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 999, in cythonize_file
  79. shprint(cython_command, filename, *self.cython_args, _env=cyenv)
  80. File "/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/logger.py", line 175, in shprint
  81. for line in output:
  82. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 720, in next
  83. self.wait()
  84. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 651, in wait
  85. self.handle_command_exit_code(exit_code)
  86. File "/home/zhenyamega/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
  87. raise exc
  88. sh.ErrorReturnCode_1:
  89.  
  90. RAN: /usr/bin/cython ./kivy/graphics/svg.pyx
  91.  
  92. STDOUT:
  93.  
  94. Error compiling Cython file:
  95. ------------------------------------------------------------
  96. ...
  97. end = time()
  98. Logger.debug("Svg: Loaded {} in {:.2f}s".format(filename, end - start))
  99. finally:
  100. fd.close()
  101.  
  102. cdef void reload(self) except *:
  103. ^
  104. ------------------------------------------------------------
  105.  
  106. kivy/graphics/svg.pyx:469:9: Signature not compatible with previous declaration
  107.  
  108. Error compiling Cython file:
  109. ------------------------------------------------------------
  110. ...
  111. cpdef flag_update(self, int do_parent=?, list _instrs=?)
  112. ELSE:
  113. cpdef flag_update(self, int do_parent=?)
  114. cdef void flag_update_done(self)
  115. cdef void set_parent(self, Instruction parent)
  116. cdef void reload(self)
  117. ^
  118. ------------------------------------------------------------
  119.  
  120. kivy/graphics/instructions.pxd:36:20: Previous declaration is here
  121.  
  122.  
  123. STDERR:
  124.  
  125. b'x1b[0mr working: arm-linux-androideabi-gcc -DANDROID -man...(and 1612 more) 'b'x1b[0mr working: arm-linux-androideabi-gcc: error: kivy/cor...(and 46 more) 'b'x1b[0mr working: arm-linux-androideabi-gcc: fatal error: no input files 'b'x1b[0mr working: compilation terminated. 'b"x1b[0mr working: error: command 'arm-linux-androideabi-gcc...(and 27 more) "b'x1b[0mr r'b'nx1b[0mr working: Error compiling Cython file: 'b'x1b[0mr working: ------------------------------------------...(and 18 more) 'b'x1b[0mr working: ... 'b'x1b[0mr working: end = time() 'b'x1b[0mr working: Logger.debug("Svg: Loaded ...(and 45 more) 'b'x1b[0mr working: finally: 'b'x1b[0mr working: fd.close() 'b'x1b[0mr working: cdef void reload(self) except *: 'b'x1b[0mr working: ^ 'b'x1b[0mr working: ------------------------------------------...(and 18 more) 'b'x1b[0mr working: kivy/graphics/svg.pyx:469:9: Signature not...(and 37 more) 'b'x1b[0mr working: Error compiling Cython file: 'b'x1b[0mr working: ------------------------------------------...(and 18 more) 'b'x1b[0mr working: ... 'b'x1b[0mr working: cpdef flag_update(self, int do_par...(and 22 more) 'b'x1b[0mr working: ELSE: 'b'x1b[0mr working: cpdef flag_update(self, int do_parent=?) 'b'x1b[0mr working: cdef void flag_update_done(self) 'b'x1b[0mr working: cdef void set_parent(self, Instruction parent) 'b'x1b[0mr working: cdef void reload(self) 'b'x1b[0mr working: ^ 'b'x1b[0mr working: ------------------------------------------...(and 18 more) 'b'x1b[0mr working: kivy/graphics/instructions.pxd:36:20: Prev...(and 24 more) 'b'x1b[0mr r'
  126.  
  127. # Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=Shpora --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/zhenyamega/Desktop/kivy/android/.buildozer/android/platform/build
  128. #
  129. # Buildozer failed to execute the last command
  130. # The error might be hidden in the log above this error
  131. # Please read the full log, and search for it before
  132. # raising an issue with buildozer itself.
  133. # In case of a bug report, please add a full log with log_level = 2
  134.  
  135. [app]
  136.  
  137. # (str) Title of your application
  138. title = Shpora
  139.  
  140. # (str) Package name
  141. package.name = Shpora
  142.  
  143. # (str) Package domain (needed for android/ios packaging)
  144. package.domain = zhenyamega.ru
  145.  
  146. # (str) Source code where the main.py live
  147. source.dir = .
  148.  
  149. # (list) Source files to include (let empty to include all the files)
  150. source.include_exts = py,png,jpg,kv,atlas,json
  151.  
  152. # (list) List of inclusions using pattern matching
  153. #source.include_patterns = assets/*,images/*.png
  154.  
  155. # (list) Source files to exclude (let empty to not exclude anything)
  156. #source.exclude_exts = spec
  157.  
  158. # (list) List of directory to exclude (let empty to not exclude anything)
  159. #source.exclude_dirs = tests, bin
  160.  
  161. # (list) List of exclusions using pattern matching
  162. #source.exclude_patterns = license,images/*/*.jpg
  163.  
  164. # (str) Application versioning (method 1)
  165. version = 1.0
  166.  
  167. # (str) Application versioning (method 2)
  168. # version.regex = __version__ = ['"](.*)['"]
  169. # version.filename = %(source.dir)s/main.py
  170.  
  171. # (list) Application requirements
  172. # comma seperated e.g. requirements = sqlite3,kivy
  173. requirements = kivy
  174.  
  175. # (str) Custom source folders for requirements
  176. # Sets custom source for any requirements with recipes
  177. # requirements.source.kivy = ../../kivy
  178.  
  179. # (list) Garden requirements
  180. #garden_requirements =
  181.  
  182. # (str) Presplash of the application
  183. #presplash.filename = %(source.dir)s/data/presplash.png
  184.  
  185. # (str) Icon of the application
  186. #icon.filename = %(source.dir)s/data/icon.png
  187.  
  188. # (str) Supported orientation (one of landscape, portrait or all)
  189. orientation = all
  190.  
  191. # (list) List of service to declare
  192. #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
  193. #
  194. # OSX Specific
  195. #
  196.  
  197. #
  198. # author = © Copyright Info
  199.  
  200. # change the major version of python used by the app
  201. osx.python_version = 3
  202.  
  203. # Kivy version to use
  204. osx.kivy_version = 1.9.1
  205.  
  206. #
  207. # Android specific
  208. #
  209.  
  210. # (bool) Indicate if the application should be fullscreen or not
  211. fullscreen = 0
  212.  
  213. # (string) Presplash background color (for new android toolchain)
  214. # Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
  215. # red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
  216. # darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
  217. # olive, purple, silver, teal.
  218. #android.presplash_color = #FFFFFF
  219.  
  220. # (list) Permissions
  221. android.permissions = INTERNET
  222.  
  223. # (int) Android API to use
  224. android.api = 19
  225.  
  226. # (int) Minimum API required
  227. android.minapi = 9
  228.  
  229. # (int) Android SDK version to use
  230. android.sdk = 24
  231.  
  232. # (str) Android NDK version to use
  233. android.ndk = 9c
  234.  
  235. # (bool) Use --private data storage (True) or --dir public storage(False)
  236. #android.private_storage = True
  237.  
  238. # (str) Android NDK directory (if empty, it will be automatically downloaded.)
  239. #android.ndk_path =
  240.  
  241. # (str) Android SDK directory (if empty, it will be automatically downloaded.)
  242. #android.sdk_path =
  243.  
  244. # (str) ANT directory (if empty, it will be automatically downloaded.)
  245. #android.ant_path =
  246.  
  247. # (bool) If True, then skip trying to update the Android sdk
  248. # This can be useful to avoid excess Internet downloads or save time
  249. # when an update is due and you just want to test/build your package
  250. # android.skip_update = False
  251.  
  252. # (str) Android entry point, default is ok for Kivy-based app
  253. #android.entrypoint = org.renpy.android.PythonActivity
  254.  
  255. # (list) Pattern to whitelist for the whole project
  256. #android.whitelist =
  257.  
  258. # (str) Path to a custom whitelist file
  259. #android.whitelist_src =
  260.  
  261. # (str) Path to a custom blacklist file
  262. #android.blacklist_src =
  263.  
  264. # (list) List of Java .jar files to add to the libs so that pyjnius can access
  265. # their classes. Don't add jars that you do not need, since extra jars can slow
  266. # down the build process. Allows wildcards matching, for example:
  267. # OUYA-ODK/libs/*.jar
  268. #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
  269.  
  270. # (list) List of Java files to add to the android project (can be java or a
  271. # directory containing the files)
  272. #android.add_src =
  273.  
  274. # (list) Android AAR archives to add (currently works only with sdl2_gradle
  275. # bootstrap)
  276. #android.add_aars =
  277.  
  278. # (list) Gradle dependencies to add (currently works only with sdl2_gradle
  279. # bootstrap)
  280. #android.gradle_dependencies =
  281.  
  282. # (str) python-for-android branch to use, defaults to stable
  283. #p4a.branch = stable
  284.  
  285. # (str) OUYA Console category. Should be one of GAME or APP
  286. # If you leave this blank, OUYA support will not be enabled
  287. #android.ouya.category = GAME
  288.  
  289. # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
  290. #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
  291.  
  292. # (str) XML file to include as an intent filters in <activity> tag
  293. #android.manifest.intent_filters =
  294.  
  295. # (list) Android additionnal libraries to copy into libs/armeabi
  296. #android.add_libs_armeabi = libs/android/*.so
  297. #android.add_libs_armeabi_v7a = libs/android-v7/*.so
  298. #android.add_libs_x86 = libs/android-x86/*.so
  299. #android.add_libs_mips = libs/android-mips/*.so
  300.  
  301. # (bool) Indicate whether the screen should stay on
  302. # Don't forget to add the WAKE_LOCK permission if you set this to True
  303. #android.wakelock = False
  304.  
  305. # (list) Android application meta-data to set (key=value format)
  306. #android.meta_data =
  307.  
  308. # (list) Android library project to add (will be added in the
  309. # project.properties automatically.)
  310. #android.library_references =
  311.  
  312. # (str) Android logcat filters to use
  313. #android.logcat_filters = *:S python:D
  314.  
  315. # (bool) Copy library instead of making a libpymodules.so
  316. #android.copy_libs = 1
  317.  
  318. # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
  319. android.arch = armeabi-v7a
  320.  
  321. #
  322. # Python for android (p4a) specific
  323. #
  324.  
  325. # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
  326. #p4a.source_dir =
  327.  
  328. # (str) The directory in which python-for-android should look for your own build recipes (if any)
  329. #p4a.local_recipes =
  330.  
  331. # (str) Filename to the hook for p4a
  332. #p4a.hook =
  333.  
  334. # (str) Bootstrap to use for android builds
  335. # p4a.bootstrap = sdl2
  336.  
  337.  
  338. #
  339. # iOS specific
  340. #
  341.  
  342. # (str) Path to a custom kivy-ios folder
  343. #ios.kivy_ios_dir = ../kivy-ios
  344.  
  345. # (str) Name of the certificate to use for signing the debug version
  346. # Get a list of available identities: buildozer ios list_identities
  347. #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
  348.  
  349. # (str) Name of the certificate to use for signing the release version
  350. #ios.codesign.release = %(ios.codesign.debug)s
  351.  
  352.  
  353. [buildozer]
  354.  
  355. # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
  356. log_level = 2
  357.  
  358. # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
  359. warn_on_root = 1
  360.  
  361. # (str) Path to build artifact storage, absolute or relative to spec file
  362. # build_dir = ./.buildozer
  363.  
  364. # (str) Path to build output (i.e. .apk, .ipa) storage
  365. # bin_dir = ./bin
  366.  
  367. # -----------------------------------------------------------------------------
  368. # List as sections
  369. #
  370. # You can define all the "list" as [section:key].
  371. # Each line will be considered as a option to the list.
  372. # Let's take [app] / source.exclude_patterns.
  373. # Instead of doing:
  374. #
  375. #[app]
  376. #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
  377. #
  378. # This can be translated into:
  379. #
  380. #[app:source.exclude_patterns]
  381. #license
  382. #data/audio/*.wav
  383. #data/images/original/*
  384. #
  385.  
  386.  
  387. # -----------------------------------------------------------------------------
  388. # Profiles
  389. #
  390. # You can extend section / key with a profile
  391. # For example, you want to deploy a demo version of your application without
  392. # HD content. You could first change the title to add "(demo)" in the name
  393. # and extend the excluded directories to remove the HD content.
  394. #
  395. #[app@demo]
  396. #title = My Application (demo)
  397. #
  398. #[app:source.exclude_patterns@demo]
  399. #images/hd/*
  400. #
  401. # Then, invoke the command line with the "demo" profile:
  402. #
  403. #buildozer --profile demo android debug
Add Comment
Please, Sign In to add comment