Skip to content

Patch is not being applied. #3185

Closed as not planned
Closed as not planned

Description

@kmedya-dev

STDOUT:
patching file pyproject.toml
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file pyproject.toml.rej
STDERR:
[INFO]: STDOUT:
patching file pyproject.toml
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file pyproject.toml.rej
[INFO]: STDERR:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1246, in
main()
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 677, in init
getattr(self, command)(args)
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 497, in build_recipes/
recipe.apply_patches(arch)
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 573, in apply_patches
self.apply_patch(
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 290, in apply_patch
shprint(sh.patch, "-t", "-d", build_dir, "-p1",
File "/home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/sh.py", line 879, in next
self.wait()
File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/sh.py", line 796, in wait
self.handle_command_exit_code(exit_code)
File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/bin/patch -t -d /home/runner/work/browser/browser/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/pyjnius-sdl2/arm64-v8a__ndk_target_24/pyjnius -p1 -i /home/runner/work/browser/browser/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/pyjnius/cython_version_pin.patch
STDOUT:
patching file pyproject.toml
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file pyproject.toml.rej

Activity

  1. github-actions commented on Aug 19, 2025

    @github-actions

    👋 @kmedya-dev,
    Sorry to hear you are having difficulties with Kivy's python-for-android; Kivy unites a number of different technologies, so building apps can be temperamental.
    We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to python-for-android.
    However, this issue appears to be a support request. Please use our support channels to get help with the project.
    If you're having trouble installing python-for-android, please see our quickstart guide.
    If you're having trouble using python-for-android, please see our troubleshooting guide and FAQ.
    Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions