FS#43699 - KDevelop 4.7.1-1 fail to debug

Attached to Project: Arch Linux
Opened by Nicolas Bigaouette (big_gie) - Wednesday, 04 February 2015, 19:30 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 05 February 2015, 16:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
KDevelop v4.7.1-1 fails to debug a program. When clicking debug I get a popup:
"the current launch configuration does not support the 'debug' mode"

Running from the command line shows the problem:
$ kdevelop 2>&1 | grep -v -i Spellcheck
1:kdevelop(10173)/kdeui (kdelibs): Attempt to use QAction "commit_or_finish_review" with KXMLGUIFactory!
2:kdevelop(10173)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Could not obtain factory to load plugin "kdevokteta" "Cannot load library /usr/lib/kde4/kdevokteta.so: (libkasten2okteta1core.so.1: cannot open shared object file: No such file or directory)"
3:kdevelop(10173)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Loading plugin ' "kdevokteta" ' failed.
4:kdevelop(10173)/kdevdefinesandincludes CompilerProvider::checkCompilerExists: Selected compiler: "GCC"
5:kdevelop(10173)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Could not obtain factory to load plugin "kdevgdb" "Cannot load library /usr/lib/kde4/kdevgdb.so: (libprocessui.so.4: cannot open shared object file: No such file or directory)"
6:kdevelop(10173)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Loading plugin ' "kdevgdb" ' failed.
7:kdevelop(10173)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Loading plugin ' "kdevkonsoleview" ' failed.

The GDB plugin /usr/lib/kde4/kdevgdb.so seems to refer to "libprocessui.so.4" which is not present on my system.

Same thing for /usr/lib/kde4/kdevokteta.so refering to libkasten2okteta1core.so.1.

Under plasma-desktop 5.2.0-2 (x86_64).


Steps to reproduce:
1. Install kdevelop v4.7.1-1 from extra.
2. Launch and load a project.
3. Try to debug it.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 05 February 2015, 16:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#42878 
Comment by Doug Newgard (Scimmia) - Thursday, 05 February 2015, 03:03 GMT
And what happens when you install the optional dep "oktetapart4"?
Comment by Tom (SeeLook) - Thursday, 05 February 2015, 10:30 GMT
I can confirm that issue,
I'm suffering of that since I migrated to plasma 5. (kdevelop 4.7.0 and now 4.7.1)
Installing oktetapart4 just adds okteta to plugins but kdevgdb is stil missing.
Comment by Doug Newgard (Scimmia) - Thursday, 05 February 2015, 16:06 GMT
Shoot, I looked at the wrong one. The package does list kdebase-workspace as an optional dep "GDB plugin and 'Attach to process' functionality". Is this installed?
Comment by Nicolas Bigaouette (big_gie) - Thursday, 05 February 2015, 16:15 GMT
@Doug: I cannot install kdebase-workspace (4.11.15-1) because it conflicts with kdeplasma-addons-frameworks (5.2.0-1). I did download it and unpacked it though; the libprocessui.so.4 is there so the "problem" can be fixed by installing kdebase-workspace.

So the issue can be changed then: kdeplasma-addons-frameworks should provide the file. Maybe to many things changed in plasma 5 and it lib is not present anymore. In this case, I don't know what would be the solution. The user has to be informed that debugging with kdevelop is not possible under plasma 5 for now.

I installed kdevelop-git from aur instead.

Loading...