View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015217 | CMake | CPack | public | 2014-10-24 02:50 | 2016-06-10 14:31 | ||||
Reporter | sudakov_ivan | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | x86-64 | OS | Fedora-18 | OS Version | |||||
Product Version | CMake 3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015217: CPack make wrong dependencies between components | ||||||||
Description | I have three components: a,b,c and code: install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT a) install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT b) install(FILES ${CMAKE_CURRENT_LIST_FILE} DESTINATION /tmp COMPONENT c) SET(CPACK_RPM_a_PACKAGE_REQUIRES "d") SET(CPACK_RPM_c_PACKAGE_REQUIRES "e") In result: a requires d - ok b requires d - wrong c requires e - ok There is the same situation with PROVIDES | ||||||||
Additional Information | If I set REQUIRES for ALL components it's work fine: SET(CPACK_RPM_a_PACKAGE_REQUIRES "d") SET(CPACK_RPM_c_PACKAGE_REQUIRES "e") SET(CPACK_RPM_b_PACKAGE_REQUIRES "") | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037072) Eric NOULARD (developer) 2014-10-24 08:51 |
A wild guess for anyone wanting to handle this: There isy a leak from one COMPONENT specific value to the other which is not et. I guess CPACK_RPM_a_PACKAGE_REQUIRES sets CPACK_RPM_PACKAGE_REQUIRES internally (in CPackRPM.cmake) but it is not reset when package b is treated? CPackRPM is "called" for each COMPONENT thus the leak. |
(0042650) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-10-24 02:50 | sudakov_ivan | New Issue | |
2014-10-24 08:51 | Eric NOULARD | Note Added: 0037072 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042650 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |