SUMMARY When building discover with kdesrc-build, you have a error when trying to run with kdesrc-run because the discover's prefix.sh is located in $HOME/kde/build/discover but the binary is located in $HOME/kde/usr/bin/plasma-discover. The name must be either discover or plasma-discover STEPS TO REPRODUCE 1. Build discover : ./kdrsrc-build discover (https://community.kde.org/Get_Involved/development#Build_some_software) 2. Try to run it : kdesrc-run discover OBSERVED RESULT $ kdesrc-run discover kdesrc-run:2: aucun fichier ou dossier de ce type: /home/william/kde/usr/bin/discover $ kdesrc-run plasma-discover kdesrc-run:source:2: aucun fichier ou dossier de ce type: /home/william/kde/build/plasma-discover/prefix.sh EXPECTED RESULT No error SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon devel edition KDE Plasma Version: 5.18.80 KDE Frameworks Version: 5.69 Qt Version: 5.14.1 kdesrc-build : git master
When the binary name is not the same as module name, use --exec option: kde-builder discover --exec plasma-discover