You are not logged in.
After pacman -Syu today, numerous Qt5 libraries upgraded from v5.9.0 to 5.9.1
All Qt5 programs are failing to run now with the error:
Qt FATAL: Cannot mix incompatible Qt library (version 0x50900) with this library (version 0x50901)
Tried reboot and recompiling eg featherpad-git, but still fails
Hope I'm not missing something obvious
This is a bit of a show-stopper
Last edited by ninian (2017-07-04 10:23:58)
Offline
Same problem here. My own Qt applications work if I recompile them, so maybe there was an ABI change?
Offline
I had the same issue and for me, it was caused by qt5-styleplugins. Recompiling fixed it.
Offline
The only programs that have been specifically mentioned are an AUR package and your own code. If qt5 follows semantic versioning, an ABI change should change the subversion number not just a revision number - so that's a bit odd and it may have not triggered a required rebuild. But if there are repo packages that need to be recompiled you need to specify which ones: saying your own code or AUR packages need to be rebuilt is pointless - those are your responsibility anyways.
EDIT: this was cross posted with the above. Assuming that is the case, this is purely a failure to properly manage AUR packages.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Exactly, qt5-styleplugins get loaded by every application using QtWidgets. My own code uses QML so it was not affected. qt5-styleplugins maintainer has already been asked to do pkgrel bump so recompile gets triggered automatically.
Maybe only the ABI for the plugin interface has been changed by Qt, because "normal" applications without loading the style plugin weren't affected.
Last edited by Tamaskan (2017-07-04 10:28:15)
Offline
I had the same issue and for me, it was caused by qt5-styleplugins. Recompiling fixed it.
Thank you - that was the show-stopper!
Have only just started using qt5ct and qt5-styleplugins so was slow to think on that.
@Trilby: It was indeed ALL Qt5 programs which failed, not just AUR ones. for example: qterminal, sqlitebrowser, VirtualBox ...
Offline
@Trilby: It was indeed ALL Qt5 programs which failed, not just AUR ones. for example: qterminal, sqlitebrowser, VirtualBox ...
Yes, but users without AUR packages installed weren't affected at all, so it's not an Arch Linux Bug.
Offline
Yes, but users without AUR packages installed weren't affected at all, so it's not an Arch Linux Bug.
Agreed
Offline
Sorry for the newb question but fairly new to using linux.....How would you go about recompiling these packages, I have been searching around and trying different commands but can not figure out how to recompile to get qt5 programs working again.
Offline
The same way you compiled them in the first place.
Offline
you reexecute makepkg in the directory where your PKGBUILD resides, or if you use an AUR helper, reinstall the affected AUR packages as that will most likely trigger a rebuild
Offline
Thanks V1del! for pointing me in the right direction, everything is working again correctly
Offline
The interesting thing about this is that qt5-styleplugins is part of a select group of Qt5 linked software which relies on Qt's private headers, and therefore depends on an exact version of Qt (as opposed to merely requiring a matching soname).
Essentially, this problem happens on every major and minor Qt5 release, for anyone using an AUR package that contains for example a platformtheme plugin. You'd think users would be familiar with the problem at this point.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The interesting thing about this is that qt5-styleplugins is part of a select group of Qt5 linked software which relies on Qt's private headers, and therefore depends on an exact version of Qt (as opposed to merely requiring a matching soname).
Essentially, this problem happens on every major and minor Qt5 release, for anyone using an AUR package that contains for example a platformtheme plugin. You'd think users would be familiar with the problem at this point.
Thanks for further explanation
Offline
And, to be fair, you say you have recently started using platformthemes, so I guess this was your learning experience.
But someone, at least, asks about this every time... hmm, maybe this should be in the Wiki under troubleshooting?
EDIT: Done! https://wiki.archlinux.org/index.php/Qt … Qt5_update
Last edited by eschwartz (2017-07-05 15:47:35)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline