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

sh.CommandNotFound: ./download.sh #2726

Closed
Neizvestnyj opened this issue Dec 30, 2022 · 11 comments
Closed

sh.CommandNotFound: ./download.sh #2726

Neizvestnyj opened this issue Dec 30, 2022 · 11 comments

Comments

@Neizvestnyj
Copy link
Contributor

Neizvestnyj commented Dec 30, 2022

Traceback (most recent call last):
  File "/home/neizvestnyj/anaconda3/envs/APP/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/neizvestnyj/anaconda3/envs/APP/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/toolchain.py", line 1312, in <module>
    main()
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/toolchain.py", line 734, in __init__
    getattr(self, command)(args)
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/build.py", line 496, in build_recipes
    recipe.prebuild_arch(arch)
  File "/home/neizvestnyj/AndroidApps/p4a/APP/python-for-android/pythonforandroid/recipes/sdl2_image/__init__.py", line 21, in prebuild_arch
    shprint(sh.Command("./download.sh"))
  File "/home/neizvestnyj/anaconda3/envs/APP/lib/python3.10/site-packages/sh.py", line 1310, in __init__
    raise CommandNotFound(path)
sh.CommandNotFound: ./download.sh

Versions

  • host Python: 3.9.15, 3.10.0
  • OS: Linux
  • Kivy: 2.1.0
  • Cython: 0.29.32
  • OpenJDK: "11.0.16" 2022-07-19
  • buildozer: 1.4.1.dev

buildozer.spec

requirements = kivy==2.1.0, https://github.com/Neizvestnyj/KivyMD/archive/1.0.2_1.2.0.dev.zip, scipy, opencv, opencv_extras, ecdsa, bcrypt, cryptography, paramiko, dateutil, urllib3, requests, chardet, idna, jmespath, PyNaCl, plyer, docutils, Pillow, certifi, pyjnius, numpy, numpy-stl, python-utils, pymysql, mysql-connector, iabwrapper, claptcha, https://github.com/Neizvestnyj/Py3DNS-android/archive/master.zip, imageio, langdetect, deep_translator, tflite-runtime, android
android.api = 33
android.minapi = 21
android.ndk = 25b
android.permissions = INTERNET, WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE, VIBRATE, ACCESS_NETWORK_STATE, REQUEST_DELETE_PACKAGES, com.android.vending.BILLING
android.gradle_dependencies = 'com.anjlab.android.iab.v3:library:2.0.0'
android.enable_androidx = True
android.add_gradle_repositories = "mavenCentral()"
android.archs = arm64-v8a, armeabi-v7a
p4a.branch = develop
p4a.source_dir = ../p4a/APP/python-for-android
p4a.bootstrap = sdl2
@misl6
Copy link
Member

misl6 commented Jan 2, 2023

Maybe a temporary download issue?

Can you try to clean your build and try again?

@Neizvestnyj
Copy link
Contributor Author

Maybe a temporary download issue?

Can you try to clean your build and try again?

Hmm , yes, but now I get an error:

from _ctypes import Union, Structure, Array\nImportError: /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/lib.linux-x86_64-3.9/_ctypes.cpython-39-x86_64-linux-gnu.so: undefined symbol: ffi_closure_alloc, version LIBFFI_CLOSURE_7.0

Full log

[ERROR]: b'+++ dirname /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh\n++ cd /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package\n++ pwd\n+ SCRIPT_DIR=/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package\n+ PYTHON=python3\n+ VERSION_SUFFIX=\n+ export TENSORFLOW_DIR=/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../..\n+ TENSORFLOW_DIR=/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../..\n+ TENSORFLOW_LITE_DIR=/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite\n++ grep '_VERSION = ' /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/tools/pip_package/setup.py\n++ cut -d= -f2\n++ sed 's/[ '\''-]//g'\n+ TENSORFLOW_VERSION=2.8.0\n+ export PACKAGE_VERSION=2.8.0\n+ PACKAGE_VERSION=2.8.0\n+ BUILD_DIR=/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3\n+ TENSORFLOW_TARGET=android\n+ '[' android = rpi ']'\n++ python3 -c 'from sysconfig import get_paths as gp; print(gp()['\''include'\''])'\n+ PYTHON_INCLUDE=/home/neizvestnyj/anaconda3/envs/APP/include/python3.9\n+ export CROSSTOOL_PYTHON_INCLUDE_PATH=/home/neizvestnyj/anaconda3/envs/APP/include/python3.9\n+ CROSSTOOL_PYTHON_INCLUDE_PATH=/home/neizvestnyj/anaconda3/envs/APP/include/python3.9\n+ '[' '!' -z '' ']'\n+ rm -rf /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3\n+ mkdir -p /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/tflite_runtime\n+ cp -r /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/tools/pip_package/debian /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/tools/pip_package/MANIFEST.in /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/python/interpreter_wrapper /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3\n+ cp /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/tools/pip_package/setup_with_binary.py /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/setup.py\n+ cp /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/python/interpreter.py /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/python/metrics/metrics_interface.py /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite/python/metrics/metrics_portable.py /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/tflite_runtime\n+ echo 'version = '\''2.8.0'\'''\n+ echo 'git_version = '\''2.8.0'\'''\n+ mkdir -p /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build\n+ cd /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build\n+ echo 'Building for android'\n+ case "${TENSORFLOW_TARGET}" in\n+ BUILD_FLAGS=' -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/APP/armeabi-v7a/numpy/core/include -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pybind11/armeabi-v7a__ndk_target_21/pybind11/include'\n+ cmake -DCMAKE_SYSTEM_NAME=Android -DANDROID_ARM_NEON=ON '-DCMAKE_CXX_FLAGS= -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/APP/armeabi-v7a/numpy/core/include -I/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pybind11/armeabi-v7a__ndk_target_21/pybind11/include' '-DCMAKE_SHARED_LINKER_FLAGS= -L/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/APP/armeabi-v7a -L/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build -lpython3.9' -DCMAKE_TOOLCHAIN_FILE=/home/neizvestnyj/.buildozer/android/platform/android-ndk-r25b/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=21 -DANDROID_ABI=armeabi-v7a /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/../../../../tensorflow/lite\nCMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/FetchContent.cmake:1241 (message):\n The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is\n not set. The policy's OLD behavior will be used. When using a URL\n download, the timestamps of extracted files should preferably be that of\n the time of extraction, otherwise code that depends on the extracted\n contents might not be rebuilt if the URL changes. The OLD behavior\n preserves the timestamps from the archive instead, but this is usually not\n what you want. Update your project to the NEW behavior or specify the\n DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this\n robustness issue.\nCall Stack (most recent call first):\n tools/cmake/modules/OverridableFetchContent.cmake:398 (FetchContent_Declare)\n tools/cmake/modules/fft2d.cmake:22 (OverridableFetchContent_Declare)\n tools/cmake/modules/Findfft2d.cmake:18 (include)\n CMakeLists.txt:142 (find_package)\nThis warning is for project developers. Use -Wno-dev to suppress it.\n\nCMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/FetchContent.cmake:1241 (message):\n The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is\n not set. The policy's OLD behavior will be used. When using a URL\n download, the timestamps of extracted files should preferably be that of\n the time of extraction, otherwise code that depends on the extracted\n contents might not be rebuilt if the URL changes. The OLD behavior\n preserves the timestamps from the archive instead, but this is usually not\n what you want. Update your project to the NEW behavior or specify the\n DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this\n robustness issue.\nCall Stack (most recent call first):\n tools/cmake/modules/OverridableFetchContent.cmake:398 (FetchContent_Declare)\n tools/cmake/modules/neon2sse.cmake:22 (OverridableFetchContent_Declare)\n tools/cmake/modules/Findneon2sse.cmake:18 (include)\n CMakeLists.txt:145 (find_package)\nThis warning is for project developers. Use -Wno-dev to suppress it.\n\nCMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:3071 (message):\n The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is\n not set. The policy's OLD behavior will be used. When using a URL\n download, the timestamps of extracted files should preferably be that of\n the time of extraction, otherwise code that depends on the extracted\n contents might not be rebuilt if the URL changes. The OLD behavior\n preserves the timestamps from the archive instead, but this is usually not\n what you want. Update your project to the NEW behavior or specify the\n DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this\n robustness issue.\nCall Stack (most recent call first):\n /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)\n CMakeLists.txt:14 (ExternalProject_Add)\nThis warning is for project developers. Use -Wno-dev to suppress it.\n\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nCMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:3071 (message):\n The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is\n not set. The policy's OLD behavior will be used. When using a URL\n download, the timestamps of extracted files should preferably be that of\n the time of extraction, otherwise code that depends on the extracted\n contents might not be rebuilt if the URL changes. The OLD behavior\n preserves the timestamps from the archive instead, but this is usually not\n what you want. Update your project to the NEW behavior or specify the\n DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this\n robustness issue.\nCall Stack (most recent call first):\n /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)\n CMakeLists.txt:14 (ExternalProject_Add)\nThis warning is for project developers. Use -Wno-dev to suppress it.\n\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nCMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:3071 (message):\n The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is\n not set. The policy's OLD behavior will be used. When using a URL\n download, the timestamps of extracted files should preferably be that of\n the time of extraction, otherwise code that depends on the extracted\n contents might not be rebuilt if the URL changes. The OLD behavior\n preserves the timestamps from the archive instead, but this is usually not\n what you want. Update your project to the NEW behavior or specify the\n DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this\n robustness issue.\nCall Stack (most recent call first):\n /usr/local/share/cmake-3.24/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)\n CMakeLists.txt:14 (ExternalProject_Add)\nThis warning is for project developers. Use -Wno-dev to suppress it.\n\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nCloning into 'psimd-source'...\nAlready on 'master'\n+ cmake --build . --verbose -j -t _pywrap_tensorflow_interpreter_wrapper\nmake[2]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:28:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::Span)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:78:39: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::Span)>' first required here\n return RunWithCapacityImpl<1>(f);\n ^\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:28:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::str_format_internal::(anonymous namespace)::BinaryToDecimal)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:149:10: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::str_format_internal::(anonymous namespace)::BinaryToDecimal)>' first required here\n [=](absl::Span<uint32_t> input) { f(BinaryToDecimal(input, v, exp)); });\n ^\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:28:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::str_format_internal::(anonymous namespace)::FractionalDigitGenerator)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:255:34: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::str_format_internal::(anonymous namespace)::FractionalDigitGenerator)>' first required here\n [=](absl::Span<uint32_t> input) {\n ^\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\n3 warnings generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.cc:15:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:78:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::string_view)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:1325:33: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::string_view)>' first required here\n return ForEachChunkAux(rep, callback);\n ^\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\n1 warning generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/status/status.cc:14:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/status/status.h:58:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/status/internal/status_internal.h:20:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:78:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::string_view)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:1325:33: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::string_view)>' first required here\n return ForEachChunkAux(rep, callback);\n ^\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/status/status_payload_printer.cc:14:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/status/status_payload_printer.h:19:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:78:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::string_view)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:1325:33: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::string_view)>' first required here\n return ForEachChunkAux(rep, callback);\n ^\n1 warning generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\n1 warning generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/flags/reflection.cc:16:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/flags/reflection.h:29:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/container/flat_hash_map.h:40:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/container/internal/hash_function_defaults.h:56:\nIn file included from /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:78:\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/functional/function_ref.h:124:16: warning: definition of implicit copy constructor for 'FunctionRef<void (absl::string_view)>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]\n FunctionRef& operator=(const FunctionRef& rhs) = delete;\n ^\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/abseil-cpp/absl/strings/cord.h:1325:33: note: in implicit copy constructor for 'absl::FunctionRef<void (absl::string_view)>' first required here\n return ForEachChunkAux(rep, callback);\n ^\n1 warning generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\n/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/delegates/serialization.cc:183:61: warning: 'open' has superfluous mode bits; missing O_CREAT or O_TMPFILE? [-Wuser-defined-warnings]\n int fd = open(filepath.c_str(), O_RDONLY | O_CLOEXEC, 0600);\n ^\n/home/neizvestnyj/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/bits/fortify/fcntl.h:76:9: note: from 'diagnose_if' attribute on 'open':\n __clang_warning_if(!__open_modes_useful(flags) && modes,\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/home/neizvestnyj/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/sys/cdefs.h:139:54: note: expanded from macro '__clang_warning_if'\n#define __clang_warning_if(cond, msg) attribute((diagnose_if(cond, msg, "warning")))\n ^ ~~~~\n1 warning generated.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\nmake[3]: warning: -j4 forced in submake: resetting jobserver mode.\n+ cd /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3\n+ case "${TENSORFLOW_TARGET}" in\n+ LIBRARY_EXTENSION=.so\n+ cp /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_pywrap_tensorflow_interpreter_wrapper.so /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/tflite_runtime\n+ chmod u+w /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so\n+ cd /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3\n+ case "${TENSORFLOW_TARGET}" in\n+ [[ -n '' ]]\n+ python3 setup.py bdist\nTraceback (most recent call last):\n File "/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/tflite-runtime/armeabi-v7a__ndk_target_21/tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/setup.py", line 25, in \n from setuptools import find_packages\n File "/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/init.py", line 18, in \n from setuptools.dist import Distribution\n File "/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/dist.py", line 32, in \n from setuptools import windows_support\n File "/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/windows_support.py", line 2, in \n import ctypes\n File "/home/neizvestnyj/anaconda3/envs/APP/lib/python3.9/ctypes/init.py", line 8, in \n from _ctypes import Union, Structure, Array\nImportError: /home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/lib.linux-x86_64-3.9/_ctypes.cpython-39-x86_64-linux-gnu.so: undefined symbol: ffi_closure_alloc, version LIBFFI_CLOSURE_7.0\n'
/home/neizvestnyj/AndroidApps/APP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/external

