You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are creating a cross platform sofware in Blockchain area. We love kivy and its modules but now we cant use osx and ios builds in a github actions. The buildozer action use the docker with ubuntu in this repo. So we cant use its for osx and macos. We need to add a docker image that run with no issue and we can build a action for osx and macos.
# Extracting and installing Kivy...
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/bin/buildozer", line 8, in <module>
sys.exit(main())
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/__init__.py", line 1020, in run_command
self.target.run_commands(args)
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/targets/osx.py", line 212, in run_commands
func(args)
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/targets/osx.py", line 225, in cmd_debug
self.buildozer.prepare_for_build()
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/__init__.py", line 167, in prepare_for_build
self.target.check_requirements()
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/targets/osx.py", line 81, in check_requirements
self.ensure_kivyapp()
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/targets/osx.py", line 77, in ensure_kivyapp
self.download_kivy(kivy_app_dir, py_branch)
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/buildozer/targets/osx.py", line 61, in download_kivy
check_call(('hdiutil', 'attach', cwd + '/Kivy{}.dmg'.format(py_branch)))
File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('hdiutil', 'attach', '/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/osx/platform/kivy-sdk-packager-master/osx/Kivy3.dmg')' returned non-zero exit status 1.
2022-07-29T18:34:43.3942630Z [DEBUG ] Processing Flask-2.0.0-py3.9.egg
2022-07-29T18:34:43.3963260Z [DEBUG ] creating /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/Flask-2.0.0-py3.9.egg
2022-07-29T18:34:43.3964490Z [DEBUG ] Extracting Flask-2.0.0-py3.9.egg to /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages
2022-07-29T18:34:43.4963910Z [DEBUG ] Installing flask script to /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/bin
2022-07-29T18:34:43.4968020Z [DEBUG ]
2022-07-29T18:34:43.4968750Z [DEBUG ] Installed /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/Flask-2.0.0-py3.9.egg
2022-07-29T18:34:43.4979560Z [DEBUG ] Processing dependencies for Flask==2.0.0
2022-07-29T18:34:43.5019140Z [DEBUG ] Searching for itsdangerous>=2.0
2022-07-29T18:34:43.5022760Z [DEBUG ] Reading https://pypi.org/simple/itsdangerous/
2022-07-29T18:34:43.5264200Z [DEBUG ] Download error on https://pypi.org/simple/itsdangerous/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129) -- Some packages may not be found!
2022-07-29T18:34:43.5266770Z [DEBUG ] Couldn't retrieve index page for 'itsdangerous'
2022-07-29T18:34:43.5268000Z [DEBUG ] Scanning index of all packages (this may take a while)
2022-07-29T18:34:43.5268860Z [DEBUG ] Reading https://pypi.org/simple/
2022-07-29T18:34:43.5392650Z [DEBUG ] Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129) -- Some packages may not be found!
2022-07-29T18:34:43.5394290Z [DEBUG ] No local packages or working download links found for itsdangerous>=2.0
2022-07-29T18:34:43.5398940Z [DEBUG ] error: Could not find suitable distribution for Requirement.parse('itsdangerous>=2.0')
2022-07-29T18:34:43.5814220Z Exception in thread background thread for pid 57672:
2022-07-29T18:34:43.5814570Z Traceback (most recent call last):
2022-07-29T18:34:43.5830520Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2022-07-29T18:34:43.5831310Z self.run()
2022-07-29T18:34:43.5831680Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 870, in run
2022-07-29T18:34:43.5832000Z self._target(*self._args, **self._kwargs)
2022-07-29T18:34:43.5832700Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 1641, in wrap
2022-07-29T18:34:43.5833010Z fn(*rgs, **kwargs)
2022-07-29T18:34:43.5833550Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 2569, in background_thread
2022-07-29T18:34:43.5833990Z handle_exit_code(exit_code)
2022-07-29T18:34:43.5834520Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 2269, in fn
2022-07-29T18:34:43.5834890Z return self.command.handle_command_exit_code(exit_code)
2022-07-29T18:34:43.5835490Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 869, in handle_command_exit_code
2022-07-29T18:34:43.5835810Z raise exc
2022-07-29T18:34:43.5836010Z sh.ErrorReturnCode_1:
2022-07-29T18:34:43.5836150Z
2022-07-29T18:34:43.5836780Z RAN: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python setup.py install --prefix /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python
2022-07-29T18:34:43.5837190Z
2022-07-29T18:34:43.5837260Z STDOUT:
2022-07-29T18:34:43.5837430Z running install
2022-07-29T18:34:43.5838000Z Checking .pth file support in /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/
2022-07-29T18:34:43.5838670Z /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python -E -c pass
2022-07-29T18:34:43.5839380Z TEST FAILED: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/ does NOT support .pth files
2022-07-29T18:34:43.5840040Z bad install directory or PYTHONPATH
2022-07-29T18:34:43.5840250Z
2022-07-29T18:34:43.5840410Z You are attempting to install a package to a directory that is not
2022-07-29T18:34:43.5840740Z on PYTHONPATH and which Python does not read ".pth" files from. The
2022-07-29T18:34:43.5841210Z installation directory you specified (via --install-dir, --prefix, or
2022-07-29T18:34:43.5841530Z the distutils default setting) ... (9436 more, please see e.stdout)
2022-07-29T18:34:43.5841710Z
2022-07-29T18:34:43.5841780Z STDERR:
2022-07-29T18:34:43.5841890Z
2022-07-29T18:34:43.5866110Z Traceback (most recent call last):
2022-07-29T18:34:43.5866470Z File "toolchain.py", line 3, in <module>
2022-07-29T18:34:43.5866690Z main()
2022-07-29T18:34:43.5867340Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 1555, in main
2022-07-29T18:34:43.5867710Z ToolchainCL()
2022-07-29T18:34:43.5868440Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 1299, in __init__
2022-07-29T18:34:43.5868800Z getattr(self, args.command)()
2022-07-29T18:34:43.5869400Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 1368, in build
2022-07-29T18:34:43.5869760Z build_recipes(args.recipe, ctx)
2022-07-29T18:34:43.5870360Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 1142, in build_recipes
2022-07-29T18:34:43.5870710Z recipe.execute()
2022-07-29T18:34:43.5871280Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 704, in execute
2022-07-29T18:34:43.5871620Z self.build_all()
2022-07-29T18:34:43.5872210Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 74, in _cache_execution
2022-07-29T18:34:43.5872970Z f(self, *args, **kwargs)
2022-07-29T18:34:43.5873610Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 830, in build_all
2022-07-29T18:34:43.5873950Z self.install()
2022-07-29T18:34:43.5874530Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/recipes/flask/__init__.py", line 21, in install
2022-07-29T18:34:43.5875080Z shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
2022-07-29T18:34:43.5875700Z File "/Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/kivy_ios/toolchain.py", line 56, in shprint
2022-07-29T18:34:43.5876040Z for line in cmd:
2022-07-29T18:34:43.5884520Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 915, in next
2022-07-29T18:34:43.5884830Z self.wait()
2022-07-29T18:34:43.5885340Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 845, in wait
2022-07-29T18:34:43.5885680Z self.handle_command_exit_code(exit_code)
2022-07-29T18:34:43.5886270Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 869, in handle_command_exit_code
2022-07-29T18:34:43.5886580Z raise exc
2022-07-29T18:34:43.5886780Z sh.ErrorReturnCode_1:
2022-07-29T18:34:43.5886910Z
2022-07-29T18:34:43.5887540Z RAN: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python setup.py install --prefix /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python
2022-07-29T18:34:43.5887950Z
2022-07-29T18:34:43.5888020Z STDOUT:
2022-07-29T18:34:43.5888180Z running install
2022-07-29T18:34:43.5888750Z Checking .pth file support in /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/
2022-07-29T18:34:43.5889810Z /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python -E -c pass
2022-07-29T18:34:43.5890610Z TEST FAILED: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/ does NOT support .pth files
2022-07-29T18:34:43.5891010Z bad install directory or PYTHONPATH
2022-07-29T18:34:43.5891150Z
2022-07-29T18:34:43.5891310Z You are attempting to install a package to a directory that is not
2022-07-29T18:34:43.5891640Z on PYTHONPATH and which Python does not read ".pth" files from. The
2022-07-29T18:34:43.5892090Z installation directory you specified (via --install-dir, --prefix, or
2022-07-29T18:34:43.5892410Z the distutils default setting) ... (9436 more, please see e.stdout)
2022-07-29T18:34:43.5892580Z
2022-07-29T18:34:43.5892660Z STDERR:
2022-07-29T18:34:43.5892770Z
2022-07-29T18:34:43.6127510Z - Download 712704 bytes
2022-07-29T18:34:43.6128200Z �[0m�[1;31m# Command failed: /Users/runner/hostedtoolcache/Python/3.8.13/x64/bin/python toolchain.py build werkzeug==2.0.3 flask==2.0.0�[0m
2022-07-29T19:22:39.9783620Z [DEBUG ] Extracting Flask-2.0.0-py3.9.egg to /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages
2022-07-29T19:22:40.0768850Z [DEBUG ] Installing flask script to /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/bin
2022-07-29T19:22:40.0772660Z [DEBUG ]
2022-07-29T19:22:40.0773600Z [DEBUG ] Installed /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/Flask-2.0.0-py3.9.egg
2022-07-29T19:22:40.0784210Z [DEBUG ] Processing dependencies for Flask==2.0.0
2022-07-29T19:22:40.0826430Z [DEBUG ] Searching for itsdangerous>=2.0
2022-07-29T19:22:40.0827910Z [DEBUG ] Reading https://pypi.org/simple/itsdangerous/
2022-07-29T19:22:40.1033010Z [DEBUG ] Download error on https://pypi.org/simple/itsdangerous/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129) -- Some packages may not be found!
2022-07-29T19:22:40.1033710Z [DEBUG ] Couldn't retrieve index page for 'itsdangerous'
2022-07-29T19:22:40.1034030Z [DEBUG ] Scanning index of all packages (this may take a while)
2022-07-29T19:22:40.1034320Z [DEBUG ] Reading https://pypi.org/simple/
2022-07-29T19:22:40.1098210Z [DEBUG ] Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129) -- Some packages may not be found!
2022-07-29T19:22:40.1099070Z [DEBUG ] No local packages or working download links found for itsdangerous>=2.0
2022-07-29T19:22:40.1108180Z [DEBUG ] error: Could not find suitable distribution for Requirement.parse('itsdangerous>=2.0')
2022-07-29T19:22:40.1505480Z Exception in thread background thread for pid 41288:
2022-07-29T19:22:40.1505820Z Traceback (most recent call last):
2022-07-29T19:22:40.1522540Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2022-07-29T19:22:40.1522930Z self.run()
2022-07-29T19:22:40.1523300Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 870, in run
2022-07-29T19:22:40.1523630Z self._target(*self._args, **self._kwargs)
2022-07-29T19:22:40.1524360Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 1641, in wrap
2022-07-29T19:22:40.1524670Z fn(*rgs, **kwargs)
2022-07-29T19:22:40.1525220Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 2569, in background_thread
2022-07-29T19:22:40.1525550Z handle_exit_code(exit_code)
2022-07-29T19:22:40.1526090Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 2269, in fn
2022-07-29T19:22:40.1526460Z return self.command.handle_command_exit_code(exit_code)
2022-07-29T19:22:40.1527510Z File "/Users/runner/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/sh.py", line 869, in handle_command_exit_code
2022-07-29T19:22:40.1527910Z raise exc
2022-07-29T19:22:40.1528110Z sh.ErrorReturnCode_1:
2022-07-29T19:22:40.1528250Z
2022-07-29T19:22:40.1528940Z RAN: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python setup.py install --prefix /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python
2022-07-29T19:22:40.1537170Z
2022-07-29T19:22:40.1537270Z STDOUT:
2022-07-29T19:22:40.1537460Z running install
2022-07-29T19:22:40.1538120Z Checking .pth file support in /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/
2022-07-29T19:22:40.1538810Z /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/hostpython3/bin/python -E -c pass
2022-07-29T19:22:40.1539550Z TEST FAILED: /Users/runner/work/Decentra-Network/Decentra-Network/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python3.9/site-packages/ does NOT support .pth files
2022-07-29T19:22:40.1539970Z bad install directory or PYTHONPATH
2022-07-29T19:22:40.1540120Z
2022-07-29T19:22:40.1540270Z You are attempting to install a package to a directory that is not
2022-07-29T19:22:40.1540590Z on PYTHONPATH and which Python does not read ".pth" files from. The
2022-07-29T19:22:40.1541050Z installation directory you specified (via --install-dir, --prefix, or
2022-07-29T19:22:40.1541380Z the distutils default setting) ... (9436 more, please see e.stdout)
Note
We can build android distribution with this configuration over buildozer action
The text was updated successfully, but these errors were encountered:
Versions
Description
We are creating a cross platform sofware in Blockchain area. We love kivy and its modules but now we cant use osx and ios builds in a github actions. The buildozer action use the docker with ubuntu in this repo. So we cant use its for osx and macos. We need to add a docker image that run with no issue and we can build a action for osx and macos.
In our tries we are experienced many errors:
For MacOS
GA
Buildozer.spec
Error
For iOS
GA
Buildozer.spec
Error
Note
We can build android distribution with this configuration over buildozer action
The text was updated successfully, but these errors were encountered: