VLCKit/libVLC build issues (tvOS and others)

This forum is about all development around libVLC.
ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 28 Dec 2016 13:11

Since Dec. 3rd there was no successful build of VLCKit for macOS, iOS and tvOS. Same applies to libVLC and the VLC app.

So - maybe I can support you by trying to build locally. Despite the fact, that git clone is awfully slow (can I prepare my own mirror?) I also tweaked the build script to only run 1 job at a time. So it is a matter of patience - but the build stops, as soon as it runs into an error.

So far it looks like libVLC builds fine for tvOS but not for simulator. Finally it is an issue building libvpx for simulator - I reported that already.

Build log is:

Code: Select all

mv libvpx-1.6.0 libvpx && touch libvpx cd libvpx && LDFLAGS="-L/Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk/usr/lib -isysroot /Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk -mtvos-version-min=9.0 -arch x86_64" CROSS= ./configure --target=x86_64-darwin11-gcc \ --enable-runtime-cpu-detect --disable-docs --disable-examples --disable-unit-tests --disable-install-bins --disable-install-docs --disable-dependency-tracking --enable-vp9-highbitdepth --disable-vp8-encoder --disable-vp9-encoder --enable-pic --sdk-path=/Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk --enable-vp8-decoder --disable-vp8-encoder --disable-vp9-encoder --prefix=/Users/ssb/Projekte/ssb/AppleTV/_VLCKit/VLCKit/libvlc/vlc/contrib/AppleTV-x86_64-apple-darwin14-x86_64 enabling runtime_cpu_detect disabling docs disabling examples disabling unit_tests disabling install_bins disabling install_docs disabling dependency_tracking enabling vp9_highbitdepth disabling vp8_encoder disabling vp9_encoder enabling pic enabling vp8_decoder enabling vp9_decoder Configuring for target 'x86_64-darwin11-gcc' enabling x86_64 enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling sse4_1 enabling avx enabling avx2 using gas-preprocessor.pl xcrun clang enabling use_x86inc enabling postproc enabling webm_io enabling libyuv Creating makefiles for x86_64-darwin11-gcc libs cd libvpx && /Applications/Xcode7.app/Contents/Developer/usr/bin/make [CREATE] vpx_scale_rtcd.h [CREATE] vpx_dsp_rtcd.h [CREATE] vp8_rtcd.h [CREATE] vp9_rtcd.h [CC] vpx/src/vpx_decoder.c.o [CC] vpx/src/vpx_encoder.c.o [CC] vpx/src/vpx_codec.c.o [CC] vpx/src/vpx_image.c.o [CC] vpx/src/vpx_psnr.c.o [CC] vpx_mem/vpx_mem.c.o [CC] vpx_scale/generic/vpx_scale.c.o [CC] vpx_scale/generic/yv12config.c.o [CC] vpx_scale/generic/yv12extend.c.o [CC] vpx_scale/generic/gen_scalers.c.o [CC] vpx_scale/vpx_scale_rtcd.c.o [CC] vpx_dsp/prob.c.o [CC] vpx_dsp/bitreader.c.o [CC] vpx_dsp/bitreader_buffer.c.o [CC] vpx_dsp/intrapred.c.o [CC] vpx_dsp/add_noise.c.o [CC] vpx_dsp/vpx_convolve.c.o [CC] vpx_dsp/x86/vpx_asm_stubs.c.o [CC] vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c.o [CC] vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c.o [CC] vpx_dsp/loopfilter.c.o [CC] vpx_dsp/x86/loopfilter_sse2.c.o [CC] vpx_dsp/x86/loopfilter_avx2.c.o [CC] vpx_dsp/x86/highbd_loopfilter_sse2.c.o [CC] vpx_dsp/inv_txfm.c.o [CC] vpx_dsp/x86/inv_txfm_sse2.c.o [CC] vpx_dsp/variance.c.o [CC] vpx_dsp/x86/variance_sse2.c.o [CC] vpx_dsp/x86/halfpix_variance_sse2.c.o [CC] vpx_dsp/x86/variance_avx2.c.o [CC] vpx_dsp/x86/variance_impl_avx2.c.o [CC] vpx_dsp/x86/highbd_variance_sse2.c.o [CC] vpx_dsp/vpx_dsp_rtcd.c.o [CC] vpx_util/vpx_thread.c.o [CC] vp8/common/alloccommon.c.o [CC] vp8/common/blockd.c.o [CC] vp8/common/copy_c.c.o [CC] vp8/common/debugmodes.c.o [CC] vp8/common/dequantize.c.o [CC] vp8/common/entropy.c.o [CC] vp8/common/entropymode.c.o [CC] vp8/common/entropymv.c.o [CC] vp8/common/extend.c.o [CC] vp8/common/filter.c.o [CC] vp8/common/findnearmv.c.o [CC] vp8/common/generic/systemdependent.c.o [CC] vp8/common/idct_blk.c.o [CC] vp8/common/idctllm.c.o [CC] vp8/common/rtcd.c.o [CC] vp8/common/vp8_loopfilter.c.o [CC] vp8/common/loopfilter_filters.c.o [CC] vp8/common/mbpitch.c.o [CC] vp8/common/modecont.c.o [CC] vp8/common/quant_common.c.o [CC] vp8/common/reconinter.c.o [CC] vp8/common/reconintra.c.o [CC] vp8/common/reconintra4x4.c.o [CC] vp8/common/setupintrarecon.c.o [CC] vp8/common/swapyv12buffer.c.o [CC] vp8/common/treecoder.c.o [CC] vp8/common/x86/filter_x86.c.o [CC] vp8/common/x86/vp8_asm_stubs.c.o [CC] vp8/common/x86/loopfilter_x86.c.o [CC] vp8/common/mfqe.c.o [CC] vp8/common/postproc.c.o [CC] vp8/common/x86/idct_blk_mmx.c.o [CC] vp8/common/x86/idct_blk_sse2.c.o [CC] vp8/vp8_dx_iface.c.o [CC] vp8/decoder/dboolhuff.c.o [CC] vp8/decoder/decodemv.c.o [CC] vp8/decoder/decodeframe.c.o [CC] vp8/decoder/detokenize.c.o [CC] vp8/decoder/onyxd_if.c.o [CC] vp8/decoder/threading.c.o [CC] vp9/common/vp9_alloccommon.c.o [CC] vp9/common/vp9_blockd.c.o [CC] vp9/common/vp9_debugmodes.c.o [CC] vp9/common/vp9_entropy.c.o [CC] vp9/common/vp9_entropymode.c.o [CC] vp9/common/vp9_entropymv.c.o [CC] vp9/common/vp9_frame_buffers.c.o [CC] vp9/common/vp9_idct.c.o [CC] vp9/common/vp9_filter.c.o [CC] vp9/common/vp9_pred_common.c.o [CC] vp9/common/vp9_rtcd.c.o [CC] vp9/common/vp9_scale.c.o [CC] vp9/common/vp9_seg_common.c.o [CC] vp9/common/vp9_tile_common.c.o [CC] vp9/common/vp9_loopfilter.c.o [CC] vp9/common/vp9_thread_common.c.o [CC] vp9/common/vp9_mvref_common.c.o [CC] vp9/common/vp9_quant_common.c.o [CC] vp9/common/vp9_reconinter.c.o [CC] vp9/common/vp9_reconintra.c.o [CC] vp9/common/vp9_common_data.c.o [CC] vp9/common/vp9_scan.c.o [CC] vp9/common/x86/vp9_idct_intrin_sse2.c.o [CC] vp9/vp9_dx_iface.c.o [CC] vp9/decoder/vp9_decodemv.c.o [CC] vp9/decoder/vp9_decodeframe.c.o [CC] vp9/decoder/vp9_detokenize.c.o [CC] vp9/decoder/vp9_dthread.c.o [CC] vp9/decoder/vp9_decoder.c.o [CC] vp9/decoder/vp9_dsubexp.c.o [CC] vpx_config.c.o [CREATE] vpx_config.asm [AS] vpx_ports/emms.asm.o Unrecognized input filetype at /Users/ssb/Projekte/ssb/AppleTV/_VLCKit/VLCKit/libvlc/vlc/extras/tools/build/bin/gas-preprocessor.pl line 95. make[2]: *** [vpx_ports/emms.asm.o] Error 255 make[1]: *** [.DEFAULT] Error 2 make: *** [.vpx] Error 2
So it looks like the .asm extension is not known to the build system... Maybe the rules for ".s" needs to be copied to apply to ".asm" or something to fix in gas-preprocessor even though gas is not used on Mac as it is replaced by clang.

