gammaray missing required dependency: syntax-highlighting
Description:
Observed behavior:
After installing gammaray
and launching it from the command line, no GUI application is launched, and the following output is produced:
❯ gammaray
/usr/lib/gammaray/libexec/gammaray-launcher: error while loading shared libraries: libKF6SyntaxHighlighting.so.6: cannot open shared object file: No such file or directory
Usage: gammaray [options] [--pid <pid> | <application> <args> | --connect <host>[:<port>]]
Inspect runtime internals of a Qt-application, such as:
QObject tree, properties, signal/slots, widgets, models,
graphics views, javascript debugger, resources,
state machines, meta types, fonts, codecs, text documents
Options:
-i, --injector <injector> set injection type, possible values:
preload, gdb, lldb, style
-o, --injector-override <executable> Override the injector executable if handled (requires -i/--injector)
-p, --pid <pid> attach to running Qt application
--inprocess use in-process UI
--inject-only only inject the probe, don't show the UI
--listen <address> specify the address the server should listen on [default: tcp://0.0.0.0]
--no-listen disables remote access entirely (implies --inprocess)
--list-probes list all installed probes
--probe <abi> specify which probe to use
--connect <host>[:port] connect to an already injected target
--self-test [injector] run self tests, of everything or the specified injector
-h, --help print program help and exit
-v, --version print program version and exit
When run without any options, gammaray will present a list of running
Qt-applications from which you can attach the selected injector. Else,
you can attach to a running process by specifying its pid, or you can
start a new Qt-application by specifying its name (and optional arguments).
Expected behavior:
Launching gammaray
from the command line should not output the help text nor should it output an error loading a shared library, and it should instead display the gammaray
GUI application.
Probable solution:
syntax-highlighting
provides libKF6SyntaxHighlighting.so.6
, and likely needs to become a required dependency of gammaray
. Installing syntax-highlighting
resolves the issue.
Additional info:
- package version(s):
gammaray-3.0.0-8
- config and/or log files:
- N/A
- link to upstream bug report, if any:
- N/A
Steps to reproduce:
- Execute
gammaray
from the command line under a graphical environment of some sort. - Also observe that attempting to launch
gammaray
via its.desktop
entry fails.
Edited by Alex Tharp