Bug 436450 - [kdesrc-build] startplasma startup uses "/usr" for pathing when looking for "plasma-krunner.service", instead of honoring exported paths
Summary: [kdesrc-build] startplasma startup uses "/usr" for pathing when looking for "...
Status: RESOLVED DUPLICATE of bug 427340
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-01 12:50 UTC by Kyle Devir
Modified: 2021-05-04 03:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Devir 2021-05-01 12:50:29 UTC
(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
Comment 1 Nate Graham 2021-05-03 21:10:14 UTC
Are you using the systemd startup feature?
Comment 2 Kyle Devir 2021-05-04 03:25:00 UTC
Yes, I am.
Comment 3 Nate Graham 2021-05-04 03:29:24 UTC
Aha, then you are hitting Bug 427340.

*** This bug has been marked as a duplicate of bug 427340 ***