Closed
Description
Checklist
- the issue is indeed a bug and not a support request
- issue doesn't already exist: https://github.com/kivy/python-for-android/issues
- I have a short, runnable example that reproduces the issue
- I reproduced the problem with the latest development version (
p4a.branch = develop
) - I used the grave accent (aka backticks) to format code or logs when appropriated
Versions
- Python: 3.7
- OS: Ubuntu 20.04
- Kivy: 1.11.1
- Cython: 0.29.19
- OpenJDK: 8u265-b01-0ubuntu2~20.04
Description
Packaging with --use-setup-py
does not work because https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/recipes/python3/patches/pyconfig_detection.patch#L10 outputs to stdout and users expect to be able to redirect that output to a requirements.txt
-file, pip then fails to parse said file.
See full log below but the relevant part is
[INFO]: Contents that will be used for constraints.txt:
[INFO]: Ignoring "sys._home = value" override
android==1.0
certifi==2020.6.20
Cython==0.29.21
Kivy==1.11.1
pyjnius==1.3.0
pyzmq==19.1.0.dev0
six==1.15.0
Which leads to
ERROR: Invalid requirement: 'Ignoring "sys._home = value" override' (from line 1 of ._tmp_p4a_recipe_constraints.txt)
buildozer.spec
Command:
p4a apk --private `pwd` --package=fi.advian.hellokv --use-setup-py --name "Hello kivy" --version 0.1 --bootstrap=sdl2 --requirements=python3,kivy --ndk-api=21 --ndk-dir=$HOME/.buildozer/android/platform/android-ndk-r19c --sdk-dir=$HOME/.buildozer/android/platform/android-sdk/
Logs
(py4a_37) rambo@dev2004:~/devel/python-augnss$ p4a apk --private `pwd` --package=fi.advian.hellokv --use-setup-py --name "Hello kivy" --version 0.1 --bootstrap=sdl2 --requirements=python3,kivy --ndk-api=21 --ndk-dir=$HOME/.buildozer/android/platform/android-ndk-r19c --sdk-dir=$HOME/.buildozer/android/platform/android-sdk/
[INFO]: Analyzing package dependencies. MAY TAKE A WHILE.
get_package_dependencies: resolving dependency to package name: /home/rambo/devel/python-augnss
get_package_dependencies: processing package: augnss
get_package_dependencies: Packages seen so far: set()
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: /home/rambo/devel/python-augnss
get_package_dependencies: collected deps of '/home/rambo/devel/python-augnss': {'nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master', 'ubloxgps @ git+ssh://git@gitlab.com/advian/python-ubloxgps.git@master ; extra == "ublox" or extra == "all"', 'pyserial (>=3.4,<4.0)', 'datastreamservicelib (>=1.5.1,<2.0.0)', 'zmq (>=0.0.0,<0.0.1)', 'usbserial4a (>=0.2.0,<0.3.0)'}
get_package_dependencies: resolving dependency to package name: nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master
get_package_dependencies: processing package: nmeagps
get_package_dependencies: Packages seen so far: {'augnss'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master
get_package_dependencies: collected deps of 'nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master': {'pynmea2 (>=1.15.0,<2.0.0)'}
get_package_dependencies: resolving dependency to package name: pyserial (>=3.4,<4.0)
get_package_dependencies: processing package: pyserial
get_package_dependencies: Packages seen so far: {'augnss', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: pyserial (>=3.4,<4.0)
get_package_dependencies: collected deps of 'pyserial (>=3.4,<4.0)': set()
get_package_dependencies: resolving dependency to package name: datastreamservicelib (>=1.5.1,<2.0.0)
get_package_dependencies: processing package: datastreamservicelib
get_package_dependencies: Packages seen so far: {'pyserial', 'augnss', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: datastreamservicelib (>=1.5.1,<2.0.0)
get_package_dependencies: collected deps of 'datastreamservicelib (>=1.5.1,<2.0.0)': {'click (>=7.0,<8.0)', 'pyzmq (>=19.0,<20.0)', 'tomlkit (>=0.6,<0.7)', 'datastreamcorelib (>=1.0,<2.0)', 'dataclasses (>=0.7,<0.8); python_version >= "3.6" and python_version < "3.7"', 'toml (>=0.10,<0.11)'}
get_package_dependencies: resolving dependency to package name: zmq (>=0.0.0,<0.0.1)
get_package_dependencies: processing package: zmq
get_package_dependencies: Packages seen so far: {'pyserial', 'datastreamservicelib', 'augnss', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: zmq (>=0.0.0,<0.0.1)
get_package_dependencies: collected deps of 'zmq (>=0.0.0,<0.0.1)': {'pyzmq'}
get_package_dependencies: resolving dependency to package name: usbserial4a (>=0.2.0,<0.3.0)
get_package_dependencies: processing package: usbserial4a
get_package_dependencies: Packages seen so far: {'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: usbserial4a (>=0.2.0,<0.3.0)
get_package_dependencies: collected deps of 'usbserial4a (>=0.2.0,<0.3.0)': {'pyserial', 'usb4a'}
get_package_dependencies: resolving dependency to package name: pynmea2 (>=1.15.0,<2.0.0)
get_package_dependencies: processing package: pynmea2
get_package_dependencies: Packages seen so far: {'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: pynmea2 (>=1.15.0,<2.0.0)
get_package_dependencies: collected deps of 'pynmea2 (>=1.15.0,<2.0.0)': set()
get_package_dependencies: resolving dependency to package name: click (>=7.0,<8.0)
get_package_dependencies: processing package: click
get_package_dependencies: Packages seen so far: {'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'pynmea2', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: click (>=7.0,<8.0)
get_package_dependencies: collected deps of 'click (>=7.0,<8.0)': set()
get_package_dependencies: resolving dependency to package name: pyzmq (>=19.0,<20.0)
get_package_dependencies: processing package: pyzmq
get_package_dependencies: Packages seen so far: {'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'pynmea2', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: pyzmq (>=19.0,<20.0)
get_package_dependencies: collected deps of 'pyzmq (>=19.0,<20.0)': set()
get_package_dependencies: resolving dependency to package name: tomlkit (>=0.6,<0.7)
get_package_dependencies: processing package: tomlkit
get_package_dependencies: Packages seen so far: {'pyzmq', 'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'pynmea2', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: tomlkit (>=0.6,<0.7)
get_package_dependencies: collected deps of 'tomlkit (>=0.6,<0.7)': {'enum34 (>=1.1,<2.0); python_version >= "2.7" and python_version < "2.8"', 'typing (>=3.6,<4.0); python_version >= "2.7" and python_version < "2.8" or python_version >= "3.4" and python_version < "3.5"', 'functools32 (>=3.2.3,<4.0.0); python_version >= "2.7" and python_version < "2.8"'}
get_package_dependencies: resolving dependency to package name: datastreamcorelib (>=1.0,<2.0)
get_package_dependencies: processing package: datastreamcorelib
get_package_dependencies: Packages seen so far: {'pyzmq', 'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'tomlkit', 'pynmea2', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: datastreamcorelib (>=1.0,<2.0)
get_package_dependencies: collected deps of 'datastreamcorelib (>=1.0,<2.0)': {'msgpack (>=1.0,<2.0)', 'dataclasses (>=0.7,<0.8); python_version >= "3.6" and python_version < "3.7"'}
get_package_dependencies: resolving dependency to package name: toml (>=0.10,<0.11)
get_package_dependencies: processing package: toml
get_package_dependencies: Packages seen so far: {'pyzmq', 'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'tomlkit', 'datastreamcorelib', 'pynmea2', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: toml (>=0.10,<0.11)
get_package_dependencies: collected deps of 'toml (>=0.10,<0.11)': set()
get_package_dependencies: resolving dependency to package name: usb4a
get_package_dependencies: processing package: usb4a
get_package_dependencies: Packages seen so far: {'pyzmq', 'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'tomlkit', 'datastreamcorelib', 'pynmea2', 'toml', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: usb4a
get_package_dependencies: collected deps of 'usb4a': set()
get_package_dependencies: resolving dependency to package name: msgpack (>=1.0,<2.0)
get_package_dependencies: processing package: msgpack
get_package_dependencies: Packages seen so far: {'pyzmq', 'usb4a', 'augnss', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'tomlkit', 'datastreamcorelib', 'pynmea2', 'toml', 'click', 'nmeagps'}
_extract_info_from_package called with extract_type=dependencies include_build_requirements=False
extract_metainfo_files_from_package: extracting for package: msgpack (>=1.0,<2.0)
get_package_dependencies: collected deps of 'msgpack (>=1.0,<2.0)': set()
get_package_dependencies: returning result: {'nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master', 'pynmea2 (>=1.15.0,<2.0.0)', 'usb4a', 'pyserial (>=3.4,<4.0)', 'datastreamservicelib (>=1.5.1,<2.0.0)', 'click (>=7.0,<8.0)', 'zmq (>=0.0.0,<0.0.1)', 'pyzmq (>=19.0,<20.0)', 'tomlkit (>=0.6,<0.7)', 'msgpack (>=1.0,<2.0)', 'datastreamcorelib (>=1.0,<2.0)', 'toml (>=0.10,<0.11)', 'usbserial4a (>=0.2.0,<0.3.0)'}
get_dep_names_of_package_folder: processing dependency list to names: {'nmeagps @ git+ssh://git@gitlab.com/advian/python-nmeagps.git@master', 'pynmea2 (>=1.15.0,<2.0.0)', 'usb4a', 'pyserial (>=3.4,<4.0)', 'datastreamservicelib (>=1.5.1,<2.0.0)', 'click (>=7.0,<8.0)', 'zmq (>=0.0.0,<0.0.1)', 'pyzmq (>=19.0,<20.0)', 'tomlkit (>=0.6,<0.7)', 'msgpack (>=1.0,<2.0)', 'datastreamcorelib (>=1.0,<2.0)', 'toml (>=0.10,<0.11)', 'usbserial4a (>=0.2.0,<0.3.0)'}
[INFO]: Dependencies obtained: ['usb4a', 'pyzmq', 'msgpack', 'zmq', 'pyserial', 'datastreamservicelib', 'usbserial4a', 'tomlkit', 'datastreamcorelib', 'pynmea2', 'toml', 'click', 'nmeagps']
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Android API target was not set manually, using the default of 27
[INFO]: Available Android APIs are (27)
[INFO]: Requested API target 27 is available, continuing.
[INFO]: Getting NDK dir from from user argument
[INFO]: Found NDK version 19c
[INFO]: Getting NDK API version (i.e. minimum supported API) from user argument
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Found a single valid recipe set: ['hostpython3', 'libffi', 'libzmq', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'pyzmq', 'setuptools', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name unnamed_dist_1 and requirements (python3, kivy, pyzmq)
[INFO]: Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'libzmq', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'pyzmq', 'setuptools', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: Dist will also contain modules (certifi) installed from pip
[INFO]: Dist will be build in mode debug
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Recipe build order is ['hostpython3', 'libffi', 'libzmq', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'pyzmq', 'setuptools', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: The requirements (certifi) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython3
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/hostpython3
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/hostpython3
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
[INFO]: hostpython3 download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading libffi
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/libffi
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/libffi
[INFO]: -> running basename https://github.com/libffi/libffi/archive/v3.3.tar.gz
[INFO]: libffi download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading libzmq
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/libzmq
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/libzmq
[INFO]: -> running basename https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.zip
[INFO]: libzmq download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading openssl
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/openssl
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/openssl
[INFO]: -> running basename https://www.openssl.org/source/openssl-1.1.1g.tar.gz
[INFO]: openssl download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/sdl2_image
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
[INFO]: sdl2_image download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/sdl2_mixer
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
[INFO]: sdl2_mixer download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/sdl2_ttf
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: sdl2_ttf download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading sqlite3
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/sqlite3
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/sqlite3
[INFO]: -> running basename https://www.sqlite.org/2020/sqlite-amalgamation-3320300.zip
[INFO]: sqlite3 download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading python3
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/python3
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/python3
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
[INFO]: python3 download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/sdl2
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]: sdl2 download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading pyzmq
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/pyzmq
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/pyzmq
[INFO]: -> running basename https://github.com/zeromq/pyzmq/archive/master.zip
[INFO]: pyzmq download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading setuptools
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/setuptools
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/setuptools
[INFO]: -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-49.2.1.zip
[INFO]: setuptools download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading six
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/six
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/six
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz
[INFO]: six download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/pyjnius
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/pyjnius
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.3.0.zip
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Downloading android
[INFO]: Skipping android download as no URL is set
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /home/rambo/.local/share/python-for-android/packages/kivy
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/packages/kivy
[INFO]: -> running basename https://github.com/kivy/kivy/archive/1.11.1.zip
[INFO]: kivy download already cached, skipping
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython3 for armeabi-v7a
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]: -> running mv Python-3.8.5 /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking libffi for armeabi-v7a
[INFO]: -> running basename https://github.com/libffi/libffi/archive/v3.3.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21
[INFO]: -> running mv libffi-3.3 /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking libzmq for armeabi-v7a
[INFO]: -> running basename https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21
[INFO]: -> running mv zeromq-4.3.2 /home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking openssl for armeabi-v7a
[INFO]: -> running basename https://www.openssl.org/source/openssl-1.1.1g.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21
[INFO]: -> running mv openssl-1.1.1g /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_image-2.0.4 /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_image
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_mixer-2.0.4 /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_mixer
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_ttf-2.0.14 /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_ttf
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking sqlite3 for armeabi-v7a
[INFO]: -> running basename https://www.sqlite.org/2020/sqlite-amalgamation-3320300.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21
[INFO]: -> running mv sqlite-amalgamation-3320300 /home/rambo/.local/share/python-for-android/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21/sqlite3
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking python3 for armeabi-v7a
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21
[INFO]: -> running mv Python-3.8.5 /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2-2.0.9 /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking pyzmq for armeabi-v7a
[INFO]: -> running basename https://github.com/zeromq/pyzmq/archive/master.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21
[INFO]: -> running mv pyzmq-master /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21/pyzmq
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking setuptools for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-49.2.1.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/setuptools/armeabi-v7a__ndk_target_21
[INFO]: -> running mv setuptools-49.2.1 /home/rambo/.local/share/python-for-android/build/other_builds/setuptools/armeabi-v7a__ndk_target_21/setuptools
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/six/armeabi-v7a__ndk_target_21
[INFO]: -> running mv six-1.15.0 /home/rambo/.local/share/python-for-android/build/other_builds/six/armeabi-v7a__ndk_target_21/six
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.3.0.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21
[INFO]: -> running mv pyjnius-1.3.0 /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: -> running rm -rf /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running cp -a /home/rambo/devel/python-for-android/pythonforandroid/recipes/android/src /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kivy/kivy/archive/1.11.1.zip
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21
[INFO]: -> running mv kivy-1.11.1 /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython3 for armeabi-v7a
[INFO]: hostpython3 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for hostpython3[armeabi-v7a]
[INFO]: Applying patch patches/pyconfig_detection.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3 -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/.patched
[INFO]: Prebuilding libffi for armeabi-v7a
[INFO]: libffi has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for libffi[armeabi-v7a]
[INFO]: Applying patch remove-version-info.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/libffi/remove-version-info.patch
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/.patched
[INFO]: Prebuilding libzmq for armeabi-v7a
[INFO]: libzmq has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding openssl for armeabi-v7a
[INFO]: openssl has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sdl2_image for armeabi-v7a
[INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_image[armeabi-v7a]
[INFO]: Applying patch toggle_jpg_png_webp.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_image -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/sdl2_image/toggle_jpg_png_webp.patch
[INFO]: Applying patch extra_cflags.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_image -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/sdl2_image/extra_cflags.patch
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_image/.patched
[INFO]: Prebuilding sdl2_mixer for armeabi-v7a
[INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]: Applying patch toggle_modplug_mikmod_smpeg_ogg.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_mixer -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/sdl2_mixer/toggle_modplug_mikmod_smpeg_ogg.patch
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_mixer/.patched
[INFO]: Prebuilding sdl2_ttf for armeabi-v7a
[INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sqlite3 for armeabi-v7a
[INFO]: sqlite3 has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding python3 for armeabi-v7a
[INFO]: python3 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for python3[armeabi-v7a]
[INFO]: Applying patch patches/pyconfig_detection.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/python3/patches/py...(and 22 more)
[INFO]: Applying patch patches/py3.8.1.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/python3/patches/py3.8.1.patch
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/.patched
[INFO]: Prebuilding sdl2 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding pyzmq for armeabi-v7a
[INFO]: pyzmq has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding setuptools for armeabi-v7a
[INFO]: setuptools has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding six for armeabi-v7a
[INFO]: six has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding pyjnius for armeabi-v7a
[INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pyjnius[armeabi-v7a]
[INFO]: Applying patch sdl2_jnienv_getter.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/pyjnius/sdl2_...(and 19 more)
[INFO]: -> running touch /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius/.patched
[INFO]: Prebuilding android for armeabi-v7a
[INFO]: android has no prebuild_armeabi_v7a, skipping
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Prebuilding kivy for armeabi-v7a
[INFO]: kivy has no prebuild_armeabi_v7a, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython3 for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build
[INFO]: -> running configure
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3
[INFO]: -> running make -j 8 -C /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build
[INFO]: -> running cp /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/host...(and 28 more)
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building libffi for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]: -> running autogen.sh
[INFO]: -> running autoreconf -vif
[INFO]: -> running configure --host=arm-linux-androideabi --prefix=/home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared
[INFO]: -> running make -j 8 libffi.la
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: -> running cp /home/rambo/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/.libs/libffi.so /home/rambo/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a
[INFO]: Building libzmq for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq
[INFO]: -> running sh ./configure --host=arm-linux-androideabi --without-documentation --prefix=/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install --with-libsodium...(and 23 more)
[INFO]: -> running make
[INFO]: -> running make install
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: -> running cp /home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/src/.libs/libzmq.so /home/rambo/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a
[INFO]: Building openssl for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1
[INFO]: -> running perl Configure shared no-dso no-asm android-arm -D__ANDROID_API__=21
[INFO]: Applying patch disable-sover.patch
[INFO]: -> running patch -t -d /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1 -p1 -i /home/rambo/devel/python-for-android/pythonforandroid/recipes/openssl/disable-sover.patch
[INFO]: -> running make build_libs
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: -> running cp /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1/libcrypto1.1.so /home/rambo/.local/share/python-for-android/build/other_builds/openssl/armeab...(and 138 more)
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building sqlite3 for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21/sqlite3
[INFO]: -> running ndk-build V=1 NDK_DEBUG=1 APP_PLATFORM=android-21 APP_ABI=armeabi-v7a
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building python3 for armeabi-v7a
[WARNING]: lld not found, linking without it. Consider installing lld if linker errors occur.
[INFO]: Activating flags for sqlite3
[INFO]: Activating flags for libffi
[INFO]: Activating flags for openssl
[INFO]: Activating flags for android's zlib
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build
[INFO]: -> running configure --host=arm-linux-androideabi --build=x86_64-pc-linux-gnu --enable-shared --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no --without-ensurepip ac_cv_little_endian_double=yes --prefix=...(and 195 more)
[INFO]: -> running make all -j 8 INSTSONAME=libpython3.8m.so
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building sdl2 for armeabi-v7a
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni
[INFO]: -> running ndk-build V=1 NDK_DEBUG=1
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building pyzmq for armeabi-v7a
[INFO]: zmq apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in pyzmq
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21/pyzmq
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of pyzmq to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v --zmq=/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install
working: Please install Cython or download a release package of pyzmq. Exception in thread background thread for pid 547000:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v --zmq=/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install
STDOUT:
/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running configure
{'libraries': ['zmq'], 'include_dirs': ['/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/include'], 'library_dirs': ['/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/lib'], 'runtime_library_dirs': ['/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/lib'], 'extra_link_args': []}
/usr/bin/ccache /home/rambo/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/rambo/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.8 -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/include -c build/temp.linux-x86_64-3.8/scratch/check_sys_un.c -o build/temp.linux-x86_64-3.8/scratch/check_sys_un.o
build/temp.linux-x86_64-3.8/scratch/check_sys_un.c:6:21: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
printf("%lu\n", sizeof(dummy->sun_path) - 1);
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
%u
1 warning generated.
/usr/bin/ccache /home/rambo/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC build/temp.linux-x86_64-3.8/scratch/check_sys_un.o -L/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/lib -Wl,--enable-new-dtags,-R/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install/lib -o build/temp.linux-x86_64-3.8/scratch/check_sys_un
Warning: Skipping zmq version check
************************************************
running build_ext
Fatal: Cython-generated file 'zmq/backend/cython/_device.c' not found.
Cython >= 0.29 is required to compile pyzmq from a development branch.
Please install Cython or download a release package of pyzmq.
STDERR:
[INFO]: pyzmq first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize examples/cython/cyzmq.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./examples/cython/cyzmq.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/_device.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/_device.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/socket.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/socket.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/message.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/message.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/_version.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/_version.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/error.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/error.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/rebuffer.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/rebuffer.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/_proxy_steerable.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/_proxy_steerable.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/context.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/context.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/constants.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/constants.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/utils.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/utils.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/backend/cython/_poll.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/backend/cython/_poll.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/tests/cython_ext.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/tests/cython_ext.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: Cythonize zmq/devices/monitoredqueue.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./zmq/devices/monitoredqueue.pyx -Izmq/utils -Izmq/backend/cython -Izmq/devices
[INFO]: -> running python3 setup.py build_ext -v --zmq=/home/rambo/.local/share/python-for-android/build/other_builds/libzmq/armeabi-v7a__ndk_target_21/libzmq/install
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21/pyzmq
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21/pyzmq
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Installing pyzmq into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyzmq/armeabi-v7a__ndk_target_21/pyzmq
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=. --zmq=/home/rambo/.local/share/python-for-android/build/other_builds/lib...(and 45 more)
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building setuptools for armeabi-v7a
[INFO]: setuptools apparently isn't already in site-packages
[INFO]: Installing setuptools into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/setuptools/armeabi-v7a__ndk_target_21/setuptools
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build --install-lib=Lib/site-packages
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building six for armeabi-v7a
[INFO]: six apparently isn't already in site-packages
[INFO]: Installing six into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/six/armeabi-v7a__ndk_target_21/six
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building pyjnius for armeabi-v7a
[INFO]: jnius apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in pyjnius
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of pyjnius to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/usr/bin/ccache' failed with exit status 1 Exception in thread background thread for pid 547259:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
running build_ext
building 'jnius' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/jnius
/usr/bin/ccache /home/rambo/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/rambo/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.8 -fPIC -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.8/jnius/jnius.o
clang: error: no such file or directory: 'jnius/jnius.c'
clang: error: no input files
error: command '/usr/bin/ccache' failed with exit status 1
STDERR:
[INFO]: pyjnius first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize jnius/jnius.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./jnius/jnius.pyx
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Installing pyjnius into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building android for armeabi-v7a
[INFO]: android apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in android
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of android to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/usr/bin/ccache' failed with exit status 1 Exception in thread background thread for pid 547391:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
running build_ext
building 'android._android' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/android
/usr/bin/ccache /home/rambo/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/rambo/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.8 -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build -c android/_android.c -o build/temp.linux-x86_64-3.8/android/_android.o
clang: error: no such file or directory: 'android/_android.c'
clang: error: no input files
error: command '/usr/bin/ccache' failed with exit status 1
STDERR:
[INFO]: android first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize android/_android_billing.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./android/_android_billing.pyx
[INFO]: Cythonize android/_android.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./android/_android.pyx
[INFO]: Cythonize android/_android_sound.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./android/_android_sound.pyx
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Installing android into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Building kivy for armeabi-v7a
[INFO]: kivy apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in kivy
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of kivy to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/usr/bin/ccache' failed with exit status 1 Exception in thread background thread for pid 547474:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Using setuptools
Environ change use_sdl2 -> True
Not using cython on android
Using this graphics system: OpenGL ES 2
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"
SDL2: found SDL header at /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL/include/SDL.h
SDL2: found SDL_mixer header at /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_mixer/SDL_mixer.h
SDL2: found SDL_ttf header at /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_ttf/SDL_ttf.h
SDL2: found SDL_image header at /home/rambo/.local/share/python-for-android/build/bootstrap_builds/sdl2/jni/SDL2_image/SDL_image.h
fatal: not a git repository (or any of the parent directories): .git
running build_ext
Build configuration is:
* use_rpi = 0
* use_egl = 0
* use_opengl_es2 = 1
* use_opengl_mock = 0
* use_sdl2 = 1
* use_pangoft2 = 0
* use_ios = 0
* use_android = 1
* use_mesagl = 0
* use_x11 = 0
* use_wayland = 0
* use_gstreamer = 0
* use_avfoundation = 0
* use_osx_frameworks = 0
* debug_gl = 0
* debug = False
Updated kivy/include/config.h
Updated kivy/include/config.pxi
Updated kivy/setupconfig.py
Detected compiler is unix
building 'kivy._event' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/kivy
/usr/bin/ccache /home/rambo/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/rambo/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/rambo/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.8 -fPIC -Ikivy/include -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/Include -I/home/rambo/.local/share/python-for-android/build/other_builds/hostpython3/desktop/hostpython3/native-build -c kivy/_event.c -o build/temp.linux-x86_64-3.8/kivy/_event.o
clang: error: no such file or directory: 'kivy/_event.c'
clang: error: no input files
error: command '/usr/bin/ccache' failed with exit status 1
STDERR:
[INFO]: kivy first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize kivy/properties.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/properties.pyx
[INFO]: Cythonize kivy/weakproxy.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/weakproxy.pyx
[INFO]: Cythonize kivy/_event.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/_event.pyx
[INFO]: Cythonize kivy/_clock.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/_clock.pyx
[INFO]: Cythonize kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/egl.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/lib/vidcore_lite/egl.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/bcm.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/lib/vidcore_lite/bcm.pyx
[INFO]: Cythonize kivy/graphics/vbo.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/vbo.pyx
[INFO]: Cythonize kivy/graphics/stencil_instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/stencil_instructions.pyx
[INFO]: Cythonize kivy/graphics/svg.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/svg.pyx
[INFO]: Cythonize kivy/graphics/transformation.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/transformation.pyx
[INFO]: Cythonize kivy/graphics/opengl.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/opengl.pyx
[INFO]: Cythonize kivy/graphics/opengl_utils.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/opengl_utils.pyx
[INFO]: Cythonize kivy/graphics/shader.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/shader.pyx
[INFO]: Cythonize kivy/graphics/fbo.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/fbo.pyx
[INFO]: Cythonize kivy/graphics/scissor_instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/scissor_instructions.pyx
[INFO]: Cythonize kivy/graphics/compiler.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/compiler.pyx
[INFO]: Cythonize kivy/graphics/buffer.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/buffer.pyx
[INFO]: Cythonize kivy/graphics/tesselator.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/tesselator.pyx
[INFO]: Cythonize kivy/graphics/vertex_instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/vertex_instructions.pyx
[INFO]: Cythonize kivy/graphics/cgl.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl.pyx
[INFO]: Cythonize kivy/graphics/context.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/context.pyx
[INFO]: Cythonize kivy/graphics/gl_instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/gl_instructions.pyx
[INFO]: Cythonize kivy/graphics/texture.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/texture.pyx
[INFO]: Cythonize kivy/graphics/vertex.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/vertex.pyx
[INFO]: Cythonize kivy/graphics/instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/instructions.pyx
[INFO]: Cythonize kivy/graphics/context_instructions.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/context_instructions.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: Cythonize kivy/core/window/_window_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/window/_window_sdl2.pyx
[INFO]: Cythonize kivy/core/window/window_info.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/window/window_info.pyx
[INFO]: Cythonize kivy/core/audio/audio_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/audio/audio_sdl2.pyx
[INFO]: Cythonize kivy/core/camera/camera_avfoundation.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/camera/camera_avfoundation.pyx
[INFO]: Cythonize kivy/core/image/img_imageio.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/image/img_imageio.pyx
[INFO]: Cythonize kivy/core/image/_img_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/image/_img_sdl2.pyx
[INFO]: Cythonize kivy/core/text/text_layout.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/text/text_layout.pyx
[INFO]: Cythonize kivy/core/text/_text_pango.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/text/_text_pango.pyx
[INFO]: Cythonize kivy/core/text/_text_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/text/_text_sdl2.pyx
[INFO]: Cythonize kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: -> running python3 -cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main()); ./kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: -> directory context .
[INFO]: <- directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Installing kivy into site-packages
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 setup.py install -O2 --root=/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: # Biglinking object files
[WARNING]: Context's python recipe found, skipping biglink (will this work?)
[INFO]: # Postbuilding recipes
[INFO]: Postbuilding hostpython3 for armeabi-v7a
[INFO]: Postbuilding libffi for armeabi-v7a
[INFO]: Postbuilding libzmq for armeabi-v7a
[INFO]: -> running cp /home/rambo/.buildozer/android/platform/android-ndk-r19c/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_shared.so /home/rambo/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a
[INFO]: Postbuilding openssl for armeabi-v7a
[INFO]: Postbuilding sdl2_image for armeabi-v7a
[INFO]: Postbuilding sdl2_mixer for armeabi-v7a
[INFO]: Postbuilding sdl2_ttf for armeabi-v7a
[INFO]: Postbuilding sqlite3 for armeabi-v7a
[INFO]: Postbuilding python3 for armeabi-v7a
[INFO]: Postbuilding sdl2 for armeabi-v7a
[INFO]: Postbuilding pyzmq for armeabi-v7a
[INFO]: Postbuilding setuptools for armeabi-v7a
[INFO]: Postbuilding six for armeabi-v7a
[INFO]: Postbuilding pyjnius for armeabi-v7a
[INFO]: Copying pyjnius java class to classes build dir
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: -> running cp -a jnius/src/org /home/rambo/.local/share/python-for-android/build/javaclasses/unnamed_dist_1
[INFO]: <- directory context /home/rambo/devel/python-augnss
[INFO]: Postbuilding android for armeabi-v7a
[INFO]: Postbuilding kivy for armeabi-v7a
[INFO]: # Installing pure Python modules
[INFO]: *** PYTHON PACKAGE / PROJECT INSTALL STAGE ***
[INFO]: The requirements (certifi) don't have recipes, attempting to install them with pip
[INFO]: If this fails, it may mean that the module has compiled components and needs a recipe.
[INFO]: Will process project install, if it fails then the project may not be compatible for Android install.
[INFO]: -> directory context /home/rambo/.local/share/python-for-android/build
[INFO]: -> running python3 -m venv venv
[INFO]: Upgrade pip to latest version
[INFO]: -> running bash -c source venv/bin/activate && pip install -U pip
[INFO]: Install Cython in case one of the modules needs it to build
[INFO]: -> running bash -c venv/bin/pip install Cython
[INFO]: Creating a requirements.txt file for the Python modules
[INFO]: Installing Python modules with pip
[INFO]: IF THIS FAILS, THE MODULES MAY NEED A RECIPE. A reason for this is often modules compiling native code that is unaware of Android cross-compilation and does not work without additional changes / workarounds.
[INFO]: -> running bash -c venv/bin/pip install -v --target '/home/rambo/.local/share/python-for-android/build/python-installs/unnamed_dist_1' --no-deps -r requirements.txt
[INFO]: -> directory context /home/rambo/devel/python-augnss
[INFO]: got setup.py or similar, running project install. (disable this behavior with --ignore-setup-py)
[INFO]: Contents that will be used for constraints.txt:
[INFO]: Ignoring "sys._home = value" override
android==1.0
certifi==2020.6.20
Cython==0.29.21
Kivy==1.11.1
pyjnius==1.3.0
pyzmq==19.1.0.dev0
six==1.15.0
[INFO]: Populating venv's site-packages with ctx.get_site_packages_dir()...
[INFO]: Launching package install...
[INFO]: -> running bash -c '/home/rambo/.local/share/python-for-android/build/venv/bin/pip' install -c ._tmp_p4a_recipe_constraints.txt -v .
working: Removed build tracker: '/tmp/pip-req-tracker-113epdq3' Exception in thread background thread for pid 548167:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/bin/bash -c ''"'"'/home/rambo/.local/share/python-for-android/build/venv/bin/pip'"'"' install -c ._tmp_p4a_recipe_constraints.txt -v .'
STDOUT:
Ignoring "sys._home = value" override
Using pip 20.2.3 from /home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip (python 3.8)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-2fg5hqef
Created temporary directory: /tmp/pip-req-tracker-113epdq3
Initialized build tracking at /tmp/pip-req-tracker-113epdq3
Created build tracker: /tmp/pip-req-tracker-113epdq3
Entered build tracker: /tmp/pip-req-tracker-113epdq3
Created temporary directory: /tmp/pip-install-u0_0uow6
ERROR: Invalid requirement: 'Ignoring "sys._home = value" override' (from line 1 of ._tmp_p4a_recipe_constraints.txt)
Hint: = is not a valid operator. Did you mean == ?
Exception information:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/packaging/requirements.py", line 98, in __init__
req = REQUIREMENT.parseString(requirement_string)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py", line 1955, in parseString
raise exc
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py", line 3814, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd, found '"' (at char 9), (line:1, col:10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 359, in parse_req_from_line
req = Requirement(req_as_string)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/packaging/requirements.py", line 100, in __init__
raise InvalidRequirement(
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'"sys._ho'": Expected stringEnd
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
status = self.run(options, args)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 294, in run
reqs = self.get_requirements(args, options, finder, session)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 308, in get_requirements
req_to_add = install_req_from_parsed_requirement(
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 476, in install_req_from_parsed_requirement
req = install_req_from_line(
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 409, in install_req_from_line
parts = parse_req_from_line(name, line_source)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 374, in parse_req_from_line
raise InstallationError(msg)
pip._internal.exceptions.InstallationError: Invalid requirement: 'Ignoring "sys._home = value" override' (from line 1 of ._tmp_p4a_recipe_constraints.txt)
Hint: = is not a valid operator. Did you mean == ?
Removed build tracker: '/tmp/pip-req-tracker-113epdq3'
STDERR:
Traceback (most recent call last):
File "/home/rambo/.virtualenvs/py4a_37/bin/p4a", line 33, in <module>
sys.exit(load_entry_point('python-for-android', 'console_scripts', 'p4a')())
File "/home/rambo/devel/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/rambo/devel/python-for-android/pythonforandroid/toolchain.py", line 715, in __init__
getattr(self, command)(args)
File "/home/rambo/devel/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/rambo/devel/python-for-android/pythonforandroid/toolchain.py", line 215, in build_dist_from_args
args, "ignore_setup_py", False
File "/home/rambo/devel/python-for-android/pythonforandroid/build.py", line 604, in build_recipes
ignore_setup_py=ignore_project_setup_py
File "/home/rambo/devel/python-for-android/pythonforandroid/build.py", line 832, in run_pymodules_install
run_setuppy_install(ctx, project_dir, env)
File "/home/rambo/devel/python-for-android/pythonforandroid/build.py", line 694, in run_setuppy_install
_env=copy.copy(env))
File "/home/rambo/devel/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 907, in next
self.wait()
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 837, in wait
self.handle_command_exit_code(exit_code)
File "/home/rambo/.virtualenvs/py4a_37/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/bin/bash -c ''"'"'/home/rambo/.local/share/python-for-android/build/venv/bin/pip'"'"' install -c ._tmp_p4a_recipe_constraints.txt -v .'
STDOUT:
Ignoring "sys._home = value" override
Using pip 20.2.3 from /home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip (python 3.8)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-2fg5hqef
Created temporary directory: /tmp/pip-req-tracker-113epdq3
Initialized build tracking at /tmp/pip-req-tracker-113epdq3
Created build tracker: /tmp/pip-req-tracker-113epdq3
Entered build tracker: /tmp/pip-req-tracker-113epdq3
Created temporary directory: /tmp/pip-install-u0_0uow6
ERROR: Invalid requirement: 'Ignoring "sys._home = value" override' (from line 1 of ._tmp_p4a_recipe_constraints.txt)
Hint: = is not a valid operator. Did you mean == ?
Exception information:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/packaging/requirements.py", line 98, in __init__
req = REQUIREMENT.parseString(requirement_string)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py", line 1955, in parseString
raise exc
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py", line 3814, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd, found '"' (at char 9), (line:1, col:10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 359, in parse_req_from_line
req = Requirement(req_as_string)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_vendor/packaging/requirements.py", line 100, in __init__
raise InvalidRequirement(
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'"sys._ho'": Expected stringEnd
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
status = self.run(options, args)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 294, in run
reqs = self.get_requirements(args, options, finder, session)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 308, in get_requirements
req_to_add = install_req_from_parsed_requirement(
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 476, in install_req_from_parsed_requirement
req = install_req_from_line(
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 409, in install_req_from_line
parts = parse_req_from_line(name, line_source)
File "/home/rambo/.local/share/python-for-android/build/venv/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 374, in parse_req_from_line
raise InstallationError(msg)
pip._internal.exceptions.InstallationError: Invalid requirement: 'Ignoring "sys._home = value" override' (from line 1 of ._tmp_p4a_recipe_constraints.txt)
Hint: = is not a valid operator. Did you mean == ?
Removed build tracker: '/tmp/pip-req-tracker-113epdq3'
STDERR:
(py4a_37) rambo@dev2004:~/devel/python-augnss$
Metadata
Metadata
Assignees
Labels
No labels