VLC3 Appimage creation help

*nix specific usage questions
sgclark
New Cone
New Cone
Posts: 3
Joined: 24 Aug 2016 17:57

VLC3 Appimage creation help

Postby sgclark » 24 Aug 2016 18:07

Hello... and sorry if I am just being an idiot.

I am having a tragic time getting this done. Some background. We are using a Ubuntu Trusty LTS container to build it. I had a working copy with Alsa support, but I had to build most of the contribs shared, and not static.
I am sadly informed vanilla ubuntu only ships with pulse, so I am at this again and everything is failing at every corner. So humbly request assistance.

My current foe is:

UIC ui/streampanel.h
UIC ui/sprefs_video.h
UIC ui/messages_panel.h
UIC ui/about.h
GEN resources.cpp
UIC ui/update.h
UIC ui/fingerprintdialog.h
UIC ui/sout.h
make all-am
make[5]: Entering directory `/vlc/modules/gui/qt'
CXX libqt_plugin_la-qt.lo
CXX libqt_plugin_la-menus.lo
CXX libqt_plugin_la-dialogs_provider.lo
CXX libqt_plugin_la-main_interface.lo
CXX libqt_plugin_la-input_manager.lo
CXX libqt_plugin_la-extensions_manager.lo
CXX libqt_plugin_la-actions_manager.lo
CXX libqt_plugin_la-recents.lo
main_interface.cpp: In member function 'void MainInterface::setVideoSize(unsigned int, unsigned int)':
main_interface.cpp:793:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( h > screen.height() )
~~^~~~~~~~~~~~~~~~~
dialogs_provider.cpp: In member function 'void DialogsProvider::SDMenuAction(const QString&)':
dialogs_provider.cpp:827:10: warning: 'bool playlist_IsServicesDiscoveryLoaded(playlist_t*, const char*)' is deprecated [-Wdeprecated-declarations]
if( !playlist_IsServicesDiscoveryLoaded( THEPL, qtu( data ) ) )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qt.hpp:34:0,
from dialogs_provider.cpp:31:
../../../include/vlc_playlist.h:339:14: note: declared here
VLC_API bool playlist_IsServicesDiscoveryLoaded( playlist_t *,const char *) VLC_DEPRECATED;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dialogs_provider.cpp:827:65: warning: 'bool playlist_IsServicesDiscoveryLoaded(playlist_t*, const char*)' is deprecated [-Wdeprecated-declarations]
if( !playlist_IsServicesDiscoveryLoaded( THEPL, qtu( data ) ) )
^
In file included from qt.hpp:34:0,
from dialogs_provider.cpp:31:
../../../include/vlc_playlist.h:339:14: note: declared here
VLC_API bool playlist_IsServicesDiscoveryLoaded( playlist_t *,const char *) VLC_DEPRECATED;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]:
*** [libqt_plugin_la-extensions_manager.lo] Error 1

make[5]:
*** Waiting for unfinished jobs....

make[5]: *** [libqt_plugin_la-input_manager.lo] Error 1
make[5]: *** [libqt_plugin_la-recents.lo] Error 1
make[5]: *** [libqt_plugin_la-qt.lo] Error 1
make[5]: *** [libqt_plugin_la-actions_manager.lo] Error 1
make[5]: *** [libqt_plugin_la-menus.lo] Error 1
make[5]: *** [libqt_plugin_la-main_interface.lo] Error 1
make[5]: Leaving directory `/vlc/modules/gui/qt'
make[4]: Leaving directory `/vlc/modules/gui/qt'
make[3]: Leaving directory `/vlc/modules'
make[2]: Leaving directory `/vlc/modules'
make[1]: Leaving directory `/vlc'
make[5]: *** [libqt_plugin_la-dialogs_provider.lo] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]:
*** [all-recursive] Error 1
make: *** [all] Error 2

So as I see it vlc and qt have duplicate calls, unfortunately I do not know how to solve this and google is being unkind in my attempts to search.

Any ideas?

Scarlett

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

Re: VLC3 Appimage creation help

Postby Rémi Denis-Courmont » 24 Aug 2016 20:27

You cut the error message out. Nobody can help.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sgclark
New Cone
New Cone
Posts: 3
Joined: 24 Aug 2016 17:57

Re: VLC3 Appimage creation help

Postby sgclark » 25 Aug 2016 14:23

Hi,

Seems I need help finding the actual error as well then.

Here is the entire log. Thanks Scarlett

http://aci.pangea.pub/job/appimage-vlc3/351/console

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

Re: VLC3 Appimage creation help

Postby Rémi Denis-Courmont » 25 Aug 2016 15:21

The errors are not shown in that log either.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sgclark
New Cone
New Cone
Posts: 3
Joined: 24 Aug 2016 17:57

Re: VLC3 Appimage creation help

Postby sgclark » 25 Aug 2016 15:42

lol that is the entire log. I have no more to give.
At least I know I am not the only one that cannot see a proper error.
I am just going to restart from my successful build pre pulse support.
Thanks for looking.
Cheers,
Scarlett

probono
New Cone
New Cone
Posts: 2
Joined: 28 Aug 2016 00:06

Re: VLC3 Appimage creation help

Postby probono » 28 Aug 2016 00:26

Scarlett has been trying to get VLC 3 to build on trusty for a month now (thanks for your incredible patience!), and I suspect we both have been doing something wrong all the time, so asking for help.

Some time ago, I had started trying to make a VLC AppImage using this recipe:
https://github.com/probonopd/AppImages/ ... lc3/Recipe
However, as I had stated on the mailing list at the time, "The AppImage does launch and can play some video, but I get a message 'qt interface error: Unable to load extensions module' and it does not play YouTube URLs."

Jean-Baptiste had suggested to change a couple of things:
  • Ubuntu 14.04 is the oldest version supported by VLC 3
  • use extras/tools;
  • use contribs (for alsa)
  • use contribs with --disable to disable bluray
  • don't disable cddb
  • don't compile with gcc 4.9 but 6.1
  • don't build with Qt4, but qith qt5
Since then, Scarlett has tried to implement this and has tried a lot of things but as a result, the recipe grew bigger and bigger over time:
https://github.com/appimage-packages/vl ... Recipe.erb

What are we doing wrong? Perhaps some experienced VLC experts can spot something by looking at the Recipe.erb script.

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

Re: VLC3 Appimage creation help

Postby Rémi Denis-Courmont » 29 Aug 2016 22:56

This looks full of hacks that I cannot even comprehend. I can't be bothered to even try to debug it on my free time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

probono
New Cone
New Cone
Posts: 2
Joined: 28 Aug 2016 00:06

Re: VLC3 Appimage creation help

Postby probono » 31 Aug 2016 22:01

Actually we are just struggling to get this compiled on trusty.
What is the recommended way of building this on trusty?
Could you provide a trusty (or earlier) build in your master-daily ppa, which we then could use as the basis for an AppImage?

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

Re: VLC3 Appimage creation help

Postby Rémi Denis-Courmont » 31 Aug 2016 22:32

The VLC PPA is made by the Debian/Ubuntu multimedia team on behalf of VideoLAN. It is not made by the VLC developers. And AFAICT, the relevant team members do not consult this forum.

I don't think there exists precise recommendations for your case. Historically, VLC was built on top of Debian/Ubuntu development packages for normal dpkg installation. You would probably want to use VLC contribs for just about everything, but Linux support therein remains incomplete.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djcj
New Cone
New Cone
Posts: 7
Joined: 27 May 2016 15:26

Re: VLC3 Appimage creation help

Postby djcj » 21 Aug 2017 19:28

probono helped me creating an AppImage for VLC2 that seems to work reliably: https://github.com/darealshinji/vlc-AppImage


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests