Compiling vlc android : cannot find patch

VLC for Android and Chrome OS specific usage questions
sybarisfr
New Cone
New Cone
Posts: 7
Joined: 02 Dec 2019 22:02

Compiling vlc android : cannot find patch

Postby sybarisfr » 13 Dec 2019 04:29

Hi,

Following these instructions (https://wiki.videolan.org/AndroidCompile/), when I launch compile.sh, I have the following message :

./compile.sh
*** No ANDROID_ABI defined architecture: using ARMv7
VLC source: found sources, leaving untouched
VLC sources: Checking TESTED_HASH and patches presence
NOTE: checks can be bypass by adding '-b' option to this script.
Checking presence of patch ../libvlc/patches/vlc3/0001-compat-Workaround-sendmsg-bug-on-android.patch
Cannot find patch ../libvlc/patches/vlc3/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.


How to solve this ?

Thanks for advance
Regards
Sybaris

sybarisfr
New Cone
New Cone
Posts: 7
Joined: 02 Dec 2019 22:02

Re: Compiling vlc android : cannot find patch

Postby sybarisfr » 14 Dec 2019 07:47

Hi,

I have executed manually this command line (extracted from compile.sh):
git am --message-id ../libvlc/patches/vlc3/*.patch

Now I can launch compile.sh, but the result is not clear :
Many lines are written.
I don't see errors or success...
And I do not have any "vlc-android/build/outputs/" folder...
I do not found any apk file.

Regards
Sybaris

jym
New Cone
New Cone
Posts: 1
Joined: 02 Feb 2020 18:39

Re: Compiling vlc android : cannot find patch

Postby jym » 02 Feb 2020 19:15

Hi sybarisfr,

I got this problem today in a new Linux Debian Virtual Machine, but it was working in another linux machine.
From 'git config --list' command, 'core.autocrlf=input' only exists on the working machine.

Following steps fixed the problem:
- git config --global core.autocrlf input
- delete vlc-android directory
- reexecute git clone https://code.videolan.org/videolan/vlc-android.git

hope this can help you


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 20 guests