Workspace crashes because of Breeze after building with kde-builder

I am trying to build workspace to try a fix for Klipper. I follow these docs, namely I pointed out the various directories like this:

  source-dir: ~/Zdroje_a_programy/dev/kde/src  # Directory for downloaded source code
  build-dir: ~/Zdroje_a_programy/dev/kde/build  # Directory to build KDE into before installing
  install-dir: ~/Zdroje_a_programy/dev/kde/usr  # Directory to install KDE software into
  # qt-install-dir: ~/kde/qt  # Directory to install Qt if kde-builder supplies it
  log-dir: ~/Zdroje_a_programy/dev/kde/log  # Directory to write logs into

and ran

kde-builder workspace
kde-builder -install-login-session-only

I actually started over to make sure some weird timing issue was not causing the error, so I did a reset by running

sudo rm -rf /usr/local/share/xsessions/plasmax11-dev6.desktop \
/usr/local/share/wayland-sessions/plasmax11-dev6.desktop \
/opt/kde-dbus-scripts\
/etc/dbus-1/session.d/00-plasma.conf 
~/Zdroje_a_programy/dev/kde/

(Uninstalling what kde-builder installs is not really documented anywhere).

When I try to log in, workspace crashes (but kwin and krunner work, so I can launch applications and I get my three monitors working for example) with this error:

Starting plasma-plasmashell.service - KDE Plasma Workspace...
zář 30 12:48:33 GreenOne systemd[301982]: Started plasma-plasmashell.service - KDE Plasma Workspace.
zář 30 12:48:34 GreenOne plasmashell[302519]: kf.plasma.quick: Applet preload policy set to 1
zář 30 12:48:34 GreenOne plasmashell[302519]: org.kde.UserFeedback: failed to probe user feedback submission interface: "Host telemetry.kde.org not found" ""
zář 30 12:48:34 GreenOne plasmashell[302519]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
zář 30 12:48:36 GreenOne plasmashell[302519]: qt.qml.typeregistration: Invalid QML element name "Types"; value type names should begin with a lowercase letter
zář 30 12:48:36 GreenOne plasmashell[302519]: DecorationsModel: Adding theme "Breeze" from "org.kde.breeze"
zář 30 12:48:36 GreenOne plasmashell[302519]: DecorationsModel: Adding theme "Plastik" from "org.kde.kwin.aurorae"
zář 30 12:48:36 GreenOne plasmashell[302519]: DecorationsModel: Adding theme "Oxygen" from "org.kde.oxygen"
zář 30 12:48:36 GreenOne plasmashell[302519]: /home/drew/Zdroje_a_programy/dev/kde/usr/bin/plasmashell: symbol lookup error: /home/drew/Zdroje_a_programy/dev/kde/usr/lib64/plugins/org.kde.kdecoration3/org.kde.breeze.so: undefined symbol: _ZN12KDecoration312BorderRadiusC1Edddd
zář 30 12:48:36 GreenOne systemd[301982]: plasma-plasmashell.service: Main process exited, code=exited, status=127/n/a
zář 30 12:48:36 GreenOne systemd[301982]: plasma-plasmashell.service: Failed with result 'exit-code'.
zář 30 12:48:36 GreenOne systemd[301982]: plasma-plasmashell.service: Consumed 2.307s CPU time, 906.3M memory peak.

I am on Fedora 42 Kde Edition, the computer is Lenovo Thinkpad X1 Gen 2 (Nvidia GPU).

I can see that Breeze built badly and is lacking something about BorderRadius, but no idea what to do about that. I first tried to build Workspace a week ago and now gave it another go so it is not a one-off.

Ok, I had to edit this file:
~/PATH_TO_MY_KDE_DEVELOPMENT_DIRECTORY_WHICH_IS_NOT_DIRECTLY_IN_$HOME/kde/usr/lib64/libexec/plasma-dev-prefix.sh

and uncomment:

# LD_LIBRARY_PATH only needed if you are building without rpath
export LD_LIBRARY_PATH=/home/PATH_TO_MY_KDE_DEVELOPMENT_DIRECTORY_WHICH_IS_NOT_DIRECTLY_IN_$HOME/kde/usr/lib64:$LD_LIBRARY_PATH

The docs do not mention rpath anywhere, any idea why this is needed and why it did not work out out of the box?

(the path is /home/drew/Zdroje_a_programy/dev/kde)

That’s not expected and I’m pretty sure I’ve seen other contributors using custom directories just fine without needing to set that.

Based on the limited amount of information it seems like Plasma couldn’t load because of the Breeze failure. Did you end up rebuilding workspace?

Yeah, I was also surprised that it did not work. What other details I could provide? My system info is this:

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1650 with Max-Q Design
Manufacturer: LENOVO
Product Name: 20QVS0FP00
System Version: ThinkPad X1 Extreme 2nd

I tried several times rebuilding workspace, completely deleting and redownloading everything. The issue always returns, after every rebuild (and reinstall) of plasma-workspace, I have to uncomment LD_LIBRARY_PATH. I am at a loss too, this feels like something that should just work :-).

The file is made by cmake, and the template is in extra-cmake-modules repo:

Thanks!

Actually, turns out fetching the latest source fixed the issue, so I guess it was a bug that was fixed in the last four days, which was the time I last built plasma-frameworks. (which also indicates the file in question was not to blame, but something else, who knows what:-))