View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015255CMakeCPackpublic2014-11-18 13:162016-06-10 14:31
ReporterAlan Reed 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformApple Mac MiniOSMac OS XOS Version10.7.5
Product VersionCMake 3.0.2 
Target VersionFixed in Version 
Summary0015255: CPack Error: Error executing: /usr/bin/Rez during build
DescriptionThe 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 Reproduceswd14: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 Informationswd14: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$
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0037452)
Alan Reed (reporter)
2014-12-13 13:59

Still fails when using 3.1.0-rc3



CPack: /Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1067 Create package
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_INCLUDE_TOPLEVEL_DIRECTORY
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_PACKAGE_ICON
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_DMG_VOLUME_NAME
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_DMG_FORMAT
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_DMG_BACKGROUND_IMAGE
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_DMG_DS_STORE
/Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1195 Warning, GetOption return NULL for: CPACK_OSX_SYSROOT
CPack Error: /Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackDragNDropGenerator.cxx:211 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: /Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackDragNDropGenerator.cxx:522 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: /Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cmCPackGenerator.cxx:1096 Problem compressing the directory
CPack Error: /Users/kitware/CMakeReleaseDirectory/1f6f114a/Source/CPack/cpack.cxx:440 Error when generating package: com3cd
swd14:build-mac alanreed$
(0042670)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-11-18 13:16 Alan Reed New Issue
2014-12-13 13:59 Alan Reed Note Added: 0037452
2016-06-10 14:29 Kitware Robot Note Added: 0042670
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team