cffi installation failed during build (web and apk ONLY)

Description
commands throwing error:

flet build apk --out /home/lekshman/goldfinance/apk -vv --template https://github.com/flet-dev/flet-build-template.git
flet build web --out /home/lekshman/goldfinance/web -vv --template https://github.com/flet-dev/flet-build-template.git

requirements.txt
annotated-types
anyio
arrow
asn1crypto
binaryornot
certifi
cffi
chardet
charset-normalizer
click
coincurve
cookiecutter
cytoolz
docopt
eciespy
eth-hash
eth-keys
eth-typing
eth-utils
fastapi
flet
flet-contrib
flet-core
flet-fastapi
flet-runtime
h11
httpcore
httpx
idna
Jinja2
markdown-it-py
MarkupSafe
mdurl
numpy
oauthlib
opencv-python
packaging
pipreqs
pycparser
pycryptodome
pydantic
pydantic_core
Pygments
pyotp
pypng
python-dateutil
python-slugify
PyYAML
qrcode
repath
requests
rich
six
sniffio
starlette
text-unidecode
tinyec
toolz
types-python-dateutil
typing_extensions
urllib3
uvicorn
watchdog
websocket-client
websockets
yarg

Build Log:
Flutter executable: /home/lekshman/flutter/bin/flutter
Dart executable: /home/lekshman/flutter/bin/dart
Flutter bootstrap directory: /tmp/flet_flutter_build_gIIPPmSWtc
Creating Flutter bootstrap project...OK
Customizing app icons and splash images...Copying /home/lekshman/goldfinance/app_build/assets/icon.png to
/tmp/flet_flutter_build_gIIPPmSWtc/images
OK
Generating app icons...
Run subprocess: ['/home/lekshman/flutter/bin/dart', 'run', 'flutter_launcher_icons']
Resolving dependencies in /tmp/flet_flutter_build_gIIPPmSWtc... (17.5s)
Got dependencies in /tmp/flet_flutter_build_gIIPPmSWtc.
Building package executable... (4.5s)
Built flutter_launcher_icons:flutter_launcher_icons.
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.13.1)
  ════════════════════════════════════════════

• Creating default icons Android
• Overwriting the default Android launcher icon with a new icon
• Overwriting default iOS launcher icon with new icon
Creating Icons for Web...              done
Creating Icons for Windows...          done
Creating Icons for MacOS...            done

✓ Successfully generated launcher icons
OK
Generating splash screens...
Run subprocess: ['/home/lekshman/flutter/bin/dart', 'run',
'flutter_native_splash:create']
Building package executable... (3.5s)
Built flutter_native_splash:create.
[Android] Creating default splash images
[Android] Creating dark mode splash images
[Android] Creating default android12splash images
[Android] Creating dark mode android12splash images
[Android] Updating launch background(s) with splash image path...
[Android]  - android/app/src/main/res/drawable/launch_background.xml
[Android]  - android/app/src/main/res/drawable-night/launch_background.xml
[Android]  - android/app/src/main/res/drawable-v21/launch_background.xml
[Android]  - android/app/src/main/res/drawable-night-v21/launch_background.xml
[Android] Updating styles...
[Android]  - android/app/src/main/res/values-v31/styles.xml
[Android] No android/app/src/main/res/values-v31/styles.xml found in your Android project
[Android] Creating android/app/src/main/res/values-v31/styles.xml and adding it to your Android project
[Android]  - android/app/src/main/res/values-night-v31/styles.xml
[Android] No android/app/src/main/res/values-night-v31/styles.xml found in your Android project
[Android] Creating android/app/src/main/res/values-night-v31/styles.xml and adding it to your Android project
[Android]  - android/app/src/main/res/values/styles.xml
[Android]  - android/app/src/main/res/values-night/styles.xml
[iOS] Creating  images
[iOS] Creating dark mode  images
[iOS] Updating ios/Runner/Info.plist for status bar hidden/visible
[Web] Creating images
[Web] Creating images
[Web] Creating background images
[Web] Creating CSS
[Web] Updating index.html
╔════════════════════════════════════════════════════════════════════════════╗
║                       NEED A GREAT FLUTTER DEVELOPER?                      ║
╠════════════════════════════════════════════════════════════════════════════╣
║                                                                            ║
║   I am available!  Find me at https://www.linkedin.com/in/hansonjon/       ║
║                                                                            ║
╚════════════════════════════════════════════════════════════════════════════╝

✅ Native splash complete.
Now go finish building something awesome! 💪 You rock! 🤘🤩
Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash

