Skip to content

build error related to patches

when running vlc-android git:(fd958d259) ✗ buildsystem/compile.sh -l -r

I'm getting:

Checking presence of patch ../libvlcjni/libvlc/patches/0001-compat-Workaround-sendmsg-bug-on-android.patch
Cannot find patch ../libvlcjni/libvlc/patches/0001-compat-Workaround-sendmsg-bug-on-android.patch in tree, aborting.
There can be two reasons for that:
- you forgot to apply the patch on this tree, or
- you applied the patch without the 'git am --message-id ...' option.

when i try to apply the patches, i get:

libvlcjni git:(master) git am libvlc/patches/*.patch
Applying: compat: Workaround sendmsg bug on android
error: src/posix/filesystem.c: does not exist in index
Patch failed at 0001 compat: Workaround sendmsg bug on android
hint: Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Expected behavior

compile without error

Actual behavior

throws error

Steps to reproduce

  1. clone vlc-android
  2. run ./buildsystem/compile.sh -l -r
  3. see error

Context

App version

vlc-android, master branch, fd958d2596f681f299741fddadb712f29cbbb7dd, tag: 3.5.3