Skip to content

Patch is not being applied. #3185

@kmedya-dev

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

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