MantisBT - CMake
View Issue Details
0015899CMakeCPackpublic2016-01-02 14:142016-05-02 08:30
Andrey M. Mishchenko 
 
normalminoralways
closedfixed 
Apple Mac x86OSX10.11
CMake 3.4.1 
CMake 3.5CMake 3.5 
0015899: The DragNDrop CPack generator has an off-by-one in its code line-wrapping LICENSE files configured in CPack
The package target fails to build given the simple CMakeLists.txt and license.txt attached.
No tags attached.
txt CMakeLists.txt (154) 2016-01-02 14:14
https://public.kitware.com/Bug/file/5598/CMakeLists.txt
txt license.txt (512) 2016-01-02 14:14
https://public.kitware.com/Bug/file/5599/license.txt
Issue History
2016-01-02 14:14Andrey M. MishchenkoNew Issue
2016-01-02 14:14Andrey M. MishchenkoFile Added: CMakeLists.txt
2016-01-02 14:14Andrey M. MishchenkoFile Added: license.txt
2016-01-02 14:15Andrey M. MishchenkoNote Added: 0040041
2016-01-07 15:13Brad KingNote Added: 0040149
2016-01-08 11:31Brad KingNote Added: 0040159
2016-01-08 11:32Brad KingNote Added: 0040160
2016-01-08 11:32Brad KingStatusnew => resolved
2016-01-08 11:32Brad KingResolutionopen => fixed
2016-01-08 11:32Brad KingFixed in Version => CMake 3.5
2016-01-08 11:32Brad KingTarget Version => CMake 3.5
2016-05-02 08:30Robert MaynardNote Added: 0040996
2016-05-02 08:30Robert MaynardStatusresolved => closed

Notes
(0040041)
Andrey M. Mishchenko   
2016-01-02 14:15   
To reproduce, just run `cmake` followed by `cmake package`.
(0040149)
Brad King   
2016-01-07 15:13   
Corresponding mailing list thread:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/15343 [^]
(0040159)
Brad King   
2016-01-08 11:31   
Patch from mailing list applied here:

 CPack/DragNDrop: Fix handling of certain license file content
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bbb3c4ff [^]
(0040160)
Brad King   
2016-01-08 11:32   
The change linked in 0015899:0040159 should fix this. Any needed follow-up can be discussed in the mailing list thread. Thanks!
(0040996)
Robert Maynard   
2016-05-02 08:30   
Closing resolved issues that have not been updated in more than 4 months.