sh compile.sh failed since few day...

VLC for Android and Chrome OS specific usage questions
wcoder
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Mar 2014 12:56

sh compile.sh failed since few day...

Postby wcoder » 28 Jul 2014 12:25

Hi,

I previously put my post on bad forum sorry, so i repost it here...

Few days ago it's working...i re-test few minutes ago, and i have the same issue, v8 engine compile using same toolchain so it dont seems to be my dev env...

What i do:
1 - Create new folder and go to it
2 - git clone git://git.videolan.org/vlc-ports/android.git
3 - cd android
4 - sh compile.sh or sh compile.sh release <- both failed

I record my terminal activity and i extract this (i can send full dump if need) :
...
(cd speex-git && patch -fp1) < ../../contrib/src/speex/0001-Add-disable-binaries-option-to-build-only-the-librar.patch
patching file configure.ac
Hunk #1 FAILED at 109.
Hunk #2 FAILED at 339.
libxml2-2.9.1/testReader.c
libxml2-2.9.1/testRegexp.c
2 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej
libxml2-2.9.1/xstc/
libxml2-2.9.1/xstc/xstc.py
../../contrib/src/speex/rules.mak:25: recipe for target 'speex' failed
make: *** [speex] Error 1
make: *** Waiting for unfinished jobs....
...
I end on this :
...
(cd libxml2-2.9.1 && patch -fp1) < ../../contrib/src/libxml2/pthread.patch
patching file configure.in
Hunk #1 succeeded at 976 (offset 18 lines).
mv libxml2-2.9.1 libxml2 && touch libxml2

If i launch compile.sh more and more, it don't stop on the same script line, i try for than 10 times, it stop on different line each time... ?

Thanks for yourt help,

WCdr

DzungLeo
New Cone
New Cone
Posts: 4
Joined: 30 Jul 2014 10:58

Re: sh compile.sh failed since few day...

Postby DzungLeo » 30 Jul 2014 11:12

Very same situation here. I try to compile VLC for android on Ubuntu 14.04 64 bits. At first I thought the problem lies in NDK because I use the latest version (10). But when I switch to NDK revision 9 the result remained the same.

I have been struggling with this for a week. Any suggestion or help is greatly appreciated!

DzungLeo
New Cone
New Cone
Posts: 4
Joined: 30 Jul 2014 10:58

Re: sh compile.sh failed since few day...

Postby DzungLeo » 30 Jul 2014 11:53

Actually I was able to compile the apk file, but when running it crashed and the logcat said that

07-30 08:59:34.924: E/VLC/LibVLC(457): Can't load vlcjni library: java.lang.UnsatisfiedLinkError: Library vlcjni not found

It seems that the library needed was not built successfully.

DzungLeo
New Cone
New Cone
Posts: 4
Joined: 30 Jul 2014 10:58

Re: sh compile.sh failed since few day...

Postby DzungLeo » 30 Jul 2014 15:35

Actually the script ran without any error, so this was really confusing. Please help!

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: sh compile.sh failed since few day...

Postby edwardw » 30 Jul 2014 16:35

Take this patch and apply it to vlc/.

DzungLeo
New Cone
New Cone
Posts: 4
Joined: 30 Jul 2014 10:58

Re: sh compile.sh failed since few day...

Postby DzungLeo » 01 Aug 2014 12:15

I got this message when trying to apply the patch to vlc/

error: patch failed: contrib/src/speex/rules.mak:27
error: contrib/src/speex/rules.mak: patch does not apply

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: sh compile.sh failed since few day...

Postby edwardw » 01 Aug 2014 13:01

Git pull vlc; the patch was merged recently.

wcoder
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Mar 2014 12:56

Re: It compile but...

Postby wcoder » 01 Aug 2014 17:47

Hi,

I test on Friday 01 August 17h:10 - Paris :
- Compil : Debug mode - x86 - on Debian dev 32 bits.
- Target : Samsung ATIV 700T Celeron - AndroidX86 4.2.2.
- Player : Original from package + 3 libs ( eclipse 3.8 )

- Media : [H264 13Mbps + Dts].mkv => Java GUI ok (thumb is working too), but when i play video, i have sound with a black screen.
- Media : [H264 9Mbps + Ac3].mkv => Java part ok, but when i play video : Crash -> Unfortunately, a serious error occured and VLC had to close.....
=> I send the log using the button (17h38-17h30 - Paris time - 5:40 on the device on don't set it correctely)
=> Before the same video is working.

I made more test on androidX86 4.4-RC2, my two video test is working (just some green bloc on scene change on anim)...

If i can help you by testing your welcome ^_^

WCdr
Last edited by wcoder on 01 Aug 2014 18:17, edited 1 time in total.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: sh compile.sh failed since few day...

Postby edwardw » 01 Aug 2014 17:56



Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 6 guests