MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013854 | CMake | CPack | public | 2013-01-17 11:03 | 2016-06-10 14:31 | |||||
Reporter | Jean-Eudes Onfray | |||||||||
Assigned To | Eric NOULARD | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | moved | |||||||
Platform | GNU/Linux | OS | Fedora | OS Version | 18 | |||||
Product Version | CMake 2.8.10.2 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0013854: rpm built with cmake failing with file conflict errors | |||||||||
Description | As of rpm 4.10, different permissions for a directory are now considered a conflict. And cmake built packages are trying to own system directories, which is bad. See this for reference: https://bugzilla.redhat.com/show_bug.cgi?id=870655 [^] | |||||||||
Steps To Reproduce | How reproducible: Every time you build a rpm package with cmake Steps to Reproduce: Build a package with cmake ($ make package). Look at package %files in _CPack_Packages/Linux/RPM/SPECS/$package.spec Actual results: You'll find a bunch of system directories like: %dir "/usr" %dir "/usr/share" %dir "/usr/lib64" %dir "/usr/bin" Expected results: No system dirs | |||||||||
Additional Information | I guess the problem lays in /usr/share/cmake/Modules/CPackRPM.cmake around line 669 We should filter CPACK_RPM_INSTALL_FILES for system directories or get the permissions correctly. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-01-17 11:03 | Jean-Eudes Onfray | New Issue | ||||||||
2013-01-17 13:34 | Eric NOULARD | Relationship added | duplicate of 0013609 | |||||||
2013-04-05 06:57 | Eric NOULARD | Note Added: 0032756 | ||||||||
2013-04-05 06:57 | Eric NOULARD | Assigned To | => Eric NOULARD | |||||||
2013-04-05 06:57 | Eric NOULARD | Status | new => assigned | |||||||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042201 | ||||||||
2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | |||||||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | |||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|