Skip to content

Missing recipe for readline #2787

@QGB

Description

@QGB
[INFO]:    *** PYTHON PACKAGE / PROJECT INSTALL STAGE FOR ARCH: armeabi-v7a ***
[INFO]:    The requirements (ipython, python-dateutil, readline) 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/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build
[INFO]:    -> running python3 -m venv venv
[INFO]:    Upgrade pip to latest version
[INFO]:    -> running bash -c source venv/bin/activate && pip install -U pip
[INFO]:    Install Cython in case one of the modules needs it to build
[INFO]:    -> running bash -c venv/bin/pip install Cython
[INFO]:    Creating a requirements.txt file for the Python modules
[INFO]:    Installing Python modules with pip
[INFO]:    IF THIS FAILS, THE MODULES MAY NEED A RECIPE. A reason for this is often modules compiling native code that is unaware of Android cross-compilation and does not work without
additional changes / workarounds.
[INFO]:    -> running bash -c venv/bin/pip install -v --target '/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/python-i...(and 54 more)
           working:                                                                                                                                                                 Excep
tion in thread background thread for pid 15517:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 1637, in wrap
    fn(*rgs, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 2561, in background_thread
    handle_exit_code(exit_code)
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 2265, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 865, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/bash -c 'venv/bin/pip install -v --target '"'"'/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a'"'"'
--no-deps -r requirements.txt'

  STDOUT:
Ignoring "sys._home = value" override
Using pip 23.1.2 from /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/venv/lib/python3.9/site-packages/pip (python 3.9)
Collecting ipython (from -r requirements.txt (line 1))
  Using cached ipython-8.13.1-py3-none-any.whl (797 kB)
Collecting python-dateutil (from -r requirements.txt (line 2))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  Link requires a different Python (3.9.9 not in: '<3.4'): https://files.pythonhosted.org/packages/38/ae/946d64a37437c3f99c72ebb11db4d399352df75526f01f7f5f3bb5f80c23/readline-6.2.4.2.ta
r.gz (from https://pypi.org/simple/readline/) (requires-python:<3.4)
Collecting readline (from -r requirements.txt (line 3))
  Downloading readline-6.2.4.1.tar.gz (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 27.0 kB/s eta 0:00:00
  Running command pip subprocess to install build dependencies
  Ignoring "sys._home = value" override
  Collecting setuptools>=40.8.0
    Downloading setuptools-67.7.2-py3-none-any.whl (1.1 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 27.1 kB/s eta 0:00:00
  Collecting wheel
    Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 22.6 kB/s eta 0:00:00
  Installing collected packages: wheel, setuptools
  Successfully installed setuptools-67.7.2 wheel-0.40.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Ignoring "sys._home = value" override
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running egg_info
  writing readline.egg-info/PKG-INFO
  writing dependency_links to readline.egg-info/dependency_links.txt
  writing top-level names to readline.egg-info/top_level.txt
  reading manifest file 'readline.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'readline.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  Ignoring "sys._home = value" override
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running dist_info
  creating /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info
  writing /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-kpl8q49b/readline-6.2.4.1.dist-info'
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: readline
  Running command Building wheel for readline (pyproject.toml)
  Ignoring "sys._home = value" override
  readline-6.2/
  readline-6.2/doc/
  readline-6.2/doc/Makefile.in
  readline-6.2/doc/texinfo.tex
  readline-6.2/doc/version.texi
  readline-6.2/doc/fdl.texi
  readline-6.2/doc/rlman.texi
  readline-6.2/doc/rltech.texi
  readline-6.2/doc/rluser.texi
  readline-6.2/doc/rluserman.texi
  readline-6.2/doc/history.texi
  readline-6.2/doc/hstech.texi
  readline-6.2/doc/hsuser.texi
  readline-6.2/doc/readline.3
  readline-6.2/doc/history.3
  readline-6.2/doc/texi2dvi
  readline-6.2/doc/texi2html
  readline-6.2/doc/readline.ps
  readline-6.2/doc/history.ps
  readline-6.2/doc/rluserman.ps
  readline-6.2/doc/readline.dvi
  readline-6.2/doc/history.dvi
  readline-6.2/doc/rluserman.dvi
  readline-6.2/doc/readline.info
  readline-6.2/doc/history.info
  readline-6.2/doc/rluserman.info
  readline-6.2/doc/readline.html
  readline-6.2/doc/history.html
  readline-6.2/doc/rluserman.html
  readline-6.2/doc/readline.0
  readline-6.2/doc/history.0
  readline-6.2/doc/readline_3.ps
  readline-6.2/doc/history_3.ps
  readline-6.2/doc/history.pdf
  readline-6.2/doc/readline.pdf
  readline-6.2/doc/rluserman.pdf
  readline-6.2/examples/
  readline-6.2/examples/autoconf/
  readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP
  readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION
  readline-6.2/examples/autoconf/wi_LIB_READLINE
  readline-6.2/examples/rlfe/
  readline-6.2/examples/rlfe/ChangeLog
  readline-6.2/examples/rlfe/Makefile.in
  readline-6.2/examples/rlfe/README
  readline-6.2/examples/rlfe/config.h.in
  readline-6.2/examples/rlfe/configure
  readline-6.2/examples/rlfe/configure.in
  readline-6.2/examples/rlfe/extern.h
  readline-6.2/examples/rlfe/os.h
  readline-6.2/examples/rlfe/pty.c
  readline-6.2/examples/rlfe/rlfe.c
  readline-6.2/examples/rlfe/screen.h
  readline-6.2/examples/Makefile.in
  readline-6.2/examples/excallback.c
  readline-6.2/examples/fileman.c
  readline-6.2/examples/manexamp.c
  readline-6.2/examples/readlinebuf.h
  readline-6.2/examples/rl-fgets.c
  readline-6.2/examples/rlcat.c
  readline-6.2/examples/rlevent.c
  readline-6.2/examples/rltest.c
  readline-6.2/examples/rl.c
  readline-6.2/examples/rlptytest.c
  readline-6.2/examples/rlversion.c
  readline-6.2/examples/histexamp.c
  readline-6.2/examples/Inputrc
  readline-6.2/examples/rlwrap-0.30.tar.gz
  readline-6.2/support/
  readline-6.2/support/config.guess
  readline-6.2/support/config.rpath
  readline-6.2/support/config.sub
  readline-6.2/support/install.sh
  readline-6.2/support/mkdirs
  readline-6.2/support/mkdist
  readline-6.2/support/mkinstalldirs
  readline-6.2/support/shobj-conf
  readline-6.2/support/shlib-install
  readline-6.2/support/wcwidth.c
  readline-6.2/shlib/
  readline-6.2/shlib/Makefile.in
  readline-6.2/COPYING
  readline-6.2/README
  readline-6.2/MANIFEST
  readline-6.2/INSTALL
  readline-6.2/CHANGELOG
  readline-6.2/CHANGES
  readline-6.2/NEWS
  readline-6.2/USAGE
  readline-6.2/aclocal.m4
  readline-6.2/config.h.in
  readline-6.2/configure
  readline-6.2/configure.in
  readline-6.2/Makefile.in
  readline-6.2/ansi_stdlib.h
  readline-6.2/chardefs.h
  readline-6.2/history.h
  readline-6.2/histlib.h
  readline-6.2/keymaps.h
  readline-6.2/posixdir.h
  readline-6.2/posixjmp.h
  readline-6.2/readline.h
  readline-6.2/posixselect.h
  readline-6.2/posixstat.h
  readline-6.2/rlconf.h
  readline-6.2/rldefs.h
  readline-6.2/rlmbutil.h
  readline-6.2/rlprivate.h
  readline-6.2/rlshell.h
  readline-6.2/rlstdc.h
  readline-6.2/rltty.h
  readline-6.2/rltypedefs.h
  readline-6.2/rlwinsize.h
  readline-6.2/tcap.h
  readline-6.2/tilde.h
  readline-6.2/xmalloc.h
  readline-6.2/bind.c
  readline-6.2/callback.c
  readline-6.2/compat.c
  readline-6.2/complete.c
  readline-6.2/display.c
  readline-6.2/emacs_keymap.c
  readline-6.2/funmap.c
  readline-6.2/input.c
  readline-6.2/isearch.c
  readline-6.2/keymaps.c
  readline-6.2/kill.c
  readline-6.2/macro.c
  readline-6.2/mbutil.c
  readline-6.2/misc.c
  readline-6.2/nls.c
  readline-6.2/parens.c
  readline-6.2/readline.c
  readline-6.2/rltty.c
  readline-6.2/savestring.c
  readline-6.2/search.c
  readline-6.2/shell.c
  readline-6.2/signals.c
  readline-6.2/terminal.c
  readline-6.2/text.c
  readline-6.2/tilde.c
  readline-6.2/undo.c
  readline-6.2/util.c
  readline-6.2/vi_keymap.c
  readline-6.2/vi_mode.c
  readline-6.2/xfree.c
  readline-6.2/xmalloc.c
  readline-6.2/history.c
  readline-6.2/histexpand.c
  readline-6.2/histfile.c
  readline-6.2/histsearch.c
  readline-6.2/patchlevel
  patching file vi_mode.c
  patching file callback.c
  patching file support/shobj-conf
  patching file patchlevel
  patching file input.c
  patching file patchlevel
  patching file vi_mode.c
  patching file patchlevel
  checking build system type... x86_64-unknown-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu

  Beginning configuration for readline-6.2 for x86_64-unknown-linux-gnu

  checking whether make -j32 sets $(MAKE)... yes
  checking for gcc... /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-f
rame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... configure: error: in `/tmp/pip-install-nocf9vbi/readline_ff12749b078b46f698936280c2de1518/rl/readline-lib':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.
  See `config.log' for more details.
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)

  ============ Building the readline library ============


  ============ Building the readline extension module ============

  running bdist_wheel
  running build
  running build_ext
  building 'readline' extension
  creating build
  creating build/temp.linux-x86_64-cpython-39
  creating build/temp.linux-x86_64-cpython-39/Modules
  creating build/temp.linux-x86_64-cpython-39/Modules/3.x
  /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=
armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a
 -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_t
arget_21/python3/Include -DANDROID -I/home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/user/KivyJniusBluetoothApp
/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a/include/python3.9 -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARAC
TER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/home/user/KivyJniusBluetoothApp/.buildoze
r/android/platform/build-armeabi-v7a/build/venv/include -I/usr/local/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-x86_64-cpython-39/Modules/3.x/readline.o -Wno-strict
-prototypes
  Modules/3.x/readline.c:842:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              char *s = _PyUnicode_AsString(r);
                    ^   ~~~~~~~~~~~~~~~~~~~~~~
  Modules/3.x/readline.c:1179:34: warning: incompatible function pointer types assigning to 'char *(*)(FILE *, FILE *, const char *)' (aka 'char *(*)(struct __sFILE *, struct __sFILE *,
 const char *)') from 'char *(FILE *, FILE *, char *)' (aka 'char *(struct __sFILE *, struct __sFILE *, char *)') [-Wincompatible-function-pointer-types]
      PyOS_ReadlineFunctionPointer = call_readline;
                                   ^ ~~~~~~~~~~~~~
  2 warnings generated.
  creating build/lib.linux-x86_64-cpython-39
  /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=
armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -shared -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/ble/armeabi-v7a -L/hom
e/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_target_21/python3/android-build -lpython3.9 -L/home
/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/ble/armeabi-v7a -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-arm
eabi-v7a/build/libs_collections/ble -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/armeabi-v7a -target armv7a-lin
ux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/ot
her_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -I/home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sy
sroot/usr/include -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a/include/python3.9 build/temp.linux-x86_64-cpytho
n-39/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-x86_64-cpython-39/readline.cpython-39-x86_64-linux-gnu.so
  clang-14: error: no such file or directory: 'readline/libreadline.a'
  clang-14: error: no such file or directory: 'readline/libhistory.a'
  error: command '/usr/bin/ccache' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for readline (pyproject.toml) 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.
  full command: /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/python /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-a
rmeabi-v7a/build/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmp_2evzowy
  cwd: /tmp/pip-install-nocf9vbi/readline_ff12749b078b46f698936280c2de1518
  Building wheel for readline (pyproject.toml) ... error
  ERROR: Failed building wheel for readline
Failed to build readline
ERROR: Could not build wheels for readline, which is required to install pyproject.toml-based projects


  STDERR:

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1316, in <module>
    main()
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 737, in __init__
    getattr(self, command)(args)
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 528, in build_recipes
    run_pymodules_install(
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 757, in run_pymodules_install
    shprint(sh.bash, '-c', (
  File "/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 169, in shprint
    for line in output:
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 911, in next
    self.wait()
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 841, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 865, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/bash -c 'venv/bin/pip install -v --target '"'"'/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a'"'"'
--no-deps -r requirements.txt'

  STDOUT:
Ignoring "sys._home = value" override
Using pip 23.1.2 from /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/venv/lib/python3.9/site-packages/pip (python 3.9)
Collecting ipython (from -r requirements.txt (line 1))
  Using cached ipython-8.13.1-py3-none-any.whl (797 kB)
Collecting python-dateutil (from -r requirements.txt (line 2))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  Link requires a different Python (3.9.9 not in: '<3.4'): https://files.pythonhosted.org/packages/38/ae/946d64a37437c3f99c72ebb11db4d399352df75526f01f7f5f3bb5f80c23/readline-6.2.4.2.ta
r.gz (from https://pypi.org/simple/readline/) (requires-python:<3.4)
Collecting readline (from -r requirements.txt (line 3))
  Downloading readline-6.2.4.1.tar.gz (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 27.0 kB/s eta 0:00:00
  Running command pip subprocess to install build dependencies
  Ignoring "sys._home = value" override
  Collecting setuptools>=40.8.0
    Downloading setuptools-67.7.2-py3-none-any.whl (1.1 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 27.1 kB/s eta 0:00:00
  Collecting wheel
    Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 22.6 kB/s eta 0:00:00
  Installing collected packages: wheel, setuptools
  Successfully installed setuptools-67.7.2 wheel-0.40.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Ignoring "sys._home = value" override
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running egg_info
  writing readline.egg-info/PKG-INFO
  writing dependency_links to readline.egg-info/dependency_links.txt
  writing top-level names to readline.egg-info/top_level.txt
  reading manifest file 'readline.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'readline.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  Ignoring "sys._home = value" override
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running dist_info
  creating /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info
  writing /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file '/tmp/pip-modern-metadata-kpl8q49b/readline.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-kpl8q49b/readline-6.2.4.1.dist-info'
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: readline
  Running command Building wheel for readline (pyproject.toml)
  Ignoring "sys._home = value" override
  readline-6.2/
  readline-6.2/doc/
  readline-6.2/doc/Makefile.in
  readline-6.2/doc/texinfo.tex
  readline-6.2/doc/version.texi
  readline-6.2/doc/fdl.texi
  readline-6.2/doc/rlman.texi
  readline-6.2/doc/rltech.texi
  readline-6.2/doc/rluser.texi
  readline-6.2/doc/rluserman.texi
  readline-6.2/doc/history.texi
  readline-6.2/doc/hstech.texi
  readline-6.2/doc/hsuser.texi
  readline-6.2/doc/readline.3
  readline-6.2/doc/history.3
  readline-6.2/doc/texi2dvi
  readline-6.2/doc/texi2html
  readline-6.2/doc/readline.ps
  readline-6.2/doc/history.ps
  readline-6.2/doc/rluserman.ps
  readline-6.2/doc/readline.dvi
  readline-6.2/doc/history.dvi
  readline-6.2/doc/rluserman.dvi
  readline-6.2/doc/readline.info
  readline-6.2/doc/history.info
  readline-6.2/doc/rluserman.info
  readline-6.2/doc/readline.html
  readline-6.2/doc/history.html
  readline-6.2/doc/rluserman.html
  readline-6.2/doc/readline.0
  readline-6.2/doc/history.0
  readline-6.2/doc/readline_3.ps
  readline-6.2/doc/history_3.ps
  readline-6.2/doc/history.pdf
  readline-6.2/doc/readline.pdf
  readline-6.2/doc/rluserman.pdf
  readline-6.2/examples/
  readline-6.2/examples/autoconf/
  readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP
  readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION
  readline-6.2/examples/autoconf/wi_LIB_READLINE
  readline-6.2/examples/rlfe/
  readline-6.2/examples/rlfe/ChangeLog
  readline-6.2/examples/rlfe/Makefile.in
  readline-6.2/examples/rlfe/README
  readline-6.2/examples/rlfe/config.h.in
  readline-6.2/examples/rlfe/configure
  readline-6.2/examples/rlfe/configure.in
  readline-6.2/examples/rlfe/extern.h
  readline-6.2/examples/rlfe/os.h
  readline-6.2/examples/rlfe/pty.c
  readline-6.2/examples/rlfe/rlfe.c
  readline-6.2/examples/rlfe/screen.h
  readline-6.2/examples/Makefile.in
  readline-6.2/examples/excallback.c
  readline-6.2/examples/fileman.c
  readline-6.2/examples/manexamp.c
  readline-6.2/examples/readlinebuf.h
  readline-6.2/examples/rl-fgets.c
  readline-6.2/examples/rlcat.c
  readline-6.2/examples/rlevent.c
  readline-6.2/examples/rltest.c
  readline-6.2/examples/rl.c
  readline-6.2/examples/rlptytest.c
  readline-6.2/examples/rlversion.c
  readline-6.2/examples/histexamp.c
  readline-6.2/examples/Inputrc
  readline-6.2/examples/rlwrap-0.30.tar.gz
  readline-6.2/support/
  readline-6.2/support/config.guess
  readline-6.2/support/config.rpath
  readline-6.2/support/config.sub
  readline-6.2/support/install.sh
  readline-6.2/support/mkdirs
  readline-6.2/support/mkdist
  readline-6.2/support/mkinstalldirs
  readline-6.2/support/shobj-conf
  readline-6.2/support/shlib-install
  readline-6.2/support/wcwidth.c
  readline-6.2/shlib/
  readline-6.2/shlib/Makefile.in
  readline-6.2/COPYING
  readline-6.2/README
  readline-6.2/MANIFEST
  readline-6.2/INSTALL
  readline-6.2/CHANGELOG
  readline-6.2/CHANGES
  readline-6.2/NEWS
  readline-6.2/USAGE
  readline-6.2/aclocal.m4
  readline-6.2/config.h.in
  readline-6.2/configure
  readline-6.2/configure.in
  readline-6.2/Makefile.in
  readline-6.2/ansi_stdlib.h
  readline-6.2/chardefs.h
  readline-6.2/history.h
  readline-6.2/histlib.h
  readline-6.2/keymaps.h
  readline-6.2/posixdir.h
  readline-6.2/posixjmp.h
  readline-6.2/readline.h
  readline-6.2/posixselect.h
  readline-6.2/posixstat.h
  readline-6.2/rlconf.h
  readline-6.2/rldefs.h
  readline-6.2/rlmbutil.h
  readline-6.2/rlprivate.h
  readline-6.2/rlshell.h
  readline-6.2/rlstdc.h
  readline-6.2/rltty.h
  readline-6.2/rltypedefs.h
  readline-6.2/rlwinsize.h
  readline-6.2/tcap.h
  readline-6.2/tilde.h
  readline-6.2/xmalloc.h
  readline-6.2/bind.c
  readline-6.2/callback.c
  readline-6.2/compat.c
  readline-6.2/complete.c
  readline-6.2/display.c
  readline-6.2/emacs_keymap.c
  readline-6.2/funmap.c
  readline-6.2/input.c
  readline-6.2/isearch.c
  readline-6.2/keymaps.c
  readline-6.2/kill.c
  readline-6.2/macro.c
  readline-6.2/mbutil.c
  readline-6.2/misc.c
  readline-6.2/nls.c
  readline-6.2/parens.c
  readline-6.2/readline.c
  readline-6.2/rltty.c
  readline-6.2/savestring.c
  readline-6.2/search.c
  readline-6.2/shell.c
  readline-6.2/signals.c
  readline-6.2/terminal.c
  readline-6.2/text.c
  readline-6.2/tilde.c
  readline-6.2/undo.c
  readline-6.2/util.c
  readline-6.2/vi_keymap.c
  readline-6.2/vi_mode.c
  readline-6.2/xfree.c
  readline-6.2/xmalloc.c
  readline-6.2/history.c
  readline-6.2/histexpand.c
  readline-6.2/histfile.c
  readline-6.2/histsearch.c
  readline-6.2/patchlevel
  patching file vi_mode.c
  patching file callback.c
  patching file support/shobj-conf
  patching file patchlevel
  patching file input.c
  patching file patchlevel
  patching file vi_mode.c
  patching file patchlevel
  checking build system type... x86_64-unknown-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu

  Beginning configuration for readline-6.2 for x86_64-unknown-linux-gnu

  checking whether make -j32 sets $(MAKE)... yes
  checking for gcc... /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-f
rame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... configure: error: in `/tmp/pip-install-nocf9vbi/readline_ff12749b078b46f698936280c2de1518/rl/readline-lib':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.
  See `config.log' for more details.
  /tmp/pip-build-env-6poh_uuu/overlay/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)

  ============ Building the readline library ============


  ============ Building the readline extension module ============

  running bdist_wheel
  running build
  running build_ext
  building 'readline' extension
  creating build
  creating build/temp.linux-x86_64-cpython-39
  creating build/temp.linux-x86_64-cpython-39/Modules
  creating build/temp.linux-x86_64-cpython-39/Modules/3.x
  /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=
armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a
 -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_t
arget_21/python3/Include -DANDROID -I/home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/user/KivyJniusBluetoothApp
/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a/include/python3.9 -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARAC
TER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/home/user/KivyJniusBluetoothApp/.buildoze
r/android/platform/build-armeabi-v7a/build/venv/include -I/usr/local/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-x86_64-cpython-39/Modules/3.x/readline.o -Wno-strict
-prototypes
  Modules/3.x/readline.c:842:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              char *s = _PyUnicode_AsString(r);
                    ^   ~~~~~~~~~~~~~~~~~~~~~~
  Modules/3.x/readline.c:1179:34: warning: incompatible function pointer types assigning to 'char *(*)(FILE *, FILE *, const char *)' (aka 'char *(*)(struct __sFILE *, struct __sFILE *,
 const char *)') from 'char *(FILE *, FILE *, char *)' (aka 'char *(struct __sFILE *, struct __sFILE *, char *)') [-Wincompatible-function-pointer-types]
      PyOS_ReadlineFunctionPointer = call_readline;
                                   ^ ~~~~~~~~~~~~~
  2 warnings generated.
  creating build/lib.linux-x86_64-cpython-39
  /usr/bin/ccache /home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=
armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -shared -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/ble/armeabi-v7a -L/hom
e/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_target_21/python3/android-build -lpython3.9 -L/home
/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/ble/armeabi-v7a -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-arm
eabi-v7a/build/libs_collections/ble -L/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/armeabi-v7a -target armv7a-lin
ux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/ot
her_builds/python3-libbz2-liblzma/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -I/home/user/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sy
sroot/usr/include -I/home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/ble/armeabi-v7a/include/python3.9 build/temp.linux-x86_64-cpytho
n-39/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-x86_64-cpython-39/readline.cpython-39-x86_64-linux-gnu.so
  clang-14: error: no such file or directory: 'readline/libreadline.a'
  clang-14: error: no such file or directory: 'readline/libhistory.a'
  error: command '/usr/bin/ccache' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for readline (pyproject.toml) 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.
  full command: /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/python /home/user/KivyJniusBluetoothApp/.buildozer/android/platform/build-a
rmeabi-v7a/build/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmp_2evzowy
  cwd: /tmp/pip-install-nocf9vbi/readline_ff12749b078b46f698936280c2de1518
  Building wheel for readline (pyproject.toml) ... error
  ERROR: Failed building wheel for readline
Failed to build readline
ERROR: Could not build wheels for readline, which is required to install pyproject.toml-based projects

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions