On Wed, Jun 16, 2010 at 12:47 PM, Andrea Iacovitti <[email protected]> wrote: > Hi all, > today i tried to build from source kde4libs (version 4:4.4.4-1) with > 'dpkg-buildpackage' command. > I'm running an up-to-date debian unstable. > Build fails with the following error: > > ... > dh_installudev -pkdelibs5-data > dh_lintian -pkdelibs5-data > dh_install -pkdelibs5-data > cp: cannot stat > `debian/tmp/usr/share/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy': > No such file or directory > dh_install: cp -a > debian/tmp/usr/share/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy > debian/kdelibs5-data//usr/share/polkit-1/actions/ returned exit code 1 > make: *** [binary-install/kdelibs5-data] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status > 2 > .... > > I solved with the following patch: > > --- kdelibs/cmake/modules/FindPolkitQt.cmake > +++ kdelibs/cmake/modules/FindPolkitQt.cmake > @@ -90,7 +90,7 @@ > > mark_as_advanced(POLKITQT_INCLUDE_DIR POLKITQT_CORE_LIBRARY > POLKITQT_GUI_LIBRARY POLKITQT_LIBRARIES POLKITQT_VERSION_OK) > > -set(POLKITQT_POLICY_FILES_INSTALL_DIR share/PolicyKit/policy/) > +set(POLKITQT_POLICY_FILES_INSTALL_DIR share/polkit-1/actions/) > > if(POLKITQT_FOUND) > get_filename_component(_POLKITQT_INSTALL_PREFIX > "${POLKITQT_CORE_LIBRARY}" PATH) > > > I made all sort of check but may be my system is misconfigured, thus i'm not > opening a bug report. > Is anyone experiencing the same problem? > > Regards, > Andrea.
Perhaps you have both libpolkit-qt-dev and libpolkit-qt-1-dev installed and cmake picks the first one? Normally, FindPolkitQt.cmake should fail (i.e. not find anything) and FindPolkitQt-1.cmake is the one that should be working. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

