[cmake-developers] [CMake 0012284]: User Install time created symlinks are not preserved in TGZ

Mantis Bug Tracker mantis at public.kitware.com
Fri Jun 17 16:57:56 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12284 
====================================================================== 
Reported By:                Eric NOULARD
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12284
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-06-17 22:57 CEST
Last Modified:              2011-06-17 22:57 CEST
====================================================================== 
Summary:                    User Install time created symlinks are not preserved
in TGZ
Description: 
Reporte by John Cary on the ML
http://www.cmake.org/pipermail/cmake/2011-June/044940.html

Steps to Reproduce: 
Attached is a minimal standalone example that illustrates the problem.

If build dir is next to the directory resulting from untarring this, do

cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt
make all install
# You will see that in the installation, the top cmtdir is a link:
numbersix.cary$ ls -l $HOME/tmp/cmtprefix/cmtdir
lrwxrwxr-x  1 cary  research  10 Jun 17 11:16 /Users/cary/tmp/cmtprefix/cmtdir
-> bin/cmtdir
# then do
make package
tar xzf cmt-1.1.1-Darwin.tar.gz
# and you will see that the top-level cmtdir is a directory:
numbersix.cary$ ls -l cmt-1.1.1-Darwin
total 0
drwxrwxr-x  3 cary  research  102 Jun 17 11:25 bin
drwxrwxr-x  3 cary  research  102 Jun 17 11:25 cmtdir

such that two copies of the binary are installed
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-17 22:57 Eric NOULARD   New Issue                                    
2011-06-17 22:57 Eric NOULARD   File Added: cmt.tgz                          
======================================================================




More information about the cmake-developers mailing list