https://bugs.kde.org/show_bug.cgi?id=436450

            Bug ID: 436450
           Summary: [kdesrc-build] startplasma startup uses "/usr" for
                    pathing when looking for "plasma-krunner.service",
                    instead of honoring exported paths
           Product: krunner
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: kyle.de...@mykolab.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

(If this isn't the appropriate product to file this bug under, feel free to
change it to whatever's more appropriate)


SUMMARY

A KDE build via kdesrc-build, when started with all of the proper exported
paths, should always look in the chosen installation prefix. However, as per
https://bugs.kde.org/show_bug.cgi?id=436435, the startplasma startup process
will, for whatever reason, will end up calling
"/usr/lib/systemd/user/plasma-krunner.service" instead of
"/run/media/valmar/DataSSD/kde/usr/lib/systemd/user/plasma-krunner.service".

As a weird consequence, the system KRunner searches in kdesrc-build install
prefix for its plugins, and Milou, and crashes due to incompatible versions,
and symbol lookup error in Milou's case.

To run my kdesrc-build setup, I use a .bashrc function,
https://invent.kde.org/-/snippets/1623, which calls this script,
https://invent.kde.org/-/snippets/1624 to actually start Plasma.

Also, here's the KRunner error output from journalctl:
https://invent.kde.org/-/snippets/1622


STEPS TO REPRODUCE

1. Build KDE suite via kdesrc-build
2. Start kdesrc-build Plasma session
3. Search in KRunner until you get some search results
4. Crash

In your process viewer of choice, you should observe the KRunner process having
the command name of "/usr/bin/krunner" instead of
"/run/media/valmar/DataSSD/kde/usr-2021-04-30-17-35/bin/krunner" or the like.


SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.0-arch1-1-custom (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: Radeon RX 580 Series

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to