Bug 16816 - Missing Qt dependencies for vlc in Mageia 5
Summary: Missing Qt dependencies for vlc in Mageia 5
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job, PATCH
Depends on:
Blocks:
 
Reported: 2015-09-23 23:04 CEST by Olivier FAURAX
Modified: 2018-04-19 16:28 CEST (History)
4 users (show)

See Also:
Source RPM: vlc
CVE:
Status comment:


Attachments

Description Olivier FAURAX 2015-09-23 23:04:11 CEST
At first, VLC was not launching at all.

$ qvlc -v
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000c72118] core libvlc warning: cannot load module `/usr/lib64/vlc/plugins/gui/libqt4_plugin.so' (libQt5Widgets.so.5: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0000000000d705c8] core interface error: no suitable interface module
[0000000000c72118] core libvlc error: interface "default" initialization failed

I installed lib64qt5widgets5.
Then, the same with: lib64qt5gui5 and lib64qt5core5.

The last one was tricky, since the error was :
$ vlc -v
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000002287118] core libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: directfbegl, directfb, eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Abandon

It has been solved with installation of lib64qt5dbus5.

So, please add these 4 packages as dependencies for vlc.
I rank it as major, because it prevents the use of vlc, which is a well-known program.

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-09-24 09:27:08 CEST
Assigning to VLC maintainer Shlomi Fish.

Keywords: (none) => Junior_job, PATCH
CC: (none) => mageia
Assignee: bugsquad => shlomif

Shlomi Fish 2015-09-24 09:53:05 CEST

Summary: Missing QT dependencies for vlc in Mageia 5 => Missing Qt dependencies for vlc in Mageia 5

Comment 2 Nicolas Lécureuil 2015-09-24 11:38:15 CEST
maybe it should require:  qtbase5-common
Comment 3 David GEIGER 2015-09-24 12:53:05 CEST
On my mga5_64 I get:

$ urpmq --whatrequires lib64qt5core5 |grep 'vlc'
lib64vlc-qt-qml0.9
lib64vlc-qt-widgets0.9
lib64vlc-qt0.9
phonon4qt5-vlc
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common

$ urpmq --whatrequires lib64qt5widgets5 |grep 'vlc'
lib64vlc-qt-qml0.9
lib64vlc-qt-widgets0.9
phonon4qt5-vlc
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common

$ urpmq --whatrequires lib64qt5gui5 |grep 'vlc'
lib64vlc-qt-qml0.9
lib64vlc-qt-widgets0.9
phonon4qt5-vlc
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common


$ urpmq --whatrequires lib64qt5dbus5 |grep 'vlc'

$ urpmq --whatrequires vlc-plugin-common
phonon-vlc
phonon4qt5-vlc
tano
vlc
vlc
vlc
vlc
vlc-plugin-common


So normally lib64qt5widgets5, lib64qt5gui5 and lib64qt5core5 should be automatically installed.
But not for lib64qt5dbus5.

CC: (none) => geiger.david68210

Comment 4 David GEIGER 2015-09-24 12:59:14 CEST
and:

$ urpmq --whatrequires lib64qtx11extras5 |grep 'vlc'
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common
vlc-plugin-common
Comment 5 Nicolas Lécureuil 2015-09-24 14:19:42 CEST
is qtbase5-common installed ?
Comment 6 Luc Menut 2015-09-25 21:42:15 CEST
As spotted by David, vlc already requires these packages through vlc-plugin-common
urpmq --requires-recursive vlc |grep qt
lib64qt5core5
lib64qt5dbus5
lib64qt5gui5
lib64qt5network5
lib64qt5widgets5
lib64qt5xml5
lib64qtx11extras5
qtbase5-common
qttranslations5

So we need to understand why they aren't installed for Olivier; perhaps vlc-plugin-common was installed (before vlc install) either with another arch (i586) or with a previous version (incomplete update from mga4) ??
Comment 7 Chris Nicoll 2016-02-08 05:18:35 CET
Wish I had something informative to add; just wanted to say this bug report helped me get the menus back on VLC on my box (upgraded to MGA5 from 4) where lib64qt5gui5 was missing. Thanks all!

CC: (none) => zeta

Comment 8 Marja Van Waes 2018-04-19 16:28:31 CEST
Good to see that all who hit this issue, managed to workaround it :-)

Closing as OLD, because Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, but non-security bugs have no chance of still getting fixed.

Resolution: (none) => OLD
CC: (none) => marja11
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.