FS#66486 - [kdevelop] missing dependencies break debug plugins

Attached to Project: Arch Linux
Opened by O Hell (ohell_) - Friday, 01 May 2020, 00:26 GMT
Last edited by Antonio Rojas (arojas) - Friday, 15 September 2023, 17:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After update to the lldb package, lld-mi is not available by default (see email link below). This change causes debug plugin to break (error: Could not run 'lldb-mi'. Make sure that the path name is specified correctly.).

gdb plugin does not work by default either, because it needs the package [okteta] to be installed.

okteta and lldb-mi should be set as dependencies for kdevelop package.

Additional info:
* 5.5
* config and/or log files etc.
* https://lists.llvm.org/pipermail/lldb-dev/2019-August/015357.html

Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 15 September 2023, 17:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  kdevelop 23.08.1-2
Comment by Doug Newgard (Scimmia) - Friday, 01 May 2020, 04:39 GMT
okteta is already an optional dep. It looks like lldb-mi needs to be packaged and added as an optional dep, though.
Comment by Antonio Rojas (arojas) - Friday, 01 May 2020, 08:30 GMT
This will not work anyway since Arch only provides python 3 lldb bindings and kdevelop only supports python2 https://bugs.kde.org/show_bug.cgi?id=413372

Given that there's not even a standalone release of lldb-mi out yet, there's no point in packaging it at least until kdevelop upstream moves to python3
Comment by O Hell (ohell_) - Friday, 01 May 2020, 13:58 GMT
Pardon my ignorance since I started using kdevelop only recently, but why are these dependencies considered optional? It takes some searching for new users to figure out how to enable debugging, which is not an uncommon user need.
Comment by Doug Newgard (Scimmia) - Friday, 01 May 2020, 14:00 GMT
It doesn't take any searching if you read what pacman tells you when you install it.
Comment by Antonio Rojas (arojas) - Friday, 15 September 2023, 09:08 GMT
lldb support has finally been ported to python3 in kdevelop, will look into packaging lldb-mi

Loading...