OK
Packaging Python app...
Run subprocess: ['/home/lekshman/flutter/bin/dart', 'run', 'serious_python:main',
'package', '/home/lekshman/goldfinance/app_build', '--mobile', '--platform', 'mobile',
'--dep-mappings', 'flet=flet-embed', '--req-deps', 'flet-embed', '--exclude', 'build',
'--verbose']
Building package executable... (2.2s)
Built serious_python:main.
Running package command
Creating asset directory: /tmp/flet_flutter_build_gIIPPmSWtc/app
Copying Python app from /home/lekshman/goldfinance/app_build to /tmp/serious_python_tempMWCJCW
Configured mobile platform with sitecustomize.py at /tmp/serious_python_sitecustomizeTUWJKT/sitecustomize.py
Installing dependencies [annotated-types, anyio, arrow, asn1crypto, binaryornot, certifi, cffi, chardet, charset-normalizer, click, coincurve, cookiecutter, cytoolz, docopt, eciespy, eth-hash, eth-keys, eth-typing, eth-utils, fastapi, flet-embed, flet-contrib, flet-core, flet-fastapi, flet-runtime, h11, httpcore, httpx, idna, Jinja2, markdown-it-py, MarkupSafe, mdurl, numpy, oauthlib, opencv-python, packaging, pipreqs, pycparser, pycryptodome, pydantic, pydantic_core, Pygments, pyotp, pypng, python-dateutil, python-slugify, PyYAML, qrcode, repath, requests, rich, six, sniffio, starlette, text-unidecode, tinyec, toolz, types-python-dateutil, typing_extensions, urllib3, uvicorn, watchdog, websocket-client, websockets, yarg] with pip command to /tmp/serious_python_tempMWCJCW/__pypackages__
Extracting Python distributive from /tmp/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.tar.gz to /tmp/hostpython3.11_RRPGMN
VERBOSE: /tmp/hostpython3.11_RRPGMN/python/bin/python3 -m pip install --isolated --upgrade --target /tmp/serious_python_tempMWCJCW/__pypackages__ annotated-types anyio arrow asn1crypto binaryornot certifi cffi chardet charset-normalizer click coincurve cookiecutter cytoolz docopt eciespy eth-hash eth-keys eth-typing eth-utils fastapi flet-embed flet-contrib flet-core flet-fastapi flet-runtime h11 httpcore httpx idna Jinja2 markdown-it-py MarkupSafe mdurl numpy oauthlib opencv-python packaging pipreqs pycparser pycryptodome pydantic pydantic_core Pygments pyotp pypng python-dateutil python-slugify PyYAML qrcode repath requests rich six sniffio starlette text-unidecode tinyec toolz types-python-dateutil typing_extensions urllib3 uvicorn watchdog websocket-client websockets yarg
VERBOSE: Collecting annotated-types
VERBOSE: Obtaining dependency information for annotated-types from https://files.pythonhosted.org/packages/28/78/d31230046e58c207284c6b2c4e8d96e6d3cb4e52354721b944d3e1ee4aa5/annotated_types-0.6.0-py3-none-any.whl.metadata
VERBOSE: Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)
VERBOSE: Collecting anyio
VERBOSE: Obtaining dependency information for anyio from https://files.pythonhosted.org/packages/bf/cd/d6d9bb1dadf73e7af02d18225cbd2c93f8552e13130484f1c8dcfece292b/anyio-4.2.0-py3-none-any.whl.metadata
VERBOSE: Using cached anyio-4.2.0-py3-none-any.whl.metadata (4.6 kB)
VERBOSE: Collecting arrow
VERBOSE: Obtaining dependency information for arrow from https://files.pythonhosted.org/packages/f8/ed/e97229a566617f2ae958a6b13e7cc0f585470eac730a73e9e82c32a3cdd2/arrow-1.3.0-py3-none-any.whl.metadata
VERBOSE: Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
VERBOSE: Collecting asn1crypto
VERBOSE: Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
VERBOSE: Collecting binaryornot
VERBOSE: Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
VERBOSE: Collecting certifi
VERBOSE: Obtaining dependency information for certifi from https://files.pythonhosted.org/packages/64/62/428ef076be88fa93716b576e4a01f919d25968913e817077a386fcbe4f42/certifi-2023.11.17-py3-none-any.whl.metadata
VERBOSE: Using cached certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
VERBOSE: Collecting cffi
VERBOSE: Using cached cffi-1.16.0.tar.gz (512 kB)
VERBOSE: Installing build dependencies: started
VERBOSE: Installing build dependencies: finished with status 'done'
VERBOSE: Getting requirements to build wheel: started
VERBOSE: Getting requirements to build wheel: finished with status 'done'
VERBOSE: Installing backend dependencies: started
VERBOSE: Installing backend dependencies: finished with status 'done'
VERBOSE: Preparing metadata (pyproject.toml): started
VERBOSE: Preparing metadata (pyproject.toml): finished with status 'done'
VERBOSE: Collecting chardet
  Obtaining dependency information for chardet from https://files.pythonhosted.org/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl.metadata
