Bug 473642 - Solid binary incompatibility breaks plasma-pk-updates, requiring a rebuild
Summary: Solid binary incompatibility breaks plasma-pk-updates, requiring a rebuild
Status: RESOLVED DOWNSTREAM
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.108.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 473548 473647 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-22 16:53 UTC by NovFedo
Modified: 2023-08-25 06:50 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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