MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013003 | CMake | CPack | public | 2012-02-28 20:49 | 2012-07-09 06:53 |
| Reporter | Dave Whipp | ||||
| Assigned To | Clinton Stimpson | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Intel Mac (x86_64) | OS | Mac OS | OS Version | 10.7.3 |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013003: 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). | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||