VERBOSE: Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
VERBOSE: Collecting charset-normalizer
VERBOSE: Obtaining dependency information for charset-normalizer from https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl.metadata
VERBOSE: Using cached charset_normalizer-3.3.2-py3-none-any.whl.metadata (33 kB)
VERBOSE: Collecting click
VERBOSE: Obtaining dependency information for click from https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl.metadata
VERBOSE: Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
VERBOSE: Collecting coincurve
VERBOSE: Using cached coincurve-18.0.0.tar.gz (2.5 MB)
VERBOSE: Installing build dependencies: started
VERBOSE: Installing build dependencies: finished with status 'done'
VERBOSE: Getting requirements to build wheel: started
VERBOSE: Getting requirements to build wheel: finished with status 'done'
VERBOSE: Installing backend dependencies: started
VERBOSE: Installing backend dependencies: finished with status 'error'
/tmp/hostpython3.11_RRPGMN/python/lib/python3.11/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
  error: subprocess-exited-with-error

  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> [97 lines of output]
      Collecting cffi>=1.3.0
        Using cached cffi-1.16.0.tar.gz (512 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting requests
        Obtaining dependency information for requests from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
        Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
      Collecting pycparser (from cffi>=1.3.0)
        Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
      Collecting charset-normalizer<4,>=2 (from requests)
        Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl.metadata
        Using cached charset_normalizer-3.3.2-py3-none-any.whl.metadata (33 kB)
      Collecting idna<4,>=2.5 (from requests)
        Obtaining dependency information for idna<4,>=2.5 from https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl.metadata
        Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)
      Collecting urllib3<3,>=1.21.1 (from requests)
        Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/96/94/c31f58c7a7f470d5665935262ebd7455c7e4c7782eb525658d3dbf4b9403/urllib3-2.1.0-py3-none-any.whl.metadata
        Using cached urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
      Collecting certifi>=2017.4.17 (from requests)
        Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/64/62/428ef076be88fa93716b576e4a01f919d25968913e817077a386fcbe4f42/certifi-2023.11.17-py3-none-any.whl.metadata
        Using cached certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
      Using cached requests-2.31.0-py3-none-any.whl (62 kB)
      Using cached certifi-2023.11.17-py3-none-any.whl (162 kB)
      Using cached charset_normalizer-3.3.2-py3-none-any.whl (48 kB)
      Using cached idna-3.6-py3-none-any.whl (61 kB)
      Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
      Building wheels for collected packages: cffi
        Building wheel for cffi (pyproject.toml): started
        Building wheel for cffi (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for cffi (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [48 lines of output]

                No working compiler found, or bogus compiler options passed to
                the compiler from Python's standard "distutils" module.  See
                the error messages above.  Likely, the problem is not related
                to CFFI but generic to the setup.py of any Python package that
                tries to compile C code.  (Hints: on OS/X 10.8, for errors about
                -mno-fused-madd see http://stackoverflow.com/questions/22313407/
                Otherwise, see https://wiki.python.org/moin/CompLangPython or
                the IRC channel #python on irc.libera.chat.)

                Trying to continue anyway.  If you are trying to install CFFI from
                a build done in a different context, you can ignore this warning.

            running bdist_wheel
            running build
            running build_py
            creating build
            creating build/lib.linux-x86_64-cpython-311
            creating build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/__init__.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/_imp_emulation.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/commontypes.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/model.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/verifier.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/lock.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/api.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/cparser.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/error.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/recompiler.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/_embedding.h -> build/lib.linux-x86_64-cpython-311/cffi
            copying src/cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-311/cffi
            running build_ext
            building '_cffi_backend' extension
            creating build/temp.linux-x86_64-cpython-311
            creating build/temp.linux-x86_64-cpython-311/src
            creating build/temp.linux-x86_64-cpython-311/src/c
            Cannot_compile_native_modules -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fdebug-default-version=4 -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -I/tools/deps/libedit/include -fPIC -DFFI_BUILDING=1 -I/tmp/hostpython3.11_RRPGMN/python/include/python3.11 -c src/c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-311/src/c/_cffi_backend.o
            error: command 'Cannot_compile_native_modules' failed: No such file or directory
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for cffi
      Failed to build cffi
      ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects

      [notice] A new release of pip is available: 23.2.1 -> 23.3.2
      [notice] To update, run: /tmp/hostpython3.11_RRPGMN/python/bin/python3 -m pip install --upgrade pip
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 23.2.1 -> 23.3.2
[notice] To update, run: /tmp/hostpython3.11_RRPGMN/python/bin/python3 -m pip install --upgrade pip
Deleting Flutter bootstrap directory /tmp/flet_flutter_build_gIIPPmSWtc
Error building Flet app - see the log of failed command above.

Additional information you deem important (e.g. issue happens only occasionally):
NO PROBLEM WHEN RUNNING flet build linux --out /home/lekshman/goldfinance/gf_linux --template https://github.com/flet-dev/flet-build-template.git -vv
Flet version (pip show flet):
Name: flet
Version: 0.20.0.dev2183
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: /home/lekshman/goldfinance/app_env/lib/python3.11/site-packages
Requires: cookiecutter, flet-runtime, packaging, qrcode, watchdog, websocket-client, websockets
Required-by: flet-contrib, flet-fastapi

Operating system:
Kali Linux

cffi is a native package, it has parts in C. https://flet.dev/docs/guides/python/packaging-app-for-distribution#native-python-packages

And by the way, your requirements file should be handpicked with just the direct dependencies.

And by the way, your requirements file should be handpicked with just the direct dependencies.

Yes Initially I tried with hand picked requirements only ...but later used pip freeze while continuing to troubleshoot the issue.

cffi is a native package, it has parts in C: https://flet.dev/docs/guides/python/packaging-app-for-distribution#native-python-packages .
See this on how to build native packages for this purpose: https://github.com/flet-dev/serious-python?tab=readme-ov-file#android

I'll try the steps, incase of any hurdles, I'll get back here for seeking your help.

Did it work for you?

few minutes back only I  followed those steps
but when I ran
p4a create --requirements eciespy --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROID_SDK_ROOT --ndk-dir $ANDROID_SDK_ROOT/ndk/$NDK_VERSION --dist-name mydist

got this error
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]:    Will compile for the following archs: armeabi-v7a, x86_64, arm64-v8a
[INFO]:    Android API target was not set manually, using the default of 33
[INFO]:    Available Android APIs are (31, 33, 34)
[INFO]:    Requested API target 33 is available, continuing.
[INFO]:    Getting NDK dir from from user argument
[INFO]:    Found NDK version 25c
[WARNING]: NDK API target was not set manually, using the default of 21 = min(android-api=33, default ndk-api=21)
[INFO]:    ccache is missing, the build will not be optimized in the future.
[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: ['eciespy']
[INFO]:    Trying to find a bootstrap that matches the given recipes.
[INFO]:    Found 4 acceptable bootstraps: ['webview', 'service_library', 'service_only', 'sdl2']
[INFO]:    Using the highest ranked/first of these: service_only
[INFO]:    Found a single valid recipe set: ['eciespy', 'hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The selected bootstrap is service_only
[INFO]:    # Creating dist with service_only bootstrap
[INFO]:    Dist will have name mydist and requirements (eciespy)
[INFO]:    Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    Dist will also contain modules (eciespy) installed from pip
[INFO]:    Dist will be build in mode debug
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/bootstrap_builds/service_only
[INFO]:    <- directory context /home/lekshman
[INFO]:    Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The requirements (eciespy) were not found as recipes, they will be installed with pip.
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/hostpython3
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    hostpython3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading libffi
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/libffi
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    libffi download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading openssl
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/openssl
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    openssl download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading sqlite3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/sqlite3
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    sqlite3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading python3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/python3
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    python3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading genericndkbuild
[INFO]:    Skipping genericndkbuild download as no URL is set
[INFO]:    Downloading setuptools
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/setuptools
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    setuptools download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading six
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/six
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    six download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading pyjnius
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/pyjnius
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    pyjnius download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading android
[INFO]:    Skipping android download as no URL is set
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]:    hostpython3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking libffi for armeabi-v7a
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21
[INFO]:    libffi is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking openssl for armeabi-v7a
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking sqlite3 for armeabi-v7a
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking python3 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21
[INFO]:    python3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking genericndkbuild for armeabi-v7a
[INFO]:    Skipping genericndkbuild unpack as no URL is set
[INFO]:    Unpacking setuptools for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/setuptools/armeabi-v7a__ndk_target_21
[INFO]:    setuptools is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/six/armeabi-v7a__ndk_target_21
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/armeabi-v7a__ndk_target_21
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    -> running cp -a /home/lekshman/.venv/lib...(and 187 more)
[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]:    hostpython3 already patched, skipping
[INFO]:    Prebuilding libffi for armeabi-v7a
[INFO]:    libffi has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for libffi[armeabi-v7a]
[INFO]:    libffi already patched, skipping
[INFO]:    Prebuilding openssl for armeabi-v7a
[INFO]:    openssl 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]:    python3 already patched, skipping
[INFO]:    Prebuilding genericndkbuild for armeabi-v7a
[INFO]:    genericndkbuild 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]:    pyjnius already patched, skipping
[INFO]:    Prebuilding android for armeabi-v7a
[INFO]:    android has no prebuild_armeabi_v7a, skipping
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/android-genericndkbuild/armeabi-v7a__ndk_target_21/android
[INFO]:    <- directory context /home/lekshman
[INFO]:    # Building recipes
[INFO]:    Building hostpython3 for armeabi-v7a
[INFO]:    hostpython3 said it is already built, skipping
[INFO]:    Building libffi for armeabi-v7a
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]:    -> running autoreconf -vif
           working: autoreconf: error: /usr/bin/autoconf faile...(and 21 more) Exception in thread background thread for pid 21074:
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/autoreconf -vif

  STDOUT:
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:8: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:8: the top level
configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:74: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
configure.ac:74: the top level
configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:91: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:91: the top level
configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:118: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
configure.ac:118: the top level
configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:122: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:122: the top level
configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:138: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:138: the top level
configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:185: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:185: the top level
configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:310: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:310: the top level
configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: AC_PROG_LD is m4_require'd but not m4_defun'd
acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:41: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:8529: error: possibly undefined macro: AC_PROG_LD
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

  STDERR:

