While building buildozer + kivy I get an error: "No file to patch. Skipping patch. 1 out of 1 hunk ignored"

This page summarizes the projects mentioned and recommended in the original post on /r/kivy

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • plyer

    Plyer is a platform-independent Python wrapper for platform-dependent APIs (by HyTurtle)

  • [INFO]: <- directory context /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android [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]: Applying patch patches/pyconfig_detection.patch [DEBUG]: -> running patch -t -d /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3 -p1 -i /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch [DEBUG]: (Stripping trailing CRs from patch; use --binary to disable.) [DEBUG]: can't find file to patch at input line 4 [DEBUG]: Perhaps you used the wrong -p or --strip option? [DEBUG]: The text leading up to this was: [DEBUG]: -------------------------- [DEBUG]: |diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py [DEBUG]: |--- Python-3.8.2/Lib/site.py 2020-04-28 12:48:38.000000000 -0700 [DEBUG]: |+++ Python-3.8.2-new/Lib/site.py 2020-04-28 12:52:46.000000000 -0700 [DEBUG]: -------------------------- [DEBUG]: No file to patch. Skipping patch. [DEBUG]: 1 out of 1 hunk ignored Exception in thread background thread for pid 10914: Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap fn(*rgs, **kwargs) File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread handle_exit_code(exit_code) File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn return self.command.handle_command_exit_code(exit_code) File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /usr/bin/patch -t -d /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3 -p1 -i /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch STDOUT: (Stripping trailing CRs from patch; use --binary to disable.) can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py |--- Python-3.8.2/Lib/site.py 2020-04-28 12:48:38.000000000 -0700 |+++ Python-3.8.2-new/Lib/site.py 2020-04-28 12:52:46.000000000 -0700 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored STDERR: [INFO]: STDOUT (last 10 lines of 11): can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py |--- Python-3.8.2/Lib/site.py 2020-04-28 12:48:38.000000000 -0700 |+++ Python-3.8.2-new/Lib/site.py 2020-04-28 12:52:46.000000000 -0700 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored [INFO]: STDERR: Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1312, in main() File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main ToolchainCL() File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 734, in __init__ getattr(self, command)(args) File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func build_dist_from_args(ctx, dist, args) File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.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/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 497, in build_recipes recipe.apply_patches(arch) File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 532, in apply_patches self.apply_patch( File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 249, in apply_patch shprint(sh.patch, "-t", "-d", build_dir, "-p1", File "/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint for line in output: File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 915, in next self.wait() File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 845, in wait self.handle_command_exit_code(exit_code) File "/home/killatonna/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /usr/bin/patch -t -d /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3 -p1 -i /home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/hostpython3/patches/pyconfig_detection.patch STDOUT: (Stripping trailing CRs from patch; use --binary to disable.) can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nru Python-3.8.2/Lib/site.py Python-3.8.2-new/Lib/site.py |--- Python-3.8.2/Lib/site.py 2020-04-28 12:48:38.000000000 -0700 |+++ Python-3.8.2-new/Lib/site.py 2020-04-28 12:52:46.000000000 -0700 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored STDERR: # Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=gpsapp', '--bootstrap=sdl2', '--requirements=python3,kivy,mapview,plyer,requests,android,configs,pyjnius,psycopg2,pymysql,jnius,https://github.com/HyTurtle/plyer/archive/master.zip', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug'] # ENVIRONMENT: # SHELL = '/bin/bash' # __EGL_VENDOR_LIBRARY_DIRS = '/usr/lib/x86_64-linux-gnu/dri:/usr/lib/i386-linux-gnu/dri' # LIBGL_ALWAYS_INDIRECT = '1' # WSL2_GUI_APPS_ENABLED = '1' # WSL_DISTRO_NAME = 'Ubuntu' # JAVA_HOME = '/usr/lib/jvm/java-17-openjdk-amd64' # NAME = 'Sergei-DESKTOP' # PWD = '/home/killatonna/Python_Projects/Python_GPS_Tracker_2' # LOGNAME = 'killatonna' # HOME = '/home/killatonna' # LANG = 'C.UTF-8' # WSL_INTEROP = '/run/WSL/5371_interop' # LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' # VIRTUAL_ENV = '/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.venv' # WAYLAND_DISPLAY = 'wayland-0' # LESSCLOSE = '/usr/bin/lesspipe %s %s' # TERM = 'xterm-256color' # LESSOPEN = '| /usr/bin/lesspipe %s' # USER = 'killatonna' # DISPLAY = '172.30.64.1:0.0' # SHLVL = '1' # LIBGL_DRIVERS_PATH = '/usr/lib/x86_64-linux-gnu/dri:/usr/lib/i386-linux-gnu/dri' # VIRTUAL_ENV_PROMPT = '(.venv) ' # LD_LIBRARY_PATH = '/usr/lib/x86_64-linux-gnu:/path/to/mpfr:/path/to/gmp:/path/to/mpc:' # XDG_RUNTIME_DIR = '/run/user/1000/' # PS1 = ('(.venv) \\[\\e]0;\\u@\\h: ' '\\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ') # LIBVA_DRIVERS_PATH = '/usr/lib/x86_64-linux-gnu/dri:/usr/lib/i386-linux-gnu/dri' # WSLENV = '' # XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop' # PATH = ('/home/killatonna/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/killatonna/.local/bin:/home/killatonna/.local/bin:/home/killatonna/Python_Projects/Python_GPS_Tracker_2/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program ' 'Files/Python311/Scripts/:/mnt/c/Program Files/Python311/:/mnt/c/Program ' 'Files/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common ' 'Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program ' 'Files/Java/jdk-16:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files ' '(x86)/AMD/ATI.ACE/Core-Static:/mnt/c/Program Files/Git/cmd:/mnt/c/Program ' 'Files/PuTTY/:/mnt/c/Users/Sergei/AppData/Local/Programs/Python/Python39/Scripts/:/mnt/c/Users/Sergei/AppData/Local/Programs/Python/Python39/:/mnt/c/Users/Sergei/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program ' 'Files/JetBrains/PyCharm Community Edition ' '2022.3.2/bin:/mnt/c/Users/Sergei/AppData/Local/Programs/Microsoft VS Code ' 'Insiders/bin:/mnt/c/Users/Sergei/AppData/Local/Programs/Microsoft VS ' 'Code/bin:/snap/bin:/opt/android-ndk:/home/killatonna/.local/bin/:/home/killatonna/.poetry/bin') # DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus' # HOSTTYPE = 'x86_64' # PULSE_SERVER = 'unix:/mnt/wslg/PulseServer' # _ = '/home/killatonna/.local/bin/buildozer' # PACKAGES_PATH = '/home/killatonna/.buildozer/android/packages' # ANDROIDSDK = '/home/killatonna/.buildozer/android/platform/android-sdk' # ANDROIDNDK = '/home/killatonna/.buildozer/android/platform/android-ndk-r25b' # ANDROIDAPI = '31' # ANDROIDMINAPI = '21' # # Buildozer failed to execute the last command # The error might be hidden in the log above this error # Please read the full log, and search for it before # raising an issue with buildozer itself. # In case of a bug report, please add a full log with log_level = 2

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The Birth of Parquet

    3 projects | news.ycombinator.com | 8 May 2024
  • Show HN: Exploring HN by mapping and analyzing 40M posts and comments for fun

    4 projects | news.ycombinator.com | 9 May 2024
  • Feedback on NanoDL: A library for building custom transformers from scratch

    1 project | news.ycombinator.com | 9 May 2024
  • Ruler: What's the Real Context Size of Your Long-Context Language Models?

    1 project | news.ycombinator.com | 9 May 2024
  • Show HN: Ellipsis – Automated PR reviews and bug fixes

    6 projects | news.ycombinator.com | 9 May 2024