[cmake-developers] [CMake 0012351]: CPack fails to find package baked by NSIS if CPACK_OUTPUT_FILE_NAME is used

Mantis Bug Tracker mantis at public.kitware.com
Tue Jul 19 22:57:15 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12351 
====================================================================== 
Reported By:                Mikhail
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12351
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-07-19 22:57 EDT
Last Modified:              2011-07-19 22:57 EDT
====================================================================== 
Summary:                    CPack fails to find package baked by NSIS if
CPACK_OUTPUT_FILE_NAME is used
Description: 
If CPACK_OUTPUT_FILE_NAME is used to override output file name like
set( CPACK_OUTPUT_FILE_NAME "mysoftware_mod_2.3.2-qgis_1.7-win32.exe" )
as in NSIS.template.in .
NSIS produces correct file, however CPack fails to copy it back in binary folder
with an error like:

CPack Error: Problem copying the package:
C:/workspace/mysoftware/rel/_CPack_Packages/win32/NSIS/mysoftware-2.3.2-win32.exe
to C:/workspace/mysoftware/rel/mysoftware-2.3.2-win32.exe
CPack Error: Error when generating package: mysoftware
NMAKE : fatal error U1077: 'echo' : return code '0x1'
Stop.

Steps to Reproduce: 
Set up simple project for use with nmake.
Define CPACK_OUTPUT_FILE_NAME such that output file will be different from
default name.
Execute nmake package
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-19 22:57 Mikhail        New Issue                                    
======================================================================




More information about the cmake-developers mailing list