Traceback (most recent call last):
  File "/home/lekshman/.venv/bin/p4a", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 685, in __init__
    getattr(self, command)(args)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 104, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/build.py", line 504, in build_recipes
    recipe.build_arch(arch)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/recipes/libffi/__init__.py", line 29, in build_arch
    shprint(sh.Command('autoreconf'), '-vif', _env=env)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/autoreconf -vif

  STDOUT:
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:8: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:8: the top level
configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:74: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
configure.ac:74: the top level
configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:91: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:91: the top level
configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:118: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
configure.ac:118: the top level
configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:122: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:122: the top level
configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:138: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:138: the top level
configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:185: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:185: the top level
configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:310: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:310: the top level
configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: AC_PROG_LD is m4_require'd but not m4_defun'd
acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
configure.ac:418: the top level
configure.ac:41: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:8529: error: possibly undefined macro: AC_PROG_LD
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

  STDERR:

Did it work for you?

Sorry, Just now saw your comment while coming back here to reopen the issue.
I got the above posted error.

After the above posted error,
I executed sudo apt install libtool
now i understood it need autoconf, automake, libtools and pkg-config
now again ran p4a command.....
p4a create --requirements eciespy --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROID_SDK_ROOT --ndk-dir $ANDROID_SDK_ROOT/ndk/$NDK_VERSION --dist-name mydist

