On Thursday, 27. May 2010 12:03:47 Stephan Kleine wrote:
On Wednesday May 26 2010 22:41:08 Martin Koller wrote:
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 ?
You have to install the stuff bellow %buildroot and not /. See security:OpenVAS if you need examples of stuff using cmake building for Mandriva.
Thanks for your hint. I have adapted the spec file but now it fails on the following: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=kbackup-kde4&project=home%3Amartinkoller&repository=Mandriva_2009.1 RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/doc/HTML/de/kbackup/index.cache.bz2 /usr/share/doc/HTML/de/kbackup/index.docbook ... I have tried but I'm lost. I have no idea what to change how in the spec file to make it work for Mandriva. Anybody here to help me out, please ? -- Best regards/Schöne Grüße Martin () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at