[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kde4libs dpkg-buildpackage fails



Just an educated guess: leftovers from the migration of policykit to
policykit-1. If this is the case, file the bug report and provide the
patch.

In any case, I'd wait until someone more knowledgeable on this matter
puts their voice out.

Cheers,
Cassiano

On 16 June 2010 06:47, Andrea Iacovitti <aiacovitti@libero.it> 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.
>
>
> --
> To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: L43PUR$817A668B88A01B4C9E77301F972C1366@libero.it">http://lists.debian.org/L43PUR$817A668B88A01B4C9E77301F972C1366@libero.it
>
>


Reply to: