FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian KDE

 
 
LinkBack Thread Tools
 
Old 06-16-2010, 09:47 AM
"Andrea Iacovitti"
 
Default kde4libs dpkg-buildpackage fails

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
 
Old 06-16-2010, 10:55 AM
Cassiano Leal
 
Default 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: http://lists.debian.org/L43PUR$817A668B88A01B4C9E77301F972C1366@libero.it
>
>


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikHMf4nDsfUNNvi6cct64X77OoNe-Va071McaLu@mail.gmail.com">http://lists.debian.org/AANLkTikHMf4nDsfUNNvi6cct64X77OoNe-Va071McaLu@mail.gmail.com
 
Old 06-16-2010, 11:40 AM
George Kiagiadakis
 
Default kde4libs dpkg-buildpackage fails

On Wed, Jun 16, 2010 at 12:47 PM, 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.

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 debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimH5NJ1bb4Ha19Myz63yUl8YzbXZu1uiQSLmsGs@mail .gmail.com">http://lists.debian.org/AANLkTimH5NJ1bb4Ha19Myz63yUl8YzbXZu1uiQSLmsGs@mail .gmail.com
 
Old 06-16-2010, 01:44 PM
Andrea Iacovitti
 
Default kde4libs dpkg-buildpackage fails

> 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.

Yes, you are right.
Removing libpolkit-qt-dev the packages build fine.

Thanks,
Andrea.


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201006161544.41237.aiacovitti@libero.it">http://lists.debian.org/201006161544.41237.aiacovitti@libero.it
 

Thread Tools




All times are GMT. The time now is 11:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org