[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] PROTECTED_AT: double encoding in CPack?
From:       Ian Monroe <ian () monroe ! nu>
Date:       2014-03-03 18:14:41
Message-ID: CAHh0A5XJ-PQyvgTYH1hEPVnydj2yqiKqPUPGtmC-M1Vc5vZDAQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Feb 28, 2014 at 5:27 PM, Ian Monroe <ian@monroe.nu> wrote:
> I'm getting errors like:
> error: File not found:
> /home/ian/atlassian/quipchat-installer/build64/quipchat-prefix/src/quipchat-build/_CPack_Packages/Linux/ \
> RPM/hipchat-2.1.60090-Linux/opt/HipChat/lib/QtQuick/Controls/Styles/Base/images/arrow-up@PROTECTED_AT@2x.png
>  
> When generating an RPM with CPack.  Which is true, that file doesn't exist,
> the filename is actually arrow-up@2x.png.
> 
> 
> I found this bug:
> http://public.kitware.com/Bug/view.php?id=14063
> Which seems to have introduced this PROTECTED_AT. Don't really understand
> how that patch was supposed to work. :)
> 
> I'm building on Debian 7, which has RPM 4.11.1. Appears to be new enough.

Reverting the commit resolved the issue for me. It looks like the
patch was written under the assumption that configure_file processes
@var@'s recursively, so if a @var@ expands to a string with more
@var@'s those get processed as well. But that doesn't appear to be the
case.

Ian
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, \
please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic