[cmake-developers] [CMake 0015691]: BundleUtilities broken on Win10 (MSVC 2015)

Mantis Bug Tracker mantis at public.kitware.com
Tue Aug 11 14:57:04 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15691 
====================================================================== 
Reported By:                A. Klitzing
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15691
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-11 14:57 EDT
Last Modified:              2015-08-11 14:57 EDT
====================================================================== 
Summary:                    BundleUtilities broken on Win10 (MSVC 2015)
Description: 
If we build our application and use WiX/BundleUtilities to get an MSI package we
get this errors with Windows 10 and MSVC 2015.

Windows 7 with MSVC 2015 works without any problems.

Additional Information: 
[100%] Linking CXX executable ApplicationName.exe
[100%] Built target Application
Run CPack packaging tool...
CPack: Create package using WIX
CPack: Install projects
CPack: - Run preinstall target for: ApplicationName
CPack: - Install project: ApplicationName
warning: target 'api-ms-win-crt-stdio-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-stdio-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-runtime-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-runtime-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-heap-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-heap-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-time-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-time-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-string-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-string-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-convert-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-convert-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-utility-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-utility-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-math-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-math-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-environment-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-environment-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-filesystem-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-filesystem-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-conio-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-conio-l1-1-0.dll' does not exist...
Error copying file "api-ms-win-crt-conio-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-conio-l1-1-0.dll".

Error copying file "api-ms-win-crt-convert-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-convert-l1-1-0.dll".

Error copying file "api-ms-win-crt-environment-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-environment-l1-1-0.dll".

Error copying file "api-ms-win-crt-filesystem-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-filesystem-l1-1-0.dll".

Error copying file "api-ms-win-crt-heap-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-heap-l1-1-0.dll".

Error copying file "api-ms-win-crt-math-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-math-l1-1-0.dll".

Error copying file "api-ms-win-crt-runtime-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-runtime-l1-1-0.dll".

Error copying file "api-ms-win-crt-stdio-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-stdio-l1-1-0.dll".

Error copying file "api-ms-win-crt-string-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-string-l1-1-0.dll".

Error copying file "api-ms-win-crt-time-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-time-l1-1-0.dll".

Error copying file "api-ms-win-crt-utility-l1-1-0.dll" to
"C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/_CPack_Packages/win32/WIX/ApplicationName-1.4.3/api-ms-win-crt-utility-l1-1-0.dll".

warning: target 'api-ms-win-crt-stdio-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-stdio-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-runtime-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-runtime-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-heap-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-heap-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-time-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-time-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-string-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-string-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-convert-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-convert-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-utility-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-utility-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-math-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-math-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-environment-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-environment-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-filesystem-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-filesystem-l1-1-0.dll' does not exist...
warning: target 'api-ms-win-crt-conio-l1-1-0.dll' is not absolute...
warning: target 'api-ms-win-crt-conio-l1-1-0.dll' does not exist...
CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.3/Modules/BundleUtilities.cmake:973 (message):
  error: verify_app failed
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/BundleUtilities.cmake:858
(verify_app)
  C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/src/cmake_install.cmake:65
(FIXUP_BUNDLE)
  C:/Jenkins/workspace/Windows_Debug_MSVC_MSI/build/cmake_install.cmake:33
(include)


CPack Error: Error when generating package: ApplicationName
NMAKE : fatal error U1077: 'echo' : return code '0x1'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-11 14:57 A. Klitzing    New Issue                                    
======================================================================



More information about the cmake-developers mailing list