Bug 990353

Summary: DrKonqi can't install debug symbols
Product: [openSUSE] openSUSE Tumbleweed Reporter: Mustafa Muhammad <mustafa1024m>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: wbauer
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugs.kde.org/show_bug.cgi?id=366793
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mustafa Muhammad 2016-07-23 06:20:01 UTC
I am using Plasma git on wayland (currently at 5.7.90git~20160721), DrKonqi can't install debug symbols.
Comment 1 Wolfgang Bauer 2016-08-15 15:44:32 UTC
I can reproduce this with a Krypton LiveCD.
The progress dialog pops up and stays forever, without a konsole window opening inside which the packages should be installed.

This error message shows up in .xsession-errors:
Unknown option 'c'

This comes from the following line in /usr/bin/installdbgsymbols.sh, which actually installs the packages:
    konsole -e sh -c "echo \$\$ > $fifo; $1; exit_status=\$?; sleep 1; rm $fifo; echo \$exit_status > $fifo" &

It seems to be an upstream regression in konsole though, it still works fine with the stable packages (15.04.3 currently).
Comment 2 Wolfgang Bauer 2016-08-15 15:45:39 UTC
(In reply to Wolfgang Bauer from comment #1)
> It seems to be an upstream regression in konsole though, it still works fine
> with the stable packages (15.04.3 currently).

I meant 16.04.3 of course...
Comment 3 Wolfgang Bauer 2016-08-15 16:12:06 UTC
For the record, the same problem exists with konsole 16.08.0:
$ konsole -v
konsole 16.08.0
$ konsole -e sh -c "echo test"
Unknown option 'c'.
Speicherzugriffsfehler

For comparison, with konsole 16.04.3:
$ konsole -v
Qt: 5.7.0
KDE Frameworks: 5.25.0
Konsole: 16.04.3
$ konsole -e sh -c "echo test"
kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
wolfi@amiga:~/Desktop> org.kde.kwindowsystem: Loaded plugin "/usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
(and a konsole window pops up shortly, displaying the text "test")

I'll file an upstream bug report against konsole later, if only to find out whether this is a change on purpose or a bug/regression...
(in the former case, the example scripts in drkonqi should be changed upstream IMHO)
I suspect that's caused by the switch to using Qt's QCommandLineParser though, i.e. porting konsole away from kdelibs4support.
Comment 4 Wolfgang Bauer 2016-08-15 16:30:50 UTC
KDE bugreport: https://bugs.kde.org/show_bug.cgi?id=366793

Closing as upstream for now...
Comment 5 Wolfgang Bauer 2016-08-16 20:34:01 UTC
(In reply to Wolfgang Bauer from comment #4)
> KDE bugreport: https://bugs.kde.org/show_bug.cgi?id=366793

As it is unknown when (or even if) this will be fixed, I decided to change the installdebugsymbols.sh script to use xterm instead for now:
https://build.opensuse.org/request/show/419616

This is in the (unstable) repos already, so closing as fixed instead.
Installation of debug symbols should work again with the latest packages in KDE:Unstable:Frameworks.