workspace fails in dateandtime kcm

Martin Gräßlin mgraesslin at kde.org
Wed Oct 23 11:02:51 UTC 2013


On Sunday 20 October 2013 13:00:18 Christoph Feck wrote:
> On Sunday 20 October 2013 12:30:05 Martin Graesslin wrote:
> > On Sunday 20 October 2013 11:44:48 Christoph Feck wrote:
> > > Hi,
> > > 
> > > I am getting this weird error during "make" (not "make install"):
> > > 
> > > /bin/sh: /local/git/KDE/base/kde-workspace-
> > > frameworks/kcontrol/dateandtime/kcmclock_actions.actions:
> > > Permission denied
> > > make[2]: ***
> > > [kcontrol/dateandtime/org.kde.kcontrol.kcmclock.policy] Error
> > > 126
> > 
> > As it was me who re-enabled that KCM: no idea what's going on
> > there. I certainly did not see this, but it's also not the first
> > time that things compile on my system but not on others :-(
> > Jenkins seems happy, though.
> > 
> > I assume you already tried to a clean build?
> 
> Yes, completely clean build, i.e. empty build and install dirs. The
> issue seems to be that I installed kdelibs as root, but build
> workspace as user. This does not seem to be supported.
So I hit the same problem today. Interestingly when I comment out the 
directory, build and uncomment again, the build succeeds.

Furthermore I came up with this temp patch:

diff --git a/kcontrol/dateandtime/CMakeLists.txt 
b/kcontrol/dateandtime/CMakeLists.txt
index cfb77ee..9df3afe 100644
--- a/kcontrol/dateandtime/CMakeLists.txt
+++ b/kcontrol/dateandtime/CMakeLists.txt
@@ -25,9 +25,9 @@ kde4_add_executable(kcmdatetimehelper helper.cpp 
${helper_mocs})
 target_link_libraries(kcmdatetimehelper KF5::KAuth KF5::KConfigCore 
${KDE4Support_LIBRARIES})
 install(TARGETS kcmdatetimehelper DESTINATION ${LIBEXEC_INSTALL_DIR})
 
-kde4_install_auth_helper_files(kcmdatetimehelper org.kde.kcontrol.kcmclock 
root)
+# kde4_install_auth_helper_files(kcmdatetimehelper org.kde.kcontrol.kcmclock 
root)
 
-kde4_install_auth_actions(org.kde.kcontrol.kcmclock kcmclock_actions.actions)
+# kde4_install_auth_actions(org.kde.kcontrol.kcmclock 
kcmclock_actions.actions)
 
 ########### install files ###############
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131023/1da9fbfe/attachment.sig>


More information about the Kde-frameworks-devel mailing list