@RobertFlatt
Copy link
Contributor

This fails when running the tensorflow-lite recipe, but it is failing in the cmake build of a dependency. There are some clues, but the cmake scripts are third party - nobody here is going to have the detailed dependency knowledge.

There are download messages in the middle, I don't know if they are significant.

If not those download messages, I'd suspect it is Linux flavor related; possibly some package version related. Or to turn that the other way around if this is Ubuntu I'd suspect the download.

What Linux is this?

The traceback includes site-packages/setuptools/windows_support.py", line 2, windows_support!!! If that is real, cmake is super confused.

: undefined symbol: ffi_closure_alloc would suggest libffi-dev is perhaps missing - but that is a Buildozer dependency so recheck those https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst

Other than that I got nothing.

@Neizvestnyj
Copy link
Contributor Author

Neizvestnyj commented Jan 3, 2023

  1. I use Debian 11.3 (Linux debian11 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux)
  2. libffi-dev: libffi-dev is already the newest version (3.3-6).
  3. Now use buildozer==1.4.0
  4. site-packages/setuptools/windows_support.py", line 2 really strange, maybe some bug in VM (I use WMware Workstation 17 Player) but I think it's unlikely.
  5. I add buildozer.spec to the question

I get same error on new linux Debian 11.6

Full log:
log.txt

