Summary: | flatpak apps using Qt plug-ins get "FATAL: Cannot mix incompatible Qt library" error after KDE runtime update | ||
---|---|---|---|
Product: | [Developer tools] Qt/KDE Flatpak Runtime | Reporter: | skierpage <info> |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | jgrulich, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | 409026 | ||
Bug Blocks: |
Description
skierpage
2019-06-21 01:48:52 UTC
(In reply to skierpage from comment #0) > I tried to reproduce the problem with another KDE app (elisa) and it didn't > have this problem. People in #flatpak IRC suggested that because Skrooge uses Qt plug-ins it must be rebuilt against the exact same libraries as in the KDE runtime whenever the latter's Qt library version changes. I don't know if this rebuild dependency on its runtime can be automated. > I don't know how to determine the date of the build of a KDE app. flatpak info org.kde.skrooge shows the date and commit message of the revision that was built, but you have to view build logs to figure out the timestamp of the build. > Unfortunately there doesn't seem to be any workaround for users. You have to find some helpful person (thanks TingPing) to kick off a rebuild of the flatpak. Note the skrooge flatpak on flathub has the same problem, https://github.com/flathub/org.kde.skrooge/issues/7 This happened again, I think because Flathub updating org.kde.Platform to 5.15.3. I created a Flathub issue and a KDE sysadmin phabricator ticket to rebuild Skrooge. If it happens to you, one workaround while waiting for the rebuild is to downgrade the KDE+Qt runtime. From https://unix.stackexchange.com/questions/552688/is-it-possible-to-roll-back-a-flatpak-update : $ flatpak remote-info --log flathub org.kde.Platform//5.NNN (e.g. ... org.kde.Platform//5.15) and then rollback to a working Qt, e.g. $ sudo flatpak update --commit=3522f785effad84e56b127dc800e2982ae4eeca621d7b12a1a26136039d452ae org.kde.Platform//5.15 It happened again, now > ##FATAL: Cannot mix incompatible Qt library (5.15.3) with this library (5.15.4) I filed https://github.com/flathub/org.kde.skrooge/issues/27 for org.kde.skrooge//stable and and a KDE sysadmin phabricator ticket for org.kde.skrooge//master to trigger rebuilds. |