MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0011735 | CMake | CPack | public | 2011-01-20 14:52 | 2011-01-21 02:03 | |||||
Reporter | Torsten Rohlfing | |||||||||
Assigned To | Eric NOULARD | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Apple | OS | OS Version | |||||||
Product Version | CMake 2.8.3 | |||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |||||||
Summary | 0011735: Generators create empty archives using component groups | |||||||||
Description | Packaging of component groups seems to be completely broken in CMake 2.8.3: generated packages are empty. The problem seems to be that CPack installs all files in a single file system tree, regardless of what component they belong to, but then expects to package them from per-component trees. | |||||||||
Steps To Reproduce | 1. Download attached file, "source.tar.gz" 2. tar -xzvf source.tar.gz 3. mkdir build ; cd build; cmake .. 4. make package Afterwards, running "find _CPack_Packages/" will produce something like the following: _CPack_Packages/ _CPack_Packages//Darwin _CPack_Packages//Darwin/TGZ _CPack_Packages//Darwin/TGZ/SomeToolkit _CPack_Packages//Darwin/TGZ/SomeToolkit/documentation _CPack_Packages//Darwin/TGZ/SomeToolkit/documentation/usr _CPack_Packages//Darwin/TGZ/SomeToolkit/documentation/usr/local _CPack_Packages//Darwin/TGZ/SomeToolkit/headers _CPack_Packages//Darwin/TGZ/SomeToolkit/headers/usr _CPack_Packages//Darwin/TGZ/SomeToolkit/headers/usr/local _CPack_Packages//Darwin/TGZ/SomeToolkit/libraries _CPack_Packages//Darwin/TGZ/SomeToolkit/libraries/usr _CPack_Packages//Darwin/TGZ/SomeToolkit/libraries/usr/local _CPack_Packages//Darwin/TGZ/SomeToolkit/usr _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local/doc _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local/doc/SOMEFILE _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local/include _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local/include/header.h _CPack_Packages//Darwin/TGZ/SomeToolkit-development.tar.gz _CPack_Packages//Darwin/TGZ/SomeToolkit-runtime.tar.gz Clearly, the two package files are both installed below _CPack_Packages//Darwin/TGZ/SomeToolkit/usr/local/ but the package archives are created from _CPack_Packages//Darwin/TGZ/SomeToolkit/documentation _CPack_Packages//Darwin/TGZ/SomeToolkit/headers _CPack_Packages//Darwin/TGZ/SomeToolkit/libraries which are empty. | |||||||||
Additional Information | I have observed essentially the same behaviour using PackageMaker generator on Mac and ZIP on Windows. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | source.tar.gz (1,040) 2011-01-20 14:52 https://public.kitware.com/Bug/file/3648/source.tar.gz | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2011-01-20 14:52 | Torsten Rohlfing | New Issue | ||||||||
2011-01-20 14:52 | Torsten Rohlfing | File Added: source.tar.gz | ||||||||
2011-01-20 15:00 | Eric NOULARD | Note Added: 0024965 | ||||||||
2011-01-20 15:30 | Torsten Rohlfing | Note Added: 0024966 | ||||||||
2011-01-20 15:51 | Torsten Rohlfing | Note Added: 0024969 | ||||||||
2011-01-20 16:07 | Eric NOULARD | Assigned To | => Eric NOULARD | |||||||
2011-01-20 16:07 | Eric NOULARD | Status | new => assigned | |||||||
2011-01-20 16:32 | Eric NOULARD | Note Added: 0024972 | ||||||||
2011-01-20 16:32 | Eric NOULARD | Note Edited: 0024972 | bug_revision_view_page.php?bugnote_id=24972#r147 | |||||||
2011-01-20 16:35 | Eric NOULARD | Relationship added | related to 0011452 | |||||||
2011-01-20 16:36 | Eric NOULARD | Priority | high => normal | |||||||
2011-01-20 16:36 | Eric NOULARD | Resolution | open => fixed | |||||||
2011-01-20 16:36 | Eric NOULARD | Fixed in Version | => CMake 2.8.4 | |||||||
2011-01-20 16:36 | Eric NOULARD | Target Version | => CMake 2.8.4 | |||||||
2011-01-20 16:41 | Eric NOULARD | Note Added: 0024975 | ||||||||
2011-01-20 16:51 | Eric NOULARD | Note Added: 0024976 | ||||||||
2011-01-20 18:37 | Torsten Rohlfing | Note Added: 0024977 | ||||||||
2011-01-21 02:03 | Eric NOULARD | Note Added: 0024986 | ||||||||
2011-01-21 02:03 | Eric NOULARD | Status | assigned => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|