View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010096CMakeCPackpublic2010-01-05 17:232011-01-18 16:34
ReporterDerek Bruening 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake 2.8.3 
Summary0010096: cpack does not preserve symlinks in CPACK_INSTALLED_DIRECTORIES
DescriptionWhen incorporating files external to a project into a package I use CPACK_INSTALLED_DIRECTORIES. However, it de-references symbolic links, resulting in duplicate files and wasted space in the final package.

I tested with cmake-2.8.0-rc2-Linux-i386 and it has the same behavior.

Xref case 5430 about a similar problem but with source packages.

I don't see a file() or other command to create a symbolic link so I don't have a good workaround for this.
TagsNo tags attached.
Attached Files

 Relationships
related to 0005430closedEric NOULARD cpack does not preserve symbolic links in the source distribution tarball 

  Notes
(0019115)
bobkuehne (reporter)
2010-01-13 10:44

i'd raise the priority on this *quite* a bit - it effectively means cmake packaging for linux versions is impossible. my c++ application now breaks entirely when it runs, due to the library symlink conventions on unix. for example, libfoo.so typically links to libfoo.so.1, which in turn links to the real version, libfoo.so.20.3.1. the app then resolves its link to one of those, and with the links missing, a failure at runtime occurs.
(0021539)
Eric NOULARD (developer)
2010-07-29 08:45

I did propose a patch for 5430.
I think the two bugs may be closed together if the patch is accepted.
(0021540)
Eric NOULARD (developer)
2010-07-29 08:46

Bill,

I did assign the bug to you too because if 5430 is closed
this one should be too.
(0024899)
Eric NOULARD (developer)
2011-01-18 16:34

Closed with its sibling/related bug 5430

 Issue History
Date Modified Username Field Change
2010-01-05 17:23 Derek Bruening New Issue
2010-01-13 10:44 bobkuehne Note Added: 0019115
2010-07-26 07:35 Eric NOULARD Relationship added related to 0005430
2010-07-29 08:45 Eric NOULARD Note Added: 0021539
2010-07-29 08:45 Eric NOULARD Status new => assigned
2010-07-29 08:45 Eric NOULARD Assigned To => Bill Hoffman
2010-07-29 08:46 Eric NOULARD Note Added: 0021540
2011-01-18 16:34 Eric NOULARD Note Added: 0024899
2011-01-18 16:34 Eric NOULARD Status assigned => closed
2011-01-18 16:34 Eric NOULARD Resolution open => fixed
2011-01-18 16:34 Eric NOULARD Fixed in Version => CMake 2.8.3


Copyright © 2000 - 2018 MantisBT Team