Version: 4.7.0 (using KDE 4.7.0) OS: MS Windows With recent kde buildsystems there are problems with installed pathes of dbus services installed in <install-root>/share/dbus-1/services The kde-runtime dbus service org.kde.knotify.service contains the build time install path, which is normally not the runtime install path. Reproducible: Always Steps to Reproduce: Install at least kde-runtime using kdewin installer, open a command shell and run: dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.kde.knotify uint32:0 Actual Results: The service is not started and the following error message will be printed Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program c:/kde/build/bin/knotify4: Das System kann die angegebene Datei nicht finden. Expected Results: The service should be started indicated by the following printed message method return sender=org.freedesktop.DBus -> dest=:1.1 reply_serial=2 uint32 1 The solution is to use a relative path for the dbus service executable path. This require a fix of the related service cmake buildsystem. This error may affect all KDE dbus services installed on windows and it not bound to kde-runtime only.
(In reply to comment #0) > This error may affect all KDE dbus services installed on windows and it not > bound to kde-runtime only. Installing whole kde 4.7.0 windows msvc release shows the following services: c:\Program Files\kde-4.7.0-vc100\>dir share\dbus-1\services 30.10.2011 14:29 77 org.freedesktop.Akonadi.Control.service 30.10.2011 14:29 49 org.kde.kget.service 25.10.2011 17:36 58 org.kde.knotify.service 30.10.2011 14:29 55 org.kde.krunner.service 30.10.2011 14:30 57 org.kde.kuiserver.service These services belongs to the following packages: c:\Program Files\kde-4.7.0-vc100\bin>grep Akonadi.Control ..\manifest\*.mft ..\manifest\akonadi-vc100-1.6.0-bin.mft c:\Program Files\kde-4.7.0-vc100\bin>grep org.kde.kget ..\manifest\*.mft ..\manifest\kdenetwork-vc100-4.7.0-bin.mft c:\Program Files\kde-4.7.0-vc100\bin>grep org.kde.krunner ..\manifest\*.mft ..\manifest\kde-workspace-vc100-4.7.0-bin.mft c:\Program Files\kde-4.7.0-vc100\bin>grep org.kde.kuiserver ..\manifest\*.mft ..\manifest\kde-runtime-vc100-4.7.0-1-bin.mft c:\Program Files\kde-4.7.0-vc100\bin>grep org.kde.knotify ..\manifest\*.mft ..\manifest\kde-runtime-vc100-4.7.0-1-bin.mft
Git commit d64775fb1a35ac2071f2401cadb8eccd2ea5b66d by Patrick Spendrin. Committed on 02/03/2012 at 11:04. Pushed by sengels into branch 'KDE/4.8'. do not hardcode pathes on windows M +6 -0 kuiserver/CMakeLists.txt M +1 -1 kuiserver/org.kde.kuiserver.service.in http://commits.kde.org/kde-runtime/d64775fb1a35ac2071f2401cadb8eccd2ea5b66d
Git commit d0b6a0392484a7f7533f8f82775c4e0674c752f5 by Patrick Spendrin. Committed on 02/03/2012 at 11:01. Pushed by sengels into branch 'KDE/4.8'. do not hardcode directories on windows M +5 -0 knotify/CMakeLists.txt M +1 -1 knotify/org.kde.knotify.service.cmake http://commits.kde.org/kde-runtime/d0b6a0392484a7f7533f8f82775c4e0674c752f5
Git commit 4bbc0f8e753fd7cb7ac6ccc1bcf5b88d15039037 by Patrick Spendrin. Committed on 02/03/2012 at 11:08. Pushed by sengels into branch 'KDE/4.8'. do not hardcode pathes on windows M +6 -0 krunner/CMakeLists.txt M +1 -1 krunner/dbus/org.kde.krunner.service.in http://commits.kde.org/kde-workspace/4bbc0f8e753fd7cb7ac6ccc1bcf5b88d15039037
SVN commit 1283175 by sengels: do not hardcode pathes on windows M +6 -0 CMakeLists.txt M +1 -1 org.kde.kget.service.in WebSVN link: http://websvn.kde.org/?view=rev&revision=1283175
The patch https://projects.kde.org/projects/kdesupport/emerge/repository/revisions/master/changes/portage/win32libs-sources/dbus-src/16e6236b8310d41d0f21923bb87fa4cf148919d0.patch is required to use relative install-root based pathes for service executables