Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71522 - libpackagekitqt5 is not provided at runtime for dolphin service menu installer

Attached to Project: Arch Linux
Opened by Alexander Lohnau (alex1701c) - Friday, 16 July 2021, 12:17 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 14 August 2021, 08:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The libpackagekitqt5 package is optional for dolphin, but if the project is compiled with it and it is not provided at runtime the service menu installer will crash.

The solution would be to make this dependency required or set the CMAKE_DISABLE_FIND_PACKAGE variable for this dependency.
Considering that I am not aware of the packagekit functionality being much used on arch I would recommend the second option.

This was reported by multiple users on reddit or the individual service menu projects, including https://store.kde.org/p/1328693 or https://github.com/alex1701c/JetBrainsDolphinPlugin/issues/2.

A similar issue is https://bugs.kde.org/show_bug.cgi?id=424734, but there at least no crash is caused.


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 14 August 2021, 08:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Removed packagekit support
Comment by Antonio Rojas (arojas) - Friday, 16 July 2021, 12:36 GMT
This is exactly what optional dependencies are for, which Arch users are expected to know how to use. At least one of the issues you linked is not from Arch but from some dumbed-down derivative, if they have different expectations for their users they should modify the packaging accordingly.
Comment by Alexander Lohnau (alex1701c) - Friday, 16 July 2021, 16:42 GMT
  • Field changed: Percent Complete (100% → 0%)
But those are optional build time dependencies. Not runtime ones.

If they are provided at build time they need to be provided at runtime too.
Comment by Antonio Rojas (arojas) - Friday, 16 July 2021, 16:49 GMT
No, they don't. Dolphin works perfectly fine without it, you just can't install third party service menus from its GUI, which is not exactly critical funcionality. And both the optional dependency description and the error message you get should be enough to figure out what is missing.

You might argue that the packagekit use in the installer is residual enough to justify dropping its use, and that might be the case (I'd have to take a look), but there's certainly nothing wrong with the way it is currently packaged per se: that's just how optional runtime functionality (such as plugins) is managed in Arch.

Loading...