Any hints - and I will try any fix.
Well, and then report the follow up issues.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCKit/libVLC build issues (tvOS and others)

Postby Jean-Baptiste Kempf » 28 Dec 2016 23:50

Yes, I've seen the same issue. However, I don't see the difference in the vlc.git code on Dec 3/4 that makes it fail.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 29 Dec 2016 14:31

I assume it is something that has been changed in libvpx contrib.
And well... we should look for a solution to get nightlies back for all darwin based platforms.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCKit/libVLC build issues (tvOS and others)

Postby Jean-Baptiste Kempf » 20 Jan 2017 00:25

I assume it is something that has been changed in libvpx contrib.
And well... we should look for a solution to get nightlies back for all darwin based platforms.
Help is welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 31 Jan 2017 11:18

I would help in spare time (which is rare as you know) but for now git access is really slow - it takes hours to get the full repo of libVLC.
And indeed, this is pain esp. when it is required to get a fresh repository, which happens quite often when building VLCKit.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLCKit/libVLC build issues (tvOS and others)

Postby Rémi Denis-Courmont » 31 Jan 2017 17:35

vlc.git is not small but it is also not that large, compared to many other projects. And in any case, you only need to download it fully once ever. After that, you can always reference the previous download.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 02 Feb 2017 09:47

Today I had some more luck... I got about 300 kiB/s for cloning libVLC repository.
Well - usually I simply update the repository but sometimes things get messed up and I have to get a fresh one.
Especially if experiments is breaking some code - even I mostly try to extend VLCKit.

Let's see how todays build works.

Still a pity, that there had been no nightly for tvOS, iOS and macOS since almost 2 months.

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 06 Feb 2017 12:59

Thanks Felix to bring back the nightlies and as far as I have seen in the mailing list you also included my suggested fix for bitcode generation - and btw. added non-parallel builds (when using -v for verbose output). I locally did something similar to trace build issues ;-)

Unfortunately I am not able to access the VLCKit repository anymore. git pull returns the error message, that the server rejects/aborts the SSL handshake (using the https: URL).
Something I have to fix on my local machine?

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: VLCKit/libVLC build issues (tvOS and others)

Postby ssbmaccom » 06 Feb 2017 14:34

OK, creating a new clone of VLCKit works. So this issue is solved for now.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests