[cmake-developers] [CMake 0014782]: CPack fails when install file/dir path has '@'

Mantis Bug Tracker mantis at public.kitware.com
Sat Mar 1 16:44:05 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14782 
====================================================================== 
Reported By:                Xiaoming Wang
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14782
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-03-01 16:44 EST
Last Modified:              2014-03-01 16:44 EST
====================================================================== 
Summary:                    CPack fails when install file/dir path has '@'
Description: 
patch "http://public.kitware.com/Bug/file_download.php?file_id=4715&type=bug"
fixed install path with double '@' problem. This patch is merged in CMake
2.8.12.2 (not sure other 2.8.12 and 2.8.12.1)
But in CMake 2.8.12.2 generating RPM spec.in changed to use
@CPACK_RPM_INSTALL_FILES@  instead of expansion of ${CPACK_RPM_INSTALL_FILES@}
in earlier cake version. These combination makes install path with '@' no longer
works. 

One of simple fix is just remove the patch in
<CAMKE_HOME>/Modules/CPackRPM.cmake in 2.8.12.x.
Our company provide some crucial products in Big Data area for both Open Source
and Enterprise users.
This bug breaks our builds on any systems with CMake 2.8.12.2 (possible CMake
2.8.12 or later).

We can handle it in our internal build systems now but it will be hard to
community users who want to compile our code on their own environment.

It will be appreciated if this bug can be fixed in the future CMake release.

Steps to Reproduce: 
For build RPM base package and have install path with '@'. It can be reproduced
on CMake 2.8.12.2 (probably 2.8.12 or later)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-01 16:44 Xiaoming Wang  New Issue                                    
======================================================================



More information about the cmake-developers mailing list