@RobertFlatt
Copy link
Contributor

Just built Hello World with tflite-runtime using Ubuntu/WSL, p4a==master (so ndk 25b, api 31, and androidx), both ARM architectures; and the build is good. So I can't replicate the issue.

really strange, maybe some bug in VM

We don't know how the Cmake script detects the OS, so, if this is the issue we don't know where the issue is. We don't even know if this is really the issue, though it might be.

I have no new suggestion.

@Neizvestnyj
Copy link
Contributor Author

Just built Hello World with tflite-runtime using Ubuntu/WSL, p4a==master (so ndk 25b, api 31, and androidx), both ARM architectures; and the build is good. So I can't replicate the issue.

really strange, maybe some bug in VM

We don't know how the Cmake script detects the OS, so, if this is the issue we don't know where the issue is. We don't even know if this is really the issue, though it might be.

I have no new suggestion.

Whats about p4a==develop?

@Neizvestnyj
Copy link
Contributor Author

As I sad I create new linux VM (Debian 11.6) and only tensorflow build incorrect, old version of p4a works fine

@RobertFlatt
Copy link
Contributor

Whats about p4a==develop?

all good

And apart from a file name issue ('-' to '_'), the recipe has not changed since it was published in p4a 10 months ago.

I doubt the issue is Debian (unless its a Debian version issue?), because the original Google scripts did Debian packaging so it was presumably part of their environment. Also nobody else has reported this, it seems likely somebody has used Debian

@Neizvestnyj
Copy link
Contributor Author

Hmm, interestingly, I also managed to build a clean Hello World example, it looks like an error in some of the dependencies

@Neizvestnyj
Copy link
Contributor Author

I found error, its anaconda env, if I build app with base env all fine. App env have python==3.9.15, base env python==3.9.13

@RobertFlatt
Copy link
Contributor

Wow, good find.

I did get as far as telling myself a story as to why Python would be the issue, but I would not have guessed in this way. FYI I tested using python 3.10.6 and 3.8.10.

Done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants