View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013003CMakeCPackpublic2012-02-28 20:492012-07-09 06:53
ReporterDave Whipp 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformIntel Mac (x86_64)OSMac OSOS Version10.7.3
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0013003: Precompiled CPack update needed for compatibility with Xcode 4.3
DescriptionWhen 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 ReproduceAfter 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).
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028753)
Clinton Stimpson (developer)
2012-02-29 10:31

5663e43 DragNDrop: Fix problem with relocated files in Xcode 4.3
(0029985)
David Cole (manager)
2012-07-09 06:53

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-02-28 20:49 Dave Whipp New Issue
2012-02-29 10:30 Clinton Stimpson Assigned To => Clinton Stimpson
2012-02-29 10:30 Clinton Stimpson Status new => assigned
2012-02-29 10:31 Clinton Stimpson Note Added: 0028753
2012-02-29 10:31 Clinton Stimpson Status assigned => resolved
2012-02-29 10:31 Clinton Stimpson Resolution open => fixed
2012-07-09 06:53 David Cole Note Added: 0029985
2012-07-09 06:53 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team