[cmake-developers] [CMake 0013003]: Precompiled CPack update needed for compatibility with Xcode 4.3
Mantis Bug Tracker
mantis at public.kitware.com
Tue Feb 28 20:49:34 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13003
======================================================================
Reported By: Dave Whipp
Assigned To:
======================================================================
Project: CMake
Issue ID: 13003
Category: CPack
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-28 20:49 EST
Last Modified: 2012-02-28 20:49 EST
======================================================================
Summary: Precompiled CPack update needed for compatibility
with Xcode 4.3
Description:
When I attempt to use CPack to create a Mac application bundle it crashes
attempting to find libraries/headers a directory tree location no longer used by
Xcode (/Developer). I haven't tested many options, but the problem will occur
every time it reaches the stage of creating the package using 'cpack -G
DragNDrop'. I've been able to temporarily work around this issue by creating
symbolic links from the location CPack is looking (/Developer/Headers) to the
new location for Xcode 4.3 (/Applications/Xcode.app/Contents/Developer/Headers).
If it matters, the specific program that I'm building is ParaView 3.14.0,
configured using CMake and compiled using the GNU C and C++ compilers (with Qt
4.8.0).
Steps to Reproduce:
After configuring using CMake and building with the GNU compilers, I attempt to
create an application bundle by typing:
'cpack -G DragNDrop --config
ParaView-3.14.0-Build/Applications/ParaView/CPackParaViewConfig.cmake'
The process runs for about 10-15 minutes before crashing with the following
error message:
'...
CPack: Create package
CPack Error: Error executing: /bin/bash -c "/usr/bin/Rez
/Developer/Headers/FlatCarbon/*.r
'/Users/dwhipp/Build/_CPack_Packages/Darwin-i386/DragNDrop/sla.r' -a -o
'/Users/dwhipp/Build/_CPack_Packages/Darwin-i386/DragNDrop/temp-udco.dmg'"
CPack Error: Error adding SLA.
### /usr/bin/Rez - SysError 0 during open of
"/Developer/Headers/FlatCarbon/*.r".
Fatal Error!
### /usr/bin/Rez - Fatal Error, can't recover.
/Developer/Headers/FlatCarbon/*.r: ### /usr/bin/Rez - Since errors occurred,
/Users/dwhipp/Build/_CPack_Packages/Darwin-i386/DragNDrop/temp-udco.dmg's
resource fork was not completely updated.
/Developer/Headers/FlatCarbon/*.r: ### /usr/bin/Rez - SysError -43 during set
file info.
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: ParaView'
The obvious issue is that /Developer/Headers does not exist for Xcode 4.3, as
noted above (now located at /Applications/Xcode.app/Contents/Developer/Headers).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-28 20:49 Dave Whipp New Issue
======================================================================
More information about the cmake-developers
mailing list