Page 1 of 1
Can't compile TVVLCKit Error message
Posted: 06 Feb 2016 12:51
by Supercorp
Hi, everyone. Since yesterday I try to compile TVVLCKit without any success. I tried at least 15 times with 2.7 and master.
I run ./buildMobileVLCKit.sh -t, then the same with -t -s
And this is what I get :
[info] Preparing build dirs
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://git.videolan.org/vlc
d9c9233..ce1325e master -> origin/master
First, rewinding head to replay your work on top of it...
Applying: arm_neon: added function macro to handle the underscore prefix for the iOS ARM ABI
Applying: progress dialog: add missing sanity check
Using index info to reconstruct a base tree...
M src/interface/dialog.c
Falling back to patching base and 3-way merge...
Auto-merging src/interface/dialog.c
CONFLICT (content): Merge conflict in src/interface/dialog.c
Failed to merge in the changes.
Patch failed at 0002 progress dialog: add missing sanity check
The copy of the patch that failed is found in:
/Users/pascalbeaujard/Developpement/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
Then I can't do nothing with.
Is anyone can help me please ?
Thanks.
Re: Can't compile TVVLCKit Error message
Posted: 07 Feb 2016 14:29
by Supercorp
I look at the patch 002 which failed. I can see what it done in the dialog.c. But I don't understand why and how to solve it. Please help...
Here is my local dialog.c :
int
vlc_dialog_update_progress_text_va(vlc_object_t *p_obj, vlc_dialog_id *p_id,
float f_value, const char *psz_fmt,
va_list ap)
{
assert(psz_fmt != NULL);
<<<<<<< f39ab66e9abe9f8256fb40b91ea2223fb6eb7cfb
char *psz_text;
if (vasprintf(&psz_text, psz_fmt, ap) == -1)
return VLC_ENOMEM;
return dialog_update_progress(p_obj, p_id, f_value, psz_text);
}
#undef vlc_dialog_update_progress_text
int
vlc_dialog_update_progress_text(vlc_object_t *p_obj, vlc_dialog_id *p_id,
float f_value, const char *psz_fmt, ...)
{
assert(psz_fmt != NULL);
va_list ap;
va_start(ap, psz_fmt);
int i_ret = vlc_dialog_update_progress_text_va(p_obj, p_id, f_value,
psz_fmt, ap);
va_end(ap);
return i_ret;
=======
if (dialog->pf_destroy != NULL)
{
dialog->pf_destroy (dialog->p_sys);
}
free (dialog);
>>>>>>> progress dialog: add missing sanity check
}
Re: Can't compile TVVLCKit Error message
Posted: 09 Feb 2016 22:59
by Supercorp
Really no one can help me ?
Please... I've tried so many times and now I feel desperate...
Re: Can't compile TVVLCKit Error message
Posted: 10 Feb 2016 19:21
by dfuhrmann
If this still fails with a clean checkout, you need to fix that patch conflict you are seeing here.
Re: Can't compile TVVLCKit Error message
Posted: 10 Feb 2016 19:43
by Supercorp
Thank you.
Yes it's still failed. I don't know how to fix it. Can you help me please? And after it is fixed how to relaunch the build ?
Thank you
Re: Can't compile TVVLCKit Error message
Posted: 11 Feb 2016 09:03
by fkuehne
You are on an unstable branch of a yet to be released framework, which is still under development. Sorry, those collisions can happen and we don't know when those will be resolved. Try to use the more stable 2.7 branch which we also deploy on our tvOS and iOS releases.
Re: Can't compile TVVLCKit Error message
Posted: 11 Feb 2016 10:15
by Supercorp
Thank you for answer.
I tried with 2.7 too and have the same problem
Re: Can't compile TVVLCKit Error message
Posted: 11 Feb 2016 21:50
by Supercorp
I've tried again this evening with 2.7.3 and nothing to do.
I've got always the same problem.
On December it worked fine and now I'm totally blocked.
Can someone tell me what to do to solve this problem ?
I need your help please.
Thanks
Re: Can't compile TVVLCKit Error message
Posted: 12 Feb 2016 20:01
by Supercorp
Sorry,
The problem appear with -t -s option when git pull --rebase is executed.
Here is what I've got :
git branch
* (no branch, rebasing localBranch)
localBranch
master
And in the rebasing localBranch I have all the last update so that the patched cannot be made.
I have no solution.
Re: Can't compile TVVLCKit Error message
Posted: 16 Feb 2016 22:13
by Supercorp
Ok for those who have the same problem, I just skip the -s option and add MobileVLCKit into a workspace. It just work.
Thanks.
Re: Can't compile TVVLCKit Error message
Posted: 24 Feb 2016 17:44
by ssbmaccom
Even it is different, but again build of TVVLCKit is broken again, looks it has to do with adding the bitcode option -b.
Anyway, since a few days I can't build TVVLCKit from a fresh repository. I get the following output:
Code: Select all
EsBit:vuplusTV ssb$ ./buildVLCKit.sh
Cloning into 'VLCKit'...
remote: Counting objects: 6697, done.
remote: Compressing objects: 100% (2421/2421), done.
remote: Total 6697 (delta 4744), reused 5645 (delta 4045)
Receiving objects: 100% (6697/6697), 1.91 MiB | 681.00 KiB/s, done.
Resolving deltas: 100% (4744/4744), done.
Checking connectivity... done.
[info] Preparing build dirs
Cloning into 'vlc'...
remote: Counting objects: 475059, done.
remote: Compressing objects: 100% (94465/94465), done.
remote: Total 475059 (delta 383244), reused 469061 (delta 378468)
Receiving objects: 100% (475059/475059), 250.24 MiB | 687.00 KiB/s, done.
Resolving deltas: 100% (383244/383244), done.
Checking connectivity... done.
Checking out files: 100% (3970/3970), done.
[info] Applying patches to vlc.git
Switched to a new branch 'localBranch'
Branch localBranch set up to track remote branch master from origin.
Applying: arm_neon: added function macro to handle the underscore prefix for the iOS ARM ABI
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:60: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: progress dialog: add missing sanity check
Applying: deinterlace/merge: use a macro to fix compilation for iOS
Applying: lib/media player: inherit deinterlace variable to achieve correct value on first use
Applying: arm_neon: work-around libtool issue
Applying: libvlc/media: re-parse if flags changed
Applying: arm_neon: fix iOS linking
Applying: disable neon volume plugin
Applying: contrib/gcrypt: work-around a libtool limitation
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:29: trailing whitespace.
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:31: trailing whitespace.
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:35: trailing whitespace.
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:41: trailing whitespace.
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:49: trailing whitespace.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
Applying: src/misc: fix compilation for OS without fork()
Applying: libvlc: hack to disable daemon mode
Applying: contrib/gcrypt: fix tvOS compilation
Applying: contrib/harfbuzz: fix iOS compilation when CoreText is enabled
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:17: space before tab in indent.
[with_coretext=no])
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:24: trailing whitespace.
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:25: space before tab in indent.
if $have_coretext; then
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:26: space before tab in indent.
CORETEXT_CFLAGS=
/Users/ssb/Projekte/ssb/AppleTV/VLCKit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:29: space before tab in indent.
AC_SUBST(CORETEXT_CFLAGS)
warning: squelched 8 whitespace errors
warning: 13 lines add whitespace errors.
Applying: libvlc: expose a base set of freetype options to overwrite the default font
[info] Building vlc
./build.sh: illegal option -- b
usage: ./build.sh [-s] [-d] [-v] [-k sdk]
OPTIONS
-k <sdk version> Specify which sdk to use ('xcodebuild -showsdks', current: 9.1)
-s Build for simulator
-a <arch> Specify which arch to use (current: aarch64)
-d Enable debug
-v Enable verbose command-line output
-t Build for tvOS
-w Build a limited stack of non-scary libraries only
Also some of the patches seem not to work anymore.
Re: Can't compile TVVLCKit Error message
Posted: 24 Feb 2016 19:05
by Supercorp
Hello,
Have you try with ./buildMobileVLCKit.sh -t which is in VLCKit folder ? -t contain the enable bitcode option.
Re: Can't compile TVVLCKit Error message
Posted: 25 Feb 2016 11:47
by ssbmaccom
this is what I actually do, I just have a wrapper script around it, to clone the repo into a new directory.
And it looks like esp. this bitcode option is causing issues when building libVLC.
Maybe I have to use a branch except of HEAD.
Re: Can't compile TVVLCKit Error message
Posted: 28 Feb 2016 18:40
by ssbmaccom
as there is no reply or fix yet, I opened a ticket in trac. #16685
Re: Can't compile TVVLCKit Error message
Posted: 29 Feb 2016 20:42
by Supercorp
Ok I saw that it works now for you ssbmaccom, but can you tell me if you have problem reading movie (freezing or dropping frame) ?
Because that's what I've got since a lot of times.
Thank you.
Re: Can't compile TVVLCKit Error message
Posted: 01 Mar 2016 22:46
by ssbmaccom
Oh yes. In my App playback freezes a lot. Also drop frames up to 1 second. Also for 1080i LiveTV streams I got reports, that in 70% of the playbacks the audio is jittering.
That's why I am so keen on being able to build it again and again. But currently it turns worse than better.
With the freezes (see thread in development around libVLC) I also posted "lldb bt all" stack backtraces, which show all the threads that seem to be in a dead lock during freeze. Looks like some threads are waiting for any condition or a lock to get released. In some cases I found, that some structure pointers used internally are NULL. Not sure why it is not crashing.
Also it looks like threads are "leaking". Some don't get stopped when playback is stopping. One had to do with playlists, but I do not use playlists.
Curious as well: The URL for the stream looks like "
http://192.168.42.42:8001/1:0:19:283D:3 ... 0000:0:0:0:" which is a stream, but libVLC reports it as a file.
One of my beta testers reported me, that the first version (early in January) was the best playback quality of all versions. Now looking if I can find one of the old VLCKit libs with bitcode. No archive for nightlies...
Re: Can't compile TVVLCKit Error message
Posted: 01 Mar 2016 23:12
by Supercorp
Ok so I'm not the only one and for me December version worked fine too but now it is dropping frames and the FPS is falling down to 9. I can watch any movie. And more the official VLC tvOs app does the same.
Re: Can't compile TVVLCKit Error message
Posted: 01 Mar 2016 23:56
by ssbmaccom
Yes, I would love to have the december version somewhere...
Ahh... hell, yeah... I found it. I had it "accidentally" committed and pushed in my git repo.
One version from Nov. 29th and one from Dec. 1st.
Looks quite good so far, includes bitcode but no simulator.
I will check what my beta testers report...
BTW: with a 720p stream it now correctly returns the right frameratedenominator... so the FPS is reported correctly.
Re: Can't compile TVVLCKit Error message
Posted: 02 Mar 2016 07:02
by Supercorp
You're a lucky guy. Can I ask you a big service ? Can you compress VLCKit folder (I know it's more than 2Gb) and upload it for me on my FTP. I can give you access by PM.
It would be so great. Tell me if it's ok.
Thanks.
Re: Can't compile TVVLCKit Error message
Posted: 03 Mar 2016 19:02
by Supercorp
Hello ssbmaccom,
I send you a PM. If you could upload me december version, it would be so great.
Thank you.
Re: Can't compile TVVLCKit Error message
Posted: 04 Mar 2016 17:33
by ssbmaccom
You got a reply.
The versions I had in my git repo where not fine.The november one has the hang when closing a stream and the december one had no bitcode.
So I created a local branch based on the last commit of 2015 and started to build. It fails because live555 has been updated. So I had to change some files in VLC and in VLCKit - which was a reasonable back port effort.
The result looks fine, much more stable and more smooth playback so far.
I send more info via PM. If you (or someone else) wants, I can upload my build. But my connection is very slow, so it will take ages.
Re: Can't compile TVVLCKit Error message
Posted: 04 Mar 2016 19:44
by Supercorp
Ok thank you so much for your answer.
You're the best.
Re: Can't compile TVVLCKit Error message
Posted: 23 Apr 2016 16:19
by gavla
Hi there this is very kind could I have access to your FTP please
Thank you so much as this had become a real problem for me