Bug 473642

Summary: Solid binary incompatibility breaks plasma-pk-updates, requiring a rebuild
Product: [Frameworks and Libraries] frameworks-solid Reporter: NovFedo <spavas>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: ahiemstra, b.queck, General.aNDy00, kdelibs-bugs, kevin.kofler, kiril, lukas, nate, plasma-bugs, pmrpla+bugskde, spavas
Priority: NOR    
Version: 5.108.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description NovFedo 2023-08-22 16:53:27 UTC
Hello 
since today's update 2023/08/22 plasma-pk-update is in error I'm giving you the error here
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/main.qml:25:1: plugin cannot be loaded for module "org.kde.plasma.PackageKit": Cannot load library /usr/lib64/qt5/qml/org/kde/plasma/PackageKit/libplasmapk_qmlplugins.so: (/usr/lib64/qt5/qml/org/kde/plasma/PackageKit/libplasmapk_qmlplugins.so: undefined symbol: _ZN5Solid3Job16staticMetaObjectE)
platform Fedoraf38 Kde 5.27.7
linux 6.4.11-200
can you please correct the error as reinstalling plasma-pk-update did not change anything
Sincerely
Comment 1 Nate Graham 2023-08-22 17:14:39 UTC
Sounds like a distro packaging error. I'd recommend reporting this to Fedora.
Comment 2 Antonio Rojas 2023-08-22 18:15:39 UTC
*** Bug 473647 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-08-22 20:47:02 UTC
*** Bug 473548 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Kofler 2023-08-23 08:45:25 UTC
I do not think it is fair to put the blame exclusively on downstream here. Yes, it was neglected to test this package (because it is no longer installed by default in Fedora, the Discover updater applet is used instead by default) and it seems it needs a rebuild, *but* the fact that it needs a rebuild to begin with is a breakage of the binary compatibility promises of the KF5 Solid Framework.
Comment 5 Kevin Kofler 2023-08-23 09:10:10 UTC
Looks like a downstream packaging issue after all: plasma-pk-updates requires Solid/Power:

/builddir/build/BUILD/plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp:30:10: fatal error: Solid/Power: No such file or directory
   30 | #include <Solid/Power>
      |          ^~~~~~~~~~~~~

which was disabled by:

https://src.fedoraproject.org/rpms/kf5-solid/c/627fe81b60b5f03b2b550002715efc97ed0df910?branch=rawhide

Tracking downstream under: https://bugzilla.redhat.com/show_bug.cgi?id=2233613
Comment 6 Kevin Kofler 2023-08-23 09:21:26 UTC
That said, the wrong packaging suggestion which caused this regression came from upstream, see: https://invent.kde.org/frameworks/solid/-/issues/4#note_701619