[cmake-developers] [CMake 0015255]: CPack Error: Error executing: /usr/bin/Rez during build

Mantis Bug Tracker mantis at public.kitware.com
Tue Nov 18 13:16:20 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15255 
====================================================================== 
Reported By:                Alan Reed
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15255
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-11-18 13:16 EST
Last Modified:              2014-11-18 13:16 EST
====================================================================== 
Summary:                    CPack Error: Error executing: /usr/bin/Rez during
build
Description: 
The following error report appears when I run cpack on my 64bit minimac  .
The issue also occurs on cpack 3.0.2 and as below on 3.1.0-rc2



CPack Error: Error executing: /usr/bin/Rez
"/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r" -a
-o
"/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/temp-udco.dmg"
CPack Error: Error adding SLA.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r:15:
### /usr/bin/Rez - String spans lines.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r:16:
### /usr/bin/Rez - String spans lines.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r: ###
/usr/bin/Rez - Since errors occurred,
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/temp-udco.dmg's
resource fork was not completely updated.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r: ###
/usr/bin/Rez - SysError -43 during set file info.

CPack Error: Problem compressing the directory
CPack Error: Error when generating package: com3cd
make: *** [package] Error 1
swd14:trunk alanreed$ 


Steps to Reproduce: 
swd14:trunk alanreed$ cat macosbuild.sh 
#!/bin/bash
rm -rf build-mac
/Applications/CMake.app/Contents/bin/cmake --version
/Applications/CMake.app/Contents/bin/cpack --version
/Applications/CMake.app/Contents/bin/cmake -G "Unix Makefiles"  -H. -Bbuild-mac
cd build-mac
make
make package
cp -R _CPack_Packages/Darwin/Bundle/com3cd-3.0.0-Darwin/com3mx.app ..
swd14:trunk alanreed$ 


Additional Information: 
swd14:trunk alanreed$ cat macosbuild.sh 
#!/bin/bash
rm -rf build-mac
/Applications/CMake.app/Contents/bin/cmake --version
/Applications/CMake.app/Contents/bin/cpack --version
/Applications/CMake.app/Contents/bin/cmake -G "Unix Makefiles"  -H. -Bbuild-mac
cd build-mac
make
make package
cp -R _CPack_Packages/Darwin/Bundle/com3cd-3.0.0-Darwin/com3mx.app ..
swd14:trunk alanreed$ 
swd14:trunk alanreed$ 
swd14:trunk alanreed$ 
swd14:trunk alanreed$ sh macosbuild.sh 
cmake version 3.1.0-rc2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
cpack version 3.1.0-rc2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
-- The C compiler identification is AppleClang 4.2.0.4250028
-- The CXX compiler identification is AppleClang 4.2.0.4250028
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE  
-- Framework QTKit found at /System/Library/Frameworks/QTKit.framework
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/alanreed/Desktop/trunk/build-mac
Scanning dependencies of target com3mx
[100%] Building CXX object CMakeFiles/com3mx.dir/com4b.cpp.o
Linking CXX executable com3mx
[100%] Built target com3mx
[100%] Built target com3mx
Run CPack packaging tool...
CPack: Create package using Bundle
CPack: Install projects
CPack: - Run preinstall target for: com3cd
CPack: - Install project: com3cd
CPack: Create package
CPack Error: Error executing: /usr/bin/Rez
"/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r" -a
-o
"/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/temp-udco.dmg"
CPack Error: Error adding SLA.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r:15:
### /usr/bin/Rez - String spans lines.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r:16:
### /usr/bin/Rez - String spans lines.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r: ###
/usr/bin/Rez - Since errors occurred,
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/temp-udco.dmg's
resource fork was not completely updated.
/Users/alanreed/Desktop/trunk/build-mac/_CPack_Packages/Darwin/Bundle/sla.r: ###
/usr/bin/Rez - SysError -43 during set file info.

CPack Error: Problem compressing the directory
CPack Error: Error when generating package: com3cd
make: *** [package] Error 1
swd14:trunk alanreed$ 

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-11-18 13:16 Alan Reed      New Issue                                    
======================================================================



More information about the cmake-developers mailing list