MantisBT - CMake
View Issue Details
0009927CMakeCPackpublic2009-11-19 15:162009-11-22 13:35
Vladislav Vaintroub 
Eric NOULARD 
normalminorhave not tried
closedfixed 
CMake-2-8 
CMake-2-8 
0009927: CPack RPM generator does not seem to install symlinks
Hello, I'm trying to get CMake/CPack working for MySQL/Unix.
I'm using some INSTALL commands and among them I install couple of symlinks. I see the symlinks in .tar.gz, but RPM generator does not seem to like it or package it.

rpmbuild.err says:

warning: Installed (but unpackaged) file(s) found:
   /usr/lib/libmysqlclient.so
   /usr/lib/libmysqlclient_r.a
   /usr/lib/libmysqlclient_r.so
   /usr/mysql-test/mtr
   /usr/mysql-test/mysql-test-run

libmysqlclient.so is created as symlink by ADD_LIBRARY with SOVERSION, all other symlinks are created with 'cmake -E create_symlink' and INSTALLed
Got it on Fedora 11 x86_64
No tags attached.
related to 0009654closed Eric NOULARD [CPackRPM] %files section in spec file shall not contain all directories 
related to 0012253closed Eric NOULARD CPack RPM generator self dependency trouble 
Issue History
2009-11-19 15:16Vladislav VaintroubNew Issue
2009-11-22 09:33Alex NeundorfStatusnew => assigned
2009-11-22 09:33Alex NeundorfAssigned To => Eric NOULARD
2009-11-22 12:45Eric NOULARDRelationship addedrelated to 0009654
2009-11-22 12:45Eric NOULARDNote Added: 0018533
2009-11-22 12:53Eric NOULARDNote Added: 0018534
2009-11-22 13:35Eric NOULARDNote Added: 0018540
2009-11-22 13:35Eric NOULARDStatusassigned => closed
2009-11-22 13:35Eric NOULARDResolutionopen => fixed
2009-11-22 13:35Eric NOULARDFixed in Version => CMake-2-8
2011-06-08 04:05Eric NOULARDRelationship addedrelated to 0012253

Notes
(0018533)
Eric NOULARD   
2009-11-22 12:45   
ok noted.
This is an unwanted side-effect of
http://public.kitware.com/Bug/view.php?id=9654 [^]

working on it.
(0018534)
Eric NOULARD   
2009-11-22 12:53   
Now fixed in CVS HEAD.
Note that bug 9654 and this one must be taken BOTH AT ONCE for inclusion in 2-8.

Committer: Eric Noulard <eric.noulard@gmail.com>
/cvsroot/CMake/CMake/Modules/CPackRPM.cmake,v <-- Modules/CPackRPM.cmake
new revision: 1.20; previous revision: 1.19
(0018540)
Eric NOULARD   
2009-11-22 13:35   
May be included in 2.8.1