The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13854 ====================================================================== Reported By: Jean-Eudes Onfray Assigned To: ====================================================================== Project: CMake Issue ID: 13854 Category: CPack Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2013-01-17 11:03 EST Last Modified: 2013-01-17 11:03 EST ====================================================================== Summary: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-01-17 11:03 Jean-Eudes OnfrayNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
