Am Mittwoch, 26. Mai 2010, 22:41:08 schrieb Martin Koller:

> Hi all,

>

> I'm trying to build an RPM of my kbackup program also for Mandriva.

> The log

> https://build.opensuse.org/package/live_build_log?arch=i586&package=kbackup-kde4&project=home%3Amartinkoller&repository=Mandriva_2009.1

>

> shows that the build succeeds, but it stops at the end with the message

>

> CMake Error at src/cmake_install.cmake:36 (FILE):

>   file INSTALL cannot copy file

>   "/home/abuild/rpmbuild/BUILD/kbackup-0.6.4/build/src/kbackup" to

>   "/usr/bin/kbackup".

>

> Any hints why this fails ?


it is a but in the cmake files, it ignores the DESTDIR or INSTALL_ROOT

and tries to modify the system. It fails because it does not have root

permissions to create a link below /usr directory.

bye

adrian

--

Adrian Schroeter

SUSE Linux Products GmbH

email: adrian@suse.de