everthing looked like going well but unfortunately met with new error as displayed below
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]:    Will compile for the following archs: arm64-v8a, armeabi-v7a, x86_64
[INFO]:    Android API target was not set manually, using the default of 33
[INFO]:    Available Android APIs are (31, 33, 34)
[INFO]:    Requested API target 33 is available, continuing.
[INFO]:    Getting NDK dir from from user argument
[INFO]:    Found NDK version 25c
[WARNING]: NDK API target was not set manually, using the default of 21 = min(android-api=33, default ndk-api=21)
[INFO]:    ccache is missing, the build will not be optimized in the future.
[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: ['eciespy']
[INFO]:    Trying to find a bootstrap that matches the given recipes.
[INFO]:    Found 4 acceptable bootstraps: ['webview', 'service_only', 'sdl2', 'service_library']
[INFO]:    Using the highest ranked/first of these: service_only
[INFO]:    Found a single valid recipe set: ['eciespy', 'hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The selected bootstrap is service_only
[INFO]:    # Creating dist with service_only bootstrap
[INFO]:    Dist will have name mydist and requirements (eciespy)
[INFO]:    Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    Dist will also contain modules (eciespy) installed from pip
[INFO]:    Dist will be build in mode debug
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/bootstrap_builds/service_only
[INFO]:    <- directory context /home/lekshman
[INFO]:    Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sqlite3', 'python3', 'genericndkbuild', 'setuptools', 'six', 'pyjnius', 'android']
[INFO]:    The requirements (eciespy) were not found as recipes, they will be installed with pip.
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/hostpython3
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    hostpython3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading libffi
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/libffi
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    libffi download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading openssl
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/openssl
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    openssl download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading sqlite3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/sqlite3
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    sqlite3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading python3
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/python3
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    python3 download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading genericndkbuild
[INFO]:    Skipping genericndkbuild download as no URL is set
[INFO]:    Downloading setuptools
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/setuptools
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    setuptools download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading six
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/six
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    six download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading pyjnius
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/packages/pyjnius
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    pyjnius download already cached, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Downloading android
[INFO]:    Skipping android download as no URL is set
[INFO]:    # Building all recipes for arch arm64-v8a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3 for arm64-v8a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]:    hostpython3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking libffi for arm64-v8a
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_21
[INFO]:    libffi is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking openssl for arm64-v8a
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/openssl/arm64-v8a__ndk_target_21
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking sqlite3 for arm64-v8a
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/sqlite3/arm64-v8a__ndk_target_21
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking python3 for arm64-v8a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/python3/arm64-v8a__ndk_target_21
[INFO]:    python3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking genericndkbuild for arm64-v8a
[INFO]:    Skipping genericndkbuild unpack as no URL is set
[INFO]:    Unpacking setuptools for arm64-v8a
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/setuptools/arm64-v8a__ndk_target_21
[INFO]:    setuptools is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking six for arm64-v8a
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/six/arm64-v8a__ndk_target_21
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking pyjnius for arm64-v8a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/arm64-v8a__ndk_target_21
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    -> running cp -a /home/lekshman/.venv/lib...(and 185 more)
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython3 for arm64-v8a
[INFO]:    hostpython3 has no prebuild_arm64_v8a, skipping
[INFO]:    Applying patches for hostpython3[arm64-v8a]
[INFO]:    hostpython3 already patched, skipping
[INFO]:    Prebuilding libffi for arm64-v8a
[INFO]:    libffi has no prebuild_arm64_v8a, skipping
[INFO]:    Applying patches for libffi[arm64-v8a]
[INFO]:    libffi already patched, skipping
[INFO]:    Prebuilding openssl for arm64-v8a
[INFO]:    openssl has no prebuild_arm64_v8a, skipping
[INFO]:    Prebuilding sqlite3 for arm64-v8a
[INFO]:    sqlite3 has no prebuild_arm64_v8a, skipping
[INFO]:    Prebuilding python3 for arm64-v8a
[INFO]:    python3 has no prebuild_arm64_v8a, skipping
[INFO]:    Applying patches for python3[arm64-v8a]
[INFO]:    python3 already patched, skipping
[INFO]:    Prebuilding genericndkbuild for arm64-v8a
[INFO]:    genericndkbuild has no prebuild_arm64_v8a, skipping
[INFO]:    Prebuilding setuptools for arm64-v8a
[INFO]:    setuptools has no prebuild_arm64_v8a, skipping
[INFO]:    Prebuilding six for arm64-v8a
[INFO]:    six has no prebuild_arm64_v8a, skipping
[INFO]:    Prebuilding pyjnius for arm64-v8a
[INFO]:    pyjnius has no prebuild_arm64_v8a, skipping
[INFO]:    Applying patches for pyjnius[arm64-v8a]
[INFO]:    pyjnius already patched, skipping
[INFO]:    Prebuilding android for arm64-v8a
[INFO]:    android has no prebuild_arm64_v8a, skipping
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/android-genericndkbuild/arm64-v8a__ndk_target_21/android
[INFO]:    <- directory context /home/lekshman
[INFO]:    # Building recipes
[INFO]:    Building hostpython3 for arm64-v8a
[INFO]:    hostpython3 said it is already built, skipping
[INFO]:    Building libffi for arm64-v8a
[INFO]:    libffi said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 180 more)
[INFO]:    Building openssl for arm64-v8a
[INFO]:    openssl said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 308 more)
[INFO]:    Building sqlite3 for arm64-v8a
[INFO]:    sqlite3 said it is already built, skipping
[INFO]:    Building python3 for arm64-v8a
[INFO]:    python3 said it is already built, skipping
[INFO]:    Building genericndkbuild for arm64-v8a
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/bootstrap_builds/service_only/jni
[INFO]:    -> running ndk-build V=1
[INFO]:    <- directory context /home/lekshman
[INFO]:    Building setuptools for arm64-v8a
[INFO]:    Python package already exists in site-packages
[INFO]:    setuptools said it is already built, skipping
[INFO]:    Building six for arm64-v8a
[INFO]:    Python package already exists in site-packages
[INFO]:    six said it is already built, skipping
[INFO]:    Building pyjnius for arm64-v8a
[INFO]:    Python package already exists in site-packages
[INFO]:    pyjnius said it is already built, skipping
[INFO]:    Building android for arm64-v8a
[INFO]:    Python package already exists in site-packages
[INFO]:    android said it is already built, skipping
[INFO]:    # Biglinking object files
[WARNING]: Context's python recipe found, skipping biglink (will this work?)
[INFO]:    # Postbuilding recipes
[INFO]:    Postbuilding hostpython3 for arm64-v8a
[INFO]:    Postbuilding libffi for arm64-v8a
[INFO]:    Postbuilding openssl for arm64-v8a
[INFO]:    Postbuilding sqlite3 for arm64-v8a
[INFO]:    Postbuilding python3 for arm64-v8a
[INFO]:    Postbuilding genericndkbuild for arm64-v8a
[INFO]:    Postbuilding setuptools for arm64-v8a
[INFO]:    Postbuilding six for arm64-v8a
[INFO]:    Postbuilding pyjnius for arm64-v8a
[INFO]:    Copying pyjnius java class to classes build dir
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/arm64-v8a__ndk_target_21/pyjnius
[INFO]:    -> running cp -a jnius/src/org /home/leks...(and 61 more)
[INFO]:    <- directory context /home/lekshman
[INFO]:    Postbuilding android for arm64-v8a
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]:    hostpython3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking libffi for armeabi-v7a
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/libffi/armeabi-v7a__ndk_target_21
[INFO]:    libffi is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking openssl for armeabi-v7a
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/openssl/armeabi-v7a__ndk_target_21
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking sqlite3 for armeabi-v7a
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking python3 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/python3/armeabi-v7a__ndk_target_21
[INFO]:    python3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking genericndkbuild for armeabi-v7a
[INFO]:    Skipping genericndkbuild unpack as no URL is set
[INFO]:    Unpacking setuptools for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/setuptools/armeabi-v7a__ndk_target_21
[INFO]:    setuptools is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/six/armeabi-v7a__ndk_target_21
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/armeabi-v7a__ndk_target_21
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    -> running cp -a /home/lekshman/.venv/lib...(and 187 more)
[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]:    hostpython3 already patched, skipping
[INFO]:    Prebuilding libffi for armeabi-v7a
[INFO]:    libffi has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for libffi[armeabi-v7a]
[INFO]:    libffi already patched, skipping
[INFO]:    Prebuilding openssl for armeabi-v7a
[INFO]:    openssl 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]:    python3 already patched, skipping
[INFO]:    Prebuilding genericndkbuild for armeabi-v7a
[INFO]:    genericndkbuild 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]:    pyjnius already patched, skipping
[INFO]:    Prebuilding android for armeabi-v7a
[INFO]:    android has no prebuild_armeabi_v7a, skipping
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/android-genericndkbuild/armeabi-v7a__ndk_target_21/android
[INFO]:    <- directory context /home/lekshman
[INFO]:    # Building recipes
[INFO]:    Building hostpython3 for armeabi-v7a
[INFO]:    hostpython3 said it is already built, skipping
[INFO]:    Building libffi for armeabi-v7a
[INFO]:    libffi said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 184 more)
[INFO]:    Building openssl for armeabi-v7a
[INFO]:    openssl said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 314 more)
[INFO]:    Building sqlite3 for armeabi-v7a
[INFO]:    sqlite3 said it is already built, skipping
[INFO]:    Building python3 for armeabi-v7a
[INFO]:    python3 said it is already built, skipping
[INFO]:    Building genericndkbuild for armeabi-v7a
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/bootstrap_builds/service_only/jni
[INFO]:    -> running ndk-build V=1
[INFO]:    <- directory context /home/lekshman
[INFO]:    Building setuptools for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    setuptools said it is already built, skipping
[INFO]:    Building six for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    six said it is already built, skipping
[INFO]:    Building pyjnius for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    pyjnius said it is already built, skipping
[INFO]:    Building android for armeabi-v7a
[INFO]:    Python package already exists in site-packages
[INFO]:    android said it is already built, skipping
[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 openssl for armeabi-v7a
[INFO]:    Postbuilding sqlite3 for armeabi-v7a
[INFO]:    Postbuilding python3 for armeabi-v7a
[INFO]:    Postbuilding genericndkbuild 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/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/armeabi-v7a__ndk_target_21/pyjnius
[INFO]:    -> running cp -a jnius/src/org /home/leks...(and 61 more)
[INFO]:    <- directory context /home/lekshman
[INFO]:    Postbuilding android for armeabi-v7a
[INFO]:    # Building all recipes for arch x86_64
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython3 for x86_64
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/hostpython3/desktop
[INFO]:    hostpython3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking libffi for x86_64
[INFO]:    -> running basename https://github.com/lib...(and 32 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/libffi/x86_64__ndk_target_21
[INFO]:    libffi is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking openssl for x86_64
[INFO]:    -> running basename https://www.openssl.or...(and 30 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/openssl/x86_64__ndk_target_21
[INFO]:    openssl is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking sqlite3 for x86_64
[INFO]:    -> running basename https://www.sqlite.org...(and 37 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/sqlite3/x86_64__ndk_target_21
[INFO]:    sqlite3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking python3 for x86_64
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/python3/x86_64__ndk_target_21
[INFO]:    python3 is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking genericndkbuild for x86_64
[INFO]:    Skipping genericndkbuild unpack as no URL is set
[INFO]:    Unpacking setuptools for x86_64
[INFO]:    -> running basename https://pypi.python.o...(and 56 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/setuptools/x86_64__ndk_target_21
[INFO]:    setuptools is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking six for x86_64
[INFO]:    -> running basename https://pypi.python.or...(and 41 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/six/x86_64__ndk_target_21
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    Unpacking pyjnius for x86_64
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/x86_64__ndk_target_21
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/lekshman
[INFO]:    -> running cp -a /home/lekshman/.venv/lib...(and 182 more)
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython3 for x86_64
[INFO]:    hostpython3 has no prebuild_x86_64, skipping
[INFO]:    Applying patches for hostpython3[x86_64]
[INFO]:    hostpython3 already patched, skipping
[INFO]:    Prebuilding libffi for x86_64
[INFO]:    libffi has no prebuild_x86_64, skipping
[INFO]:    Applying patches for libffi[x86_64]
[INFO]:    libffi already patched, skipping
[INFO]:    Prebuilding openssl for x86_64
[INFO]:    openssl has no prebuild_x86_64, skipping
[INFO]:    Prebuilding sqlite3 for x86_64
[INFO]:    sqlite3 has no prebuild_x86_64, skipping
[INFO]:    Prebuilding python3 for x86_64
[INFO]:    python3 has no prebuild_x86_64, skipping
[INFO]:    Applying patches for python3[x86_64]
[INFO]:    python3 already patched, skipping
[INFO]:    Prebuilding genericndkbuild for x86_64
[INFO]:    genericndkbuild has no prebuild_x86_64, skipping
[INFO]:    Prebuilding setuptools for x86_64
[INFO]:    setuptools has no prebuild_x86_64, skipping
[INFO]:    Prebuilding six for x86_64
[INFO]:    six has no prebuild_x86_64, skipping
[INFO]:    Prebuilding pyjnius for x86_64
[INFO]:    pyjnius has no prebuild_x86_64, skipping
[INFO]:    Applying patches for pyjnius[x86_64]
[INFO]:    pyjnius already patched, skipping
[INFO]:    Prebuilding android for x86_64
[INFO]:    android has no prebuild_x86_64, skipping
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/android-genericndkbuild/x86_64__ndk_target_21/android
[INFO]:    <- directory context /home/lekshman
[INFO]:    # Building recipes
[INFO]:    Building hostpython3 for x86_64
[INFO]:    hostpython3 said it is already built, skipping
[INFO]:    Building libffi for x86_64
[INFO]:    libffi said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 174 more)
[INFO]:    Building openssl for x86_64
[INFO]:    openssl said it is already built, skipping
[INFO]:    -> running cp /home/lekshman/.local/share...(and 299 more)
[INFO]:    Building sqlite3 for x86_64
[INFO]:    sqlite3 said it is already built, skipping
[INFO]:    Building python3 for x86_64
[INFO]:    python3 said it is already built, skipping
[INFO]:    Building genericndkbuild for x86_64
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/bootstrap_builds/service_only/jni
[INFO]:    -> running ndk-build V=1
[INFO]:    <- directory context /home/lekshman
[INFO]:    Building setuptools for x86_64
[INFO]:    Python package already exists in site-packages
[INFO]:    setuptools said it is already built, skipping
[INFO]:    Building six for x86_64
[INFO]:    Python package already exists in site-packages
[INFO]:    six said it is already built, skipping
[INFO]:    Building pyjnius for x86_64
[INFO]:    Python package already exists in site-packages
[INFO]:    pyjnius said it is already built, skipping
[INFO]:    Building android for x86_64
[INFO]:    Python package already exists in site-packages
[INFO]:    android said it is already built, skipping
[INFO]:    # Biglinking object files
[WARNING]: Context's python recipe found, skipping biglink (will this work?)
[INFO]:    # Postbuilding recipes
[INFO]:    Postbuilding hostpython3 for x86_64
[INFO]:    Postbuilding libffi for x86_64
[INFO]:    Postbuilding openssl for x86_64
[INFO]:    Postbuilding sqlite3 for x86_64
[INFO]:    Postbuilding python3 for x86_64
[INFO]:    Postbuilding genericndkbuild for x86_64
[INFO]:    Postbuilding setuptools for x86_64
[INFO]:    Postbuilding six for x86_64
[INFO]:    Postbuilding pyjnius for x86_64
[INFO]:    Copying pyjnius java class to classes build dir
[INFO]:    -> directory context /home/lekshman/.local/share/python-for-android/build/other_builds/pyjnius-genericndkbuild/x86_64__ndk_target_21/pyjnius
[INFO]:    -> running cp -a jnius/src/org /home/leks...(and 61 more)
[INFO]:    <- directory context /home/lekshman
[INFO]:    Postbuilding android for x86_64
[INFO]:    # Installing pure Python modules
[INFO]:    *** PYTHON PACKAGE / PROJECT INSTALL STAGE FOR ARCH: arm64-v8a ***
[INFO]:    The requirements (eciespy) 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]:    -> directory context /home/lekshman/.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/activat...(and 23 more)
[INFO]:    Install Cython in case one of the modules needs it to build
[INFO]:    -> running bash -c venv/bin/pip install Cython
           working: Could not fetch URL https://pypi.org/...(and 259 more) Exception in thread background thread for pid 79986:
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/bash -c 'venv/bin/pip install Cython'

  STDOUT:
Ignoring "sys._home = value" override
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
Could not fetch URL https://pypi.org/simple/cython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/cython/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
ERROR: No matching distribution found for Cython
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  STDERR:

Traceback (most recent call last):
  File "/home/lekshman/.venv/bin/p4a", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 685, in __init__
    getattr(self, command)(args)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 104, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/build.py", line 528, in build_recipes
    run_pymodules_install(
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/build.py", line 713, in run_pymodules_install
    shprint(sh.bash, '-c', (
  File "/home/lekshman/.venv/lib/python3.11/site-packages/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/lekshman/.venv/lib/python3.11/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/bash -c 'venv/bin/pip install Cython'

  STDOUT:
Ignoring "sys._home = value" override
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/cython/
Could not fetch URL https://pypi.org/simple/cython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/cython/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
ERROR: No matching distribution found for Cython
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  STDERR:

Latest update
p4a command with numpy completes successfully,
but with eciespy it failed with above posted error.

as I don't know what changes to be done to make it work, i replace current ecies with pure python implementation of ecies.


Implement Lunk 'falling'

 Issue by owalk
Friday Feb 10, 2023 at 01:12 GMT
Originally opened as https://github.com/Sean-Nishi/M1Wengine/issues/30

Add in a way for lunk to fall as defined in the spec sheet:
Player Movement
This might be through a 'falling' tile that when touched starts the falling function on Lunk.

 Comment by owalk
Thursday Jul 27, 2023 at 00:02 GMT

This issue will be graphics, get creative as a temporary solution and we can fix it up in another issue.


Rename test/widget to test/widgets to match the library

Thanks.  I've wanted to do this for a while but was afraid.


[choreo] Cache trajectories read from disk

I tested with adding this, it adds complexity and memory overhead semantics with little practical gain. I can reimplement it in java to benchmark if you want.


Nether/Ender Alloy treated as Tier II Material

Alloy Furnace with Ender Upgrade (10% for Tier II alloys to be duplicated) affects Ender Alloy and Nether Alloy in 1.20.1.
Randomly happened when swapping machines around and when thinking about it, they were never affected by Nether Upgrade in a different Alloy Furnace so far.
My assumption was that Nether / Ender Alloy would be Tier III (or not tiered at all), but thought to put it in here since at least in the Manual they are not part of the Tier II section.

Fixed in 4.2.0


no lib folder when imported via npm

All other libraries like lacone-phrase-datetime or lacone-phrase-number are compiling correctly automatically when npm install is done. Not this one. I can't see any error.
node 4.2.1 (I've also tried <IP_ADDRESS>)

Thanks. Fixed with https://github.com/lacona/lacona-phrase-string/commit/ee1b5ff4c0d03ddd809812d857444d40e8234694. Sorry about that.


ix bug?

Code Sample, a copy-pastable example if possible
dat_train, dat_test = train_test_split(dat, test_size=0.3, random_state=110)
dat_train[features] = dat_train[features].values  # SettingWithCopyWarning
dat[features] = dat[features].values  # right

dat_train = dat_train.ix[dat_train.index]
dat_train[features] = dat_train[features].values  # right !

output of pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.17.1
nose: 1.3.7
pip: 8.0.2
setuptools: 19.6.2
Cython: 0.23.4
numpy: 1.10.4
scipy: 0.17.0
statsmodels: 0.6.1
IPython: 4.0.3
sphinx: 1.3.1
patsy: 0.4.0
dateutil: 2.4.2
pytz: 2015.7
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.4.6
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 0.9.4
xlwt: 1.0.0
xlsxwriter: 0.8.4
lxml: 3.5.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.11
pymysql: None
psycopg2: None
Jinja2: 2.8

@syzhjjw It is not really clear what you are reporting here. Is it the problem that there is a SettingWithCopyWarning raised?
If so, it is quite possible this is correct to raise in that case.
Can you please provide a reproducible example?