View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012366 | CMake | CPack | public | 2011-07-28 07:31 | 2012-02-06 06:07 | ||||
Reporter | winfriedd | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | OpenSuse Linux | OS Version | 11.4 | ||||
Product Version | CMake 2.8.5 | ||||||||
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | ||||||
Summary | 0012366: when using different components RPM packages have the same package name | ||||||||
Description | The RPM CPack generator can now generate multiple RPMs per project based on the COMPONENT feature of cmake. However the generated RPMs all have the same package name. When you install the first package no problem. When you try to install the second package you will get an error: 'package foo is already installed' | ||||||||
Steps To Reproduce | Download attached test project, which has two components. build the project and the RPMs (make package). Now try to install both generated RPMs. Installation of the second RPM will fail. | ||||||||
Additional Information | Suggested patch to CPackRPM.cmake attached. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | rpmcomponenttest.tar.bz2 [^] (1,304 bytes) 2011-07-28 07:31 CPackRPM.cmake.diff [^] (996 bytes) 2011-07-28 07:59 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0027096) winfriedd (reporter) 2011-07-28 08:01 |
The attached patch (against CPackRPM.cmake of cmake 2.8.5) will append the component name to the package name if CPACK_RPM_COMPONENT_INSTALL is set to ON. |
(0027097) Eric NOULARD (developer) 2011-07-28 08:09 |
Argh... Thank you for the report and the patch I'll try to merge-in that fix soon. |
(0027354) Eric NOULARD (developer) 2011-09-05 14:25 |
Just pushed to next a slightly different fix b0f6a97 CPack fix 0012366 components RPM packages have the same package name |
(0027355) Eric NOULARD (developer) 2011-09-05 14:26 |
Hi CMake dev, Would be nice if there is any 2.8.6 RC left to put this on the road. If not let it be for 2.8.7. |
(0027356) Eric NOULARD (developer) 2011-09-05 14:27 |
Possibly in 2.8.6. The fix is harmless and not fixing it make RPM components pretty useless... |
(0028492) David Cole (manager) 2012-02-06 06:07 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-28 07:31 | winfriedd | New Issue | |
2011-07-28 07:31 | winfriedd | File Added: rpmcomponenttest.tar.bz2 | |
2011-07-28 07:59 | winfriedd | File Added: CPackRPM.cmake.diff | |
2011-07-28 08:01 | winfriedd | Note Added: 0027096 | |
2011-07-28 08:09 | Eric NOULARD | Note Added: 0027097 | |
2011-07-28 08:09 | Eric NOULARD | Assigned To | => Eric NOULARD |
2011-07-28 08:09 | Eric NOULARD | Status | new => assigned |
2011-09-05 14:25 | Eric NOULARD | Note Added: 0027354 | |
2011-09-05 14:26 | Eric NOULARD | Note Added: 0027355 | |
2011-09-05 14:26 | Eric NOULARD | Target Version | => CMake 2.8.6 |
2011-09-05 14:27 | Eric NOULARD | Note Added: 0027356 | |
2011-09-05 14:27 | Eric NOULARD | Status | assigned => resolved |
2011-09-05 14:27 | Eric NOULARD | Fixed in Version | => CMake 2.8.6 |
2011-09-05 14:27 | Eric NOULARD | Resolution | open => fixed |
2011-09-19 14:28 | Brad King | Relationship added | has duplicate 0012468 |
2012-02-06 06:07 | David Cole | Note Added: 0028492 | |
2012-02-06 06:07 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |