MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012096 | CMake | CPack | public | 2011-04-16 13:06 | 2011-09-05 11:37 |
Reporter | Alexey Uratkin | ||||
Assigned To | Eric NOULARD | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | RPM based distros | OS Version | |
Product Version | CMake 2.8.4 | ||||
Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | ||
Summary | 0012096: CPackRPM: Error while using component install mode | ||||
Description | I am going to use CPack to build RPM. I need to build more than one package. The instruction is at: http://www.itk.org/Wiki/CMake:Component_Install_With_CPack [^] I've done all according to the instruction, but got no packages. I've look into generated spec files by CPack and found that ALL files from ALL packages included to each package. More detail investigation revealed that: "Modules/CPackRPM.cmake" use CPACK_RPM_ABSOLUTE_INSTALL_FILES variable set by "Source/CPack/cmCPackGenerator.cxx" I've traced "Source/CPack/cmCPackGenerator.cxx" and discovered that CPACK_RPM_ABSOLUTE_INSTALL_FILES filled with all files from all packages. This gets me down and I've created a patch which solved this problem. I think it should be included to the next release. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | cpack_rpm.patch (2,317) 2011-04-16 13:07 https://public.kitware.com/Bug/file/3822/cpack_rpm.patch 0001-CPackRPM-Fix-12096-handle-absolute-install-path-with.patch (3,268) 2011-04-17 15:01 https://public.kitware.com/Bug/file/3823/0001-CPackRPM-Fix-12096-handle-absolute-install-path-with.patch CPackTestAbsolutePath-0.2.0-Source.tar.gz (948) 2011-04-17 15:09 https://public.kitware.com/Bug/file/3824/CPackTestAbsolutePath-0.2.0-Source.tar.gz | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-04-16 13:06 | Alexey Uratkin | New Issue | |||
2011-04-16 13:07 | Alexey Uratkin | File Added: cpack_rpm.patch | |||
2011-04-16 17:04 | Eric NOULARD | Assigned To | => Eric NOULARD | ||
2011-04-16 17:04 | Eric NOULARD | Status | new => assigned | ||
2011-04-16 17:07 | Eric NOULARD | Note Added: 0026196 | |||
2011-04-16 17:37 | Alexey Uratkin | Note Added: 0026197 | |||
2011-04-17 15:01 | Eric NOULARD | File Added: 0001-CPackRPM-Fix-12096-handle-absolute-install-path-with.patch | |||
2011-04-17 15:09 | Eric NOULARD | File Added: CPackTestAbsolutePath-0.2.0-Source.tar.gz | |||
2011-04-17 15:16 | Eric NOULARD | Note Added: 0026206 | |||
2011-04-17 15:17 | Eric NOULARD | Target Version | => CMake 2.8.5 | ||
2011-04-17 15:18 | Eric NOULARD | Note Added: 0026207 | |||
2011-04-17 15:18 | Eric NOULARD | Status | assigned => resolved | ||
2011-04-17 15:18 | Eric NOULARD | Fixed in Version | => CMake 2.8.5 | ||
2011-04-17 15:18 | Eric NOULARD | Resolution | open => fixed | ||
2011-09-05 11:37 | David Cole | Status | resolved => closed | ||
2011-09-05 11:37 | David Cole | Note Added: 0027345 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|