FS#42878 - [kdevelop] plugin kdevgdb misses libprocessui.so.4 without kdebase-workspace

Attached to Project: Arch Linux
Opened by Wouter Haffmans (haffmans) - Saturday, 22 November 2014, 22:01 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 06 December 2014, 10:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

The GDB plugin of KDevelop (/usr/lib/kde4/kdevgdb.so) requires libprocessui.so.4. This library is in kdebase-workspace, but that is not a dependency of kdevelop.

Kdebase-workspace conflicts with plasma-desktop ("plasma-next" group). That means if you install Plasma 5, you cannot use the debugger options in kdevelop.

Additional info:
* kdevelop-4.7.0-4
* error: kdevelop(8894)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Loading plugin ' "kdevgdb" ' failed.
* $ ldd /usr/lib/kde4/kdevgdb.so:
...
libprocessui.so.4 => not found
...

Steps to reproduce:

1. Remove kdebase-workspace
2. Install kdevelop
3. Run kdevelop

The error output shows the plugin could not be loaded. ldd /usr/lib/kde4/kdevgdb.so shows libprocessui.so.4 is not found.

If anything, the optional dependencies of the package should reflect that the GDB plugin requires kdebase-workspace (Plasma 4); a better solution would of course be to have the gdb plugin working without kdebase-workspace (while providing 'Attach to process' functionality optionally, as currently described) - but I'm not sure if that's possible.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 06 December 2014, 10:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  kdevelop 4.7.0-5
Comment by Andrea Scarpino (BaSh) - Saturday, 06 December 2014, 10:17 GMT
I guess the correct way to fix this is to add kdebase-workspace as dependence again (you do expect debug support from an IDE, right?), but since we want to make the transition to Plasma Next smooth, I'll add this note in the optdepends until a KDevelop version for KF5 is out.

Loading...