Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with setuptools version #1880

Open
limafresh opened this issue Jan 7, 2025 · 0 comments
Open

Error with setuptools version #1880

limafresh opened this issue Jan 7, 2025 · 0 comments
Labels

Comments

@limafresh
Copy link

limafresh commented Jan 7, 2025

Versions

  • Python: 3.11.2
  • OS: Debian 12 x86_64 (antiX Linux)
  • Buildozer: 1.5.0

Description

Complains about an old version of setuptools (51.3.3), although the system has 65.6.3 installed. It uses its own "incorrect" one, which is at /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools. I use venv. Please help!

buildozer.spec

Command:

buildozer android debug

Spec file:

I use default SPEC, but my current "app" is only for test Kivy and Buildozer and create more useful app in future

Logs (the end, because there is a limit of approximately 60,000 characters and the log is long, it took about 30 minutes to collect)

...
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install_headers.py to install_headers.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install_lib.py to install_lib.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/sdist.py to sdist.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/check.py to check.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/py37compat.py to py37compat.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/clean.py to clean.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/bdist_msi.py to bdist_msi.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/upload.py to upload.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/register.py to register.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install_egg_info.py to install_egg_info.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/bdist_rpm.py to bdist_rpm.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install_data.py to install_data.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install_scripts.py to install_scripts.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/build.py to build.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/config.py to config.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/build_clib.py to build_clib.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/install.py to install.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/bdist.py to bdist.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/bdist_wininst.py to bdist_wininst.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/command/build_scripts.py to build_scripts.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/log.py to log.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_distutils/dist.py to dist.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/_deprecation_warning.py to _deprecation_warning.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/extension.py to extension.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/installer.py to installer.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/build_meta.py to build_meta.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/wheel.py to wheel.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/errors.py to errors.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/py34compat.py to py34compat.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/lib2to3_ex.py to lib2to3_ex.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/namespaces.py to namespaces.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/config.py to config.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/dep_util.py to dep_util.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/build_py.py to build_py.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/build_ext.py to build_ext.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/egg_info.py to egg_info.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/install_lib.py to install_lib.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/sdist.py to sdist.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/upload_docs.py to upload_docs.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/upload.py to upload.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/py36compat.py to py36compat.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/saveopts.py to saveopts.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/register.py to register.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/alias.py to alias.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/install_egg_info.py to install_egg_info.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/bdist_rpm.py to bdist_rpm.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/rotate.py to rotate.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/develop.py to develop.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/setopt.py to setopt.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/install_scripts.py to install_scripts.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/build_clib.py to build_clib.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/dist_info.py to dist_info.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/install.py to install.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/test.py to test.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/bdist_wininst.py to bdist_wininst.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/easy_install.py to easy_install.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/command/bdist_egg.py to bdist_egg.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/sandbox.py to sandbox.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools/dist.py to dist.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/extern/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/appdirs.py to appdirs.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/_structures.py to _structures.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/specifiers.py to specifiers.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/requirements.py to requirements.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/tags.py to tags.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/_compat.py to _compat.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/version.py to version.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/__about__.py to __about__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/_typing.py to _typing.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/utils.py to utils.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/packaging/markers.py to markers.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/_vendor/pyparsing.py to pyparsing.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/tests/data/my-test-package-source/setup.py to setup.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./pkg_resources/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./_distutils_hack/override.py to override.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./_distutils_hack/__init__.py to __init__.cpython-311.pyc
[DEBUG]:   	byte-compiling /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./easy_install.py to easy_install.cpython-311.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmp14gts2f0.py'
[DEBUG]:   	/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmp14gts2f0.py
[DEBUG]:   	removing /tmp/tmp14gts2f0.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	running egg_info
[DEBUG]:   	writing setuptools.egg-info/PKG-INFO
[DEBUG]:   	writing dependency_links to setuptools.egg-info/dependency_links.txt
[DEBUG]:   	writing entry points to setuptools.egg-info/entry_points.txt
[DEBUG]:   	writing requirements to setuptools.egg-info/requires.txt
[DEBUG]:   	writing top-level names to setuptools.egg-info/top_level.txt
[DEBUG]:   	reading manifest file 'setuptools.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest template 'MANIFEST.in'
[DEBUG]:   	warning: no files found matching '*.py' under directory 'tests'
[DEBUG]:   	warning: no files found matching 'Makefile' under directory 'docs'
[DEBUG]:   	warning: no previously-included files found matching 'pyproject.toml'
[DEBUG]:   	writing manifest file 'setuptools.egg-info/SOURCES.txt'
[DEBUG]:   	Copying setuptools.egg-info to /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./setuptools-51.3.3-py3.11.egg-info
[DEBUG]:   	running install_scripts
[DEBUG]:   	Installing easy_install script to /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/usr/local/bin
[DEBUG]:   	Installing easy_install-3.11 script to /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/usr/local/bin
[DEBUG]:   	creating /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/./distutils-precedence.pth
[DEBUG]:   -> running python3 setup.py install -O2 --root=/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build --install-lib=Lib/site-packages
[DEBUG]:   	Traceback (most recent call last):
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setup.py", line 193, in <module>
[DEBUG]:   	    dist = setuptools.setup(**setup_params)
[DEBUG]:   	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/__init__.py", line 153, in setup
[DEBUG]:   	    return distutils.core.setup(**attrs)
[DEBUG]:   	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/core.py", line 108, in setup
[DEBUG]:   	    _setup_distribution = dist = klass(attrs)
[DEBUG]:   	                                 ^^^^^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 432, in __init__
[DEBUG]:   	    _Distribution.__init__(self, {
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/dist.py", line 293, in __init__
[DEBUG]:   	    self.finalize_options()
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 707, in finalize_options
[DEBUG]:   	    for ep in sorted(eps, key=by_order):
[DEBUG]:   	              ^^^^^^^^^^^^^^^^^^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 706, in <lambda>
[DEBUG]:   	    eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
[DEBUG]:   	                        ^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2449, in load
[DEBUG]:   	    self.require(*args, **kwargs)
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2472, in require
[DEBUG]:   	    items = working_set.resolve(reqs, env, installer, extras=self.extras)
[DEBUG]:   	            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[DEBUG]:   	  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 777, in resolve
[DEBUG]:   	    raise VersionConflict(dist, req).with_context(dependent_req)
[DEBUG]:   	pkg_resources.VersionConflict: (setuptools 51.3.3 (/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools), Requirement.parse('setuptools<76,>=65.6.3'))
Exception in thread background thread for pid 6912:
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py install -O2 --root=/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build --install-lib=Lib/site-packages

  STDOUT:
Traceback (most recent call last):
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setup.py", line 193, in <module>
    dist = setuptools.setup(**setup_params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
                                 ^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 432, in __init__
    _Distribution.__init__(self, {
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/dist.py", line 293, in __init__
    self.finalize_options()
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 707, in finalize_options
    for ep in sorted(eps, key=by_order):
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 706, in <lambda>
    eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
                        ^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2449, in load
    self.require(*args, **kwargs)
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2472, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (setuptools 51.3.3 (/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools), Requirement.parse('setuptools<76,>=65.6.3'))


  STDERR:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1256, in <module>
    main()
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 685, in __init__
    getattr(self, command)(args)
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
    recipe.build_arch(arch)
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 934, in build_arch
    self.install_python_package(arch)
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 957, in install_python_package
    self.install_hostpython_package(arch)
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 967, in install_hostpython_package
    shprint(real_hostpython, 'setup.py', 'install', '-O2',
  File "/home/host/venv/myproject/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/host/venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py install -O2 --root=/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build --install-lib=Lib/site-packages

  STDOUT:
Traceback (most recent call last):
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setup.py", line 193, in <module>
    dist = setuptools.setup(**setup_params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
                                 ^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 432, in __init__
    _Distribution.__init__(self, {
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/_distutils/dist.py", line 293, in __init__
    self.finalize_options()
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 707, in finalize_options
    for ep in sorted(eps, key=by_order):
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/setuptools/dist.py", line 706, in <lambda>
    eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
                        ^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2449, in load
    self.require(*args, **kwargs)
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 2472, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (setuptools 51.3.3 (/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/setuptools/arm64-v8a__ndk_target_21/setuptools), Requirement.parse('setuptools<76,>=65.6.3'))


  STDERR:

# Command failed: ['/home/host/venv/bin/python', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=myapp', '--bootstrap=sdl2', '--requirements=python3,kivy', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/home/host/venv/myproject/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
# ENVIRONMENT:
#     SHELL = '/usr/bin/bash'
#     WINDOWID = '35651728'
#     XDG_CONFIG_DIRS = '/etc/xdg'
#     ROXTERM_ID = '0x2095c00'
#     XDG_DATA_HOME = '/home/host/.local/share'
#     XDG_CONFIG_HOME = '/home/host/.config'
#     NO_AT_BRIDGE = '1'
#     XDG_SEAT = 'seat0'
#     PWD = '/home/host/venv/myproject'
#     XDG_VIDEOS_DIR = '/home/host/Видео'
#     LOGNAME = 'host'
#     QT_QPA_PLATFORMTHEME = 'qt6ct'
#     XDG_SESSION_TYPE = 'x11'
#     XAUTHORITY = '/home/host/.Xauthority'
#     XDG_PICTURES_DIR = '/home/host/Изображения'
#     GTK2_RC_FILES = '/home/host/.gtkrc-2.0'
#     HOME = '/home/host'
#     LANG = 'ru_RU.UTF-8'
#     LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:'
#     XDG_CURRENT_DESKTOP = 'icewm'
#     VIRTUAL_ENV = '/home/host/venv'
#     DESKTOP_SESSION_IM = 'zzz'
#     XDG_DOWNLOAD_DIR = '/home/host/Загрузки'
#     XDG_MUSIC_DIR = '/home/host/Музыка'
#     XDG_CACHE_HOME = '/home/host/.cache'
#     ROXTERM_PID = '2769'
#     XDG_SESSION_CLASS = 'greeter'
#     XDG_DESKTOP_DIR = '/home/host/Desktop'
#     ANDROID_HOME = '/home/host/android-sdk'
#     TERM = 'xterm'
#     DESKTOP_SESSION_CODE = 'zzz-icewm'
#     USER = 'host'
#     DESKTOP_SESSION_WM = 'icewm'
#     DISPLAY = ':0.0'
#     SHLVL = '2'
#     ANDROID_SDK_ROOT = '/home/host/android-sdk'
#     XDG_VTNR = '7'
#     XDG_SESSION_ID = '1'
#     VIRTUAL_ENV_PROMPT = '(venv) '
#     XDG_STATE_HOME = '/home/host/.local/state'
#     XDG_RUNTIME_DIR = '/run/user/1000'
#     PS1 = ('(venv) \\[\\e]0;\\u@\\h: '
 '\\w\\a\\]\\[\\e[1;35m\\]\\u\\[\\e[0m\\]@\\[\\e[1;36m\\]\\H\\[\\e[0m\\]:\\[\\e[1;32m\\]\\w\\[\\e[0m\\]\\n\\[\\e[1;32m\\]$\\[\\e[0m\\] ')
#     XDG_DOCUMENTS_DIR = '/home/host/Документы'
#     ROXTERM_NUM = '1'
#     XDG_DATA_DIRS = '/usr/local/share/:/usr/share/'
#     PATH = '/home/host/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/host/venv/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/home/host/.local/bin:/home/host/android-sdk/platform-tools:/home/host/android-sdk/cmdline-tools/bin:/home/host/android-sdk/cmdline-tools/latest/bin:/home/host/android-sdk/platform-tools'
#     MAIL = '/var/mail/host'
#     OLDPWD = '/home/host'
#     _ = '/home/host/venv/bin/buildozer'
#     PACKAGES_PATH = '/home/host/.buildozer/android/packages'
#     ANDROIDSDK = '/home/host/.buildozer/android/platform/android-sdk'
#     ANDROIDNDK = '/home/host/.buildozer/android/platform/android-ndk-r25b'
#     ANDROIDAPI = '31'
#     ANDROIDMINAPI = '21'
# 
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants