• Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages → Packages: Stable
  • Assigned To No-one
  • Operating System i686
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by bill auger - 08.04.2019

FS#65 - [qt5-styleplugins] incompatile QT version

i can not get any QT program to start while that is installed - they complain about mixed QT versions

it looks like qt5-styleplugins was built with the [testing] repo enabled, with qt5-base-5.12.2, while other QT-base programs were built against qt5-base-5.12.1

bill auger commented on 08.04.2019 16:47
$ qv4l2 
Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)
Aborted (core dumped)
$ sudo octopi
Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)
Aborted
$ sudo calamares 
Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)
Aborted
$ sudo qtox      
[16:43:22.069 UTC] :0 : Fatal: Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)
Aborted
Admin
Erich Eckner commented on 08.04.2019 19:36

where does qt see this versions?
The symbols in e.g. usr/lib/libQt5-Widgets.so.5.* do not have the least version part:

14 0x02 0x08a28110 Qt_5.10

      Qt_5.9 

15 0x02 0x08a28111 Qt_5.11

      Qt_5.10 

16 0x00 0x08a28112 Qt_5.12

      Qt_5.11 
required from libQt5Core.so.5:
  0x08a28112 0x00 22 Qt_5.12
  0x00058a25 0x00 03 Qt_5
required from libQt5Widgets.so.5:
  0x00058a25 0x00 02 Qt_5
bill auger commented on 30.04.2019 11:16

i read on the web somewhere that all QT programs search the system very aggressively searching for any QT libs it can find (and presumably selecting the newest)

what i have noticed is that this is an interaction between the packages: 'qt5-styleplugins' (the themes) and 'qt5ct' (the config system) - the presence of either package alone is not enough to cause the problem - the problem occurs only when the 'gtk2' theme is selected in the qt5ct config - this is the default configuration that the parabola LXDE liveISO boots into, that config is prepared when building the ISO; so i did not notice this before; but on a manual install, i noticed the qt5ct program crashes when selecting the theme

to reproduce this symptom:
install both 'qt5-styleplugins' and 'qt5ct'
launch qt5ct
select gtk2 from the "Style" select options

$ gdb qt5ct 
GNU gdb (GDB) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
    .

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qt5ct...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/qt5ct 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xb3c40b40 (LWP 9932)]

(qt5ct:9928): dbind-WARNING **: 11:06:08.450: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-nltxAHENFr: Connection refused
Configuration path: "/home/bill/.config/qt5ct"
Shared QSS paths: ("/home/bill/.local/share/qt5ct/qss", "/usr/local/share/qt5ct/qss", "/usr/share/qt5ct/qss", "/usr/share/gdm/qt5ct/qss", "/var/lib/menu-xdg/qt5ct/qss")
Shared color scheme paths: ("/home/bill/.local/share/qt5ct/colors", "/usr/local/share/qt5ct/colors", "/usr/share/qt5ct/colors", "/usr/share/gdm/qt5ct/colors", "/var/lib/menu-xdg/qt5ct/colors")
[New Thread 0xb1ff2b40 (LWP 9933)]
libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)

libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)


[this is where i selected the GTK theme]


Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)

Thread 1 "qt5ct" received signal SIGABRT, Aborted.
0xb7fd5841 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fd5841 in __kernel_vsyscall ()
#1  0xb6a2e746 in raise () at /usr/lib/libc.so.6
#2  0xb6a181e3 in abort () at /usr/lib/libc.so.6
#3  0xb6da9775 in  () at /usr/lib/libQt5Core.so.5
#4  0xb6dc09d1 in  () at /usr/lib/libQt5Core.so.5
#5  0xb1268540 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#6  0xb125620b in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#7  0xb126b3ad in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#8  0xb79ecd9a in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
#9  0x00411d2f in  ()
#10 0x0042e2fd in  ()
#11 0x0042e4a3 in  ()
#12 0xb6fbc929 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#13 0xb7a85121 in QComboBox::activated(QString const&) () at /usr/lib/libQt5Widgets.so.5
#14 0xb7a876d4 in  () at /usr/lib/libQt5Widgets.so.5
#15 0xb7a8a454 in  () at /usr/lib/libQt5Widgets.so.5
#16 0xb7a90276 in  () at /usr/lib/libQt5Widgets.so.5
#17 0xb6fbc861 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#18 0xb7a853c1 in QComboBoxPrivateContainer::itemSelected(QModelIndex const&) ()
    at /usr/lib/libQt5Widgets.so.5
#19 0xb7a85ae0 in QComboBoxPrivateContainer::eventFilter(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#20 0xb6f908cc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
    () at /usr/lib/libQt5Core.so.5
#21 0xb79708b8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#22 0xb7979108 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0xb6f90bc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#24 0xb7977e61 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWid--
get*, QWidget**, QPointer&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#25 0xb79d636c in  () at /usr/lib/libQt5Widgets.so.5
#26 0xb79d90ea in  () at /usr/lib/libQt5Widgets.so.5
#27 0xb79708c9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0xb7978aa2 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0xb6f90bc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0xb735fb9e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#31 0xb7361172 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0xb73358c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /usr/lib/libQt5Gui.so.5
#33 0xb3f5b0ad in  () at /usr/lib/libQt5XcbQpa.so.5
#34 0xb602792e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#35 0xb60299ea in  () at /usr/lib/libglib-2.0.so.0
#36 0xb6029a36 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#37 0xb6feaceb in QEventDispatcherGlib::processEvents(QFlags) () at /usr/lib/libQt5Core.so.5
#38 0xb6f8f656 in QEventLoop::exec(QFlags) () at /usr/lib/libQt5Core.so.5
#39 0xb6f97eeb in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#40 0x0040d36d in  ()
#41 0xb6a19a49 in __libc_start_main () at /usr/lib/libc.so.6
#42 0x0040d505 in  ()
(gdb) 
bill auger commented on 08.05.2019 15:39

it looks like the latest rebuilds have leap-frogged the version conflict

previously:

Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c01)

today:

Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50c03)

my guess is that either 'qt5-styleplugins' or 'qt5ct' still need a rebuild

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing