Page 1 of 1
Build Failed "Contribs make failed"
Posted: 18 May 2015 14:29
by leykan
Hello,
I want to compile vlc for android in a ubuntu 12.04 to work on it. I already did it before and it works perfectly but I had to remove this project.
And now I have to work on it again and when I follow the wiki:
https://wiki.videolan.org/AndroidCompile/
the compile fail and it tells me :
I have really no idea why..
And when I compile with android studio I have :
Code: Select all
contribs: make failed
Error:Execution failed for task ':libvlc:buildDebugARMv5'. > Process 'command './compile-libvlc.sh'' finished with non-zero exit value 1
Re: Build Failed "Contribs make failed"
Posted: 20 May 2015 23:32
by Jean-Baptiste Kempf
12.04 is too old.
Re: Build Failed "Contribs make failed"
Posted: 23 May 2015 15:59
by TomasValenta
Hello,
I have also problem to build latest version of VLC for Android. I use
Ubuntu 14.04 and compiling version
1.3.2 was fine. But now when I try to compile version 1.4.1, the build fail on:
Code: Select all
touch .openjpeg
contribs: make failed
More from log:
Code: Select all
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/src'
make[2]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/src'
Making install in include
make[2]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
Making install in ogg
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include/ogg'
make[4]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include/ogg'
make[4]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/ogg'
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/ogg'
/usr/bin/install -c -m 644 ogg.h os_types.h '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/ogg'
/usr/bin/install -c -m 644 config_types.h '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/ogg'
make[4]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include/ogg'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include/ogg'
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
make[4]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
make[2]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/include'
Making install in doc
make[2]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
Making install in libogg
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc/libogg'
make[4]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc/libogg'
make[4]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/doc/libogg/libogg'
/usr/bin/install -c -m 644 bitpacking.html datastructures.html decoding.html encoding.html general.html index.html ogg_iovec_t.html ogg_packet.html ogg_packet_clear.html ogg_page.html ogg_page_bos.html ogg_page_checksum_set.html ogg_page_continued.html ogg_page_eos.html ogg_page_granulepos.html ogg_page_packets.html ogg_page_pageno.html ogg_page_serialno.html ogg_page_version.html ogg_stream_check.html ogg_stream_clear.html ogg_stream_destroy.html ogg_stream_eos.html ogg_stream_flush.html ogg_stream_flush_fill.html ogg_stream_init.html ogg_stream_iovecin.html ogg_stream_packetin.html ogg_stream_packetout.html ogg_stream_packetpeek.html ogg_stream_pagein.html ogg_stream_pageout.html ogg_stream_pageout_fill.html ogg_stream_reset.html ogg_stream_reset_serialno.html ogg_stream_state.html ogg_sync_buffer.html ogg_sync_check.html ogg_sync_clear.html ogg_sync_destroy.html '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/doc/libogg/libogg'
/usr/bin/install -c -m 644 ogg_sync_init.html ogg_sync_pageout.html ogg_sync_pageseek.html ogg_sync_reset.html ogg_sync_state.html ogg_sync_wrote.html oggpack_adv.html oggpack_adv1.html oggpack_bits.html oggpack_buffer.html oggpack_bytes.html oggpack_get_buffer.html oggpack_look.html oggpack_look1.html oggpack_read.html oggpack_read1.html oggpack_readinit.html oggpack_reset.html oggpack_write.html oggpack_writealign.html oggpack_writecheck.html oggpack_writeclear.html oggpack_writecopy.html oggpack_writeinit.html oggpack_writetrunc.html overview.html reference.html style.css '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/doc/libogg/libogg'
make[4]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc/libogg'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc/libogg'
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
make[4]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
make[4]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/doc/libogg'
/usr/bin/install -c -m 644 framing.html index.html oggstream.html ogg-multiplex.html fish_xiph_org.png multiplex1.png packets.png pages.png stream.png vorbisword2.png white-ogg.png white-xifish.png rfc3533.txt rfc5334.txt skeleton.html '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/doc/libogg'
make[4]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
make[2]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg/doc'
make[2]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg'
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg'
make[3]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal'
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/pkgconfig'
/usr/bin/install -c -m 644 ogg.m4 '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal'
/usr/bin/install -c -m 644 ogg.pc '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/pkgconfig'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg'
make[2]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg'
make[1]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/libogg'
touch .ogg
CC libopenjpeg_la-ppix_manager.lo
CC libopenjpeg_la-thix_manager.lo
CC libopenjpeg_la-tpix_manager.lo
CCLD libopenjpeg.la
make[3]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libopenjpeg.la '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib'
libtool: install: /usr/bin/install -c .libs/libopenjpeg.lai /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/libopenjpeg.la
libtool: install: /usr/bin/install -c .libs/libopenjpeg.a /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/libopenjpeg.a
libtool: install: chmod 644 /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/libopenjpeg.a
libtool: install: arm-linux-androideabi-ranlib /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib/libopenjpeg.a
libtool: finish: PATH="/home/tomas/android/android/vlc/extras/tools/build/bin:/home/tomas/android/android/vlc/extras/tools/build/bin:/home/tomas/Android/Ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/tomas/Android/Sdk/platform-tools:/home/tomas/Android/Sdk/tools:/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin:/sbin" ldconfig -n /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/openjpeg-1.5'
/usr/bin/install -c -m 644 openjpeg.h '/home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include/openjpeg-1.5'
make install-data-hook
make[4]: Entering directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
cd /home/tomas/android/android/vlc/contrib/arm-linux-androideabi/include && \
rm -f openjpeg.h && \
ln -s openjpeg-1.5/openjpeg.h \
openjpeg.h
make[4]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
make[3]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
make[2]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
make[1]: Leaving directory `/home/tomas/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/openjpeg/libopenjpeg'
touch .openjpeg
contribs: make failed
System is up-to-date, source cloned from scratch and also latest SDK and NDK. Does anyone have the same problem? How to fix it?
Re: Build Failed "Contribs make failed"
Posted: 25 May 2015 01:41
by nospam2k
There is something up with vlc.
1. Go into the vlc dir and type:
git checkout d1bc937
That will step back vlc to May 18th.
2. Go into git dir BEFORE dir vlc-android (default is android) and type:
get checkout 2d3d49492f7ad533eb78af09869f300cec916392
that will get you 1.3.2 of vlc-android.
I tried this on a Mac getting the same error and it worked. It may work with later commits but this one does work.
Re: Build Failed "Contribs make failed"
Posted: 25 May 2015 09:30
by TomasValenta
Thank you,
but I think, rolling back is not a real solution
I want to build the latest version. The developers tag the new version and not compile it?
Re: Build Failed "Contribs make failed"
Posted: 26 May 2015 20:01
by Jean-Baptiste Kempf
We do compile it, of course. Issue is on your side. The probable issue is the update of gpg-error, with af2fb08455a443cc428dc744e2f7de511e1c3c2c
Re: Build Failed "Contribs make failed"
Posted: 26 May 2015 20:36
by TomasValenta
Thank you Jean-Baptiste,
so we need to wait for fix or can we do something? Today, I try this:
http://stackoverflow.com/a/30350687/3796931, but not finishing with the successful build. Only from curiosity, why you build is working and our not (when we compile from the same source code)? Different build system and libraries versions? What system you use for building?
Re: Build Failed "Contribs make failed"
Posted: 26 May 2015 20:45
by Jean-Baptiste Kempf
look at vlc/contrib/contrib-android-arm-linux-androideabi/libgpg-error/configure.ac Edit 0.19.3 to 0.19.2 and rerun the configure.sh script.
Re: Build Failed "Contribs make failed"
Posted: 26 May 2015 22:38
by TomasValenta
After maybe twelve reruns, the build hang on:
Code: Select all
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
file requires the infrastructure from gettext-0.19.2 but this version
is older. Please upgrade to gettext-0.19.2 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1
make: *** [.gpg-error] Error 1
contribs: make failed
But in trusty (14.04LTS) is only version 0.18.3. This is described in link, that I post before:
http://stackoverflow.com/a/30350687/3796931. So solution now is downgrade these lines to 0.18?
Code: Select all
./vlc/configure.ac:439:AM_GNU_GETTEXT_VERSION([0.19.2])
./vlc/contrib/contrib-android-arm-linux-androideabi/libgpg-error/configure.ac:158:AM_GNU_GETTEXT_VERSION([0.19.2])
Re: Build Failed "Contribs make failed"
Posted: 26 May 2015 23:17
by TomasValenta
Or I can try to build vlc on Vivid (ubuntu-15.04)
Re: Build Failed "Contribs make failed"
Posted: 27 May 2015 02:48
by TomasValenta
On Vivid (ubuntu-15.04) the build is succesfull with your suggestion. Thank you!