Solved vlc and Cannot mix incompatible Qt library

Hi, running FreeBSD 13.1-RELEASE , weeks ago I run a
Code:
pkg upgrade
, everything runs fine except vlc
I buildind from ports too and have the same QT version, the message is this

Code:
Cannot mix incompatible Qt library (5.15.5) with this library (5.15.7)

the old way to fix this is to make a pkg upgrade but this time not...
 
Some package is locked perhaps? pkg-lock(8):
Code:
     The impact of locking a package is wider than simply preventing
     modifications to the package itself.  Any operation implying modification
     of the locked package will be blocked.  This includes:

     •   Attempts to reinstall, up- or downgrade or delete the locked package
         itself.
     •   Installation, up- or downgrade of a package where the resultant
         package would have a dependency on a different version of the locked
         package.
     •   Deletion, up- or downgrade of any package the locked package depends
         upon, either directly or as a consequence of installing or upgrading
         some third package.
 
According to FreshPorts, the latest version of multimedia/vlc has QT5 as a makefile knob that you can turn on and off (it's on by default)

Maybe recompile VLC with the QT5 flag set to off? 🤔

yes, and the option appears in
Makefile:
make config
, but without QT5 there is no interface..there is cvlc but is not the idea
 
I buildind from ports too and have the same QT version
Have you build multimedia/vlc from ports? If that's the case, see if your ports tree is up to date? Eventually delete the ports tree, fetch a new one. Make sure the package repository and ports tree are the same.

Cannot mix incompatible Qt library (5.15.5) with this library (5.15.7)
Supported QT5 libraries in the 2023Q1 "quarterly" branch is 5.15.7, there shouldn't be a 5.15.5:

ports/Mk/Uses/qt.mk
Rich (BB code):
# Qt versions currently supported by the framework.
_QT_SUPPORTED?=        5 6
QT5_VERSION?=        5.15.7
QT6_VERSION?=        6.4.2

If it's not VLC which requiers a 5.15.5 library, run pkg info -d -g '*' | grep 5.15.5, see which package(s) still depends on version 5.15.5.

If there is no locked package try pkg update -f , pkg upgrade.
 
Some package is locked perhaps? pkg-lock(8):
Code:
     The impact of locking a package is wider than simply preventing
     modifications to the package itself.  Any operation implying modification
     of the locked package will be blocked.  This includes:

     •   Attempts to reinstall, up- or downgrade or delete the locked package
         itself.
     •   Installation, up- or downgrade of a package where the resultant
         package would have a dependency on a different version of the locked
         package.
     •   Deletion, up- or downgrade of any package the locked package depends
         upon, either directly or as a consequence of installing or upgrading
         some third package.

Is the first time that I use this options in pkg
I use pkg lock -l and returns
Code:
Currently locked packages:

In the past when I update one or too packages sometimes its happens but upgrading all packages it resolves it
I think I will have to wait to the new port or pkg of vlc
 
Have you build multimedia/vlc from ports? If that's the case, see if your ports tree is up to date? Eventually delete the ports tree, fetch a new one. Make sure the package repository and ports tree are the same.


Supported QT5 libraries in the 2023Q1 "quarterly" branch is 5.15.7, there shouldn't be a 5.15.5:

ports/Mk/Uses/qt.mk
Rich (BB code):
# Qt versions currently supported by the framework.
_QT_SUPPORTED?=        5 6
QT5_VERSION?=        5.15.7
QT6_VERSION?=        6.4.2

If it's not VLC which requiers a 5.15.5 library, run pkg info -d -g '*' | grep 5.15.5, see which package(s) still depends on version 5.15.5.

If there is no locked package try pkg update -f , pkg upgrade.

Code:
Have you build [PORT]multimedia/vlc[/PORT] from ports?
Yes , portsnap fetch and portsnap extract

Code:
pkg info -d -g '*' | grep 5.15.5
there is no return..nothing

Code:
If there is no locked package try [CMD]pkg update -f[/CMD] , [CMD]pkg upgrade[/CMD].
No,no locked package, and yes, everytime that lines save me, but this time not, is strange
 
Check if you have qt5-style-plugins installed (and recompile it); Afaik It isn't triggered when there's an update of the QT ports…
 
Check if you have qt5-style-plugins installed (and recompile it); Afaik It isn't triggered when there's an update of the QT ports…

This is strange...I delete the package qt5-style-plugins, runs vlc and starts fine!
Then install again and vlc keeps running fine...:-/

now when I try to play a video vlc close and show a Segmentation fault
edit,this segmentation fault disappear when I choose the Output video device in the vlc options "Video settings"
and then everything is like a charm
 
Back
Top