MantisBT - CMake
View Issue Details
0013463CMakeCMakepublic2012-08-10 02:342013-01-09 10:57
Jerry Krinock 
Brad King 
normalmajoralways
closedfixed 
MacMac OS X10.8, XcodeDP4.4
CMake 2.8.9 
CMake 2.8.10CMake 2.8.10 
0013463: Bug 12621 is maybe back
I'm having the same issue with CMake either giving the 'buildstyle' is not supported error, or sometimes crashing, as was the subject of Bug 12621,

http://public.kitware.com/Bug/view.php?id=12621 [^]

I think this started after updating to CMake 2.8.9 but I'm not sure. A possible factor is the fact that, by default, Xcode 4.4 DP7 installs at /Applications/XcodeDP7-44.app instead of Xcode.app, and this is what I have on my Mac.

The initial workaround given in bug 12621, creating a fake version.plist file for Xcode, fixes the problem.
1. Get a Mac running Mac OS X 10.8
2. Remove all Xcode apps and all Developer Tools, if any.
3. Install Xcode 4.4 DP 7.
4. Invoke CMake 2.8.9 from command line.

Result: Fails due to the "xcodebuild: error: option '-buildstyle' is no longer supported" error

5. Creating directories as required, copy the version.plist file from /Applications/Xcode44-DP7.app/Contents to /Developer/Applications/Xcode.app/Contents.
6. Invoke CMake 2.8.9 from command line again.

Result: Succeeds.

7. OK, now try to reproduce the failure. Effectively remove the version.plist file in /Developer/Applications/Xcode.app/Contents by renaming it to versiox.plist.
8. Invoke CMake 2.8.9 from command line again.

Result: CMake crashes.

9. OK, now try to reproduce the success. Change filename back to version.plist.
10. Invoke CMake 2.8.9 from command line again.

Result: Succeeds.

**************************************************************
*** Annotated Terminal.app Session Transcript of Steps 4-10
**************************************************************

##### Step 4. Note that prepmac.sh, followed by an input directory and output directory parameter, is a shell script that comes with the Firebreath project (firebreath.org) which invokes cmake on the command line. Trust me that it works. At least, as you can see, it works when the fake version.plist file is installed and cmake fails otherwise.

Air1:Firebreath jk$ ./firebreath/prepmac.sh projects fbbuild
Using projects in: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating build files in: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
NOTE: The build files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild should *NEVER* be modified directly. Make changes in cmake and re-run this script.
~/Documents/Programming/Projects/Firebreath/fbbuild ~/Documents/Programming/Projects/Firebreath
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- broken
CMake Error at /Applications/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/CMakeFiles/CMakeTmp

  

  Run Build Command:/Applications/CMake\ 2.8-9.app/Contents/bin/cmakexbuild
  -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec4239181185
  -buildstyle Development

  xcodebuild: error: option '-buildstyle' is no longer supported

  

  Usage: xcodebuild [-project <projectname>] [[-target
  <targetname>]...|-alltargets] [-configuration <configurationname>] [-arch
  <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings]
  [<buildsetting>=<value>]... [<buildaction>]...

         xcodebuild [-project <projectname>] -scheme <schemeName> [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings] [<buildsetting>=<value>]... [<buildaction>]...
         xcodebuild -workspace <workspacename> -scheme <schemeName> [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings] [<buildsetting>=<value>]... [<buildaction>]...
         xcodebuild -version [-sdk [<sdkfullpath>|<sdkname>] [<infoitem>] ]
         xcodebuild -list [[-project <projectname>]|[-workspace <workspacename>]]
         xcodebuild -showsdks

  Options:

      -usage print brief usage
      -help print complete usage
      -verbose provide additional status output
      -license Show License agreement!
      -project NAME build the project NAME
      -target NAME build the target NAME
      -alltargets build all targets
      -workspace NAME build the workspace NAME
      -scheme NAME build the scheme NAME
      -configuration NAME use the build configuration NAME for building each target
      -xcconfig PATH apply the build settings defined in the file at PATH as overrides
      -arch ARCH build each target for the architecture ARCH; this will override architectures defined in the project
      -sdk SDK use SDK as the name or path of the base SDK when building the project
      -toolchain NAME use the toolchain with identifier or name NAME
      -parallelizeTargets build independent targets in parallel
      -jobs NUMBER specify the maximum number of concurrent build operations
      -dry-run do everything except actually running the commands
      -showsdks display a compact list of the installed SDKs
      -showBuildSettings display a list of build settings and values
      -list lists the targets and configurations in a project, or the schemes in a workspace
      -find BINARY display the full path to BINARY in the provided SDK
      -version display the version of Xcode; with -sdk will display info about one or all installed SDKs

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:19 (Project)


-- Configuring incomplete, errors occurred!
CMake failed. Please check error messages


##### Step 5

Air1:Firebreath jk$ cd /Applications/Xcode44-DP7.app/Contents
Air1:Contents jk$ pwd
/Applications/Xcode44-DP7.app/Contents
Air1:Contents jk$ sudo mkdir /Developer
Password:
Air1:Contents jk$ sudo mkdir /Developer/Applications
Air1:Contents jk$ sudo mkdir /Developer/Applications/Xcode.app
Air1:Contents jk$ sudo mkdir /Developer/Applications/Xcode.app/Contents
Air1:Contents jk$ sudo cp version.plist /Developer/Applications/Xcode.app/Contents


##### Step 6

Air1:Contents jk$ cd ~/Documents/Programming/Projects/Firebreath
Air1:Firebreath jk$ ./firebreath/prepmac.sh projects fbbuild
Using projects in: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating build files in: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
NOTE: The build files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild should *NEVER* be modified directly. Make changes in cmake and re-run this script.
~/Documents/Programming/Projects/Firebreath/fbbuild ~/Documents/Programming/Projects/Firebreath
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
project dir: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating plugin configuration files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/gen
Creating Mac Browser Plugin project SheepSystemsNPAPIPlugin
Generating /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/bundle/English.lproj/Localized.rsrc
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
~/Documents/Programming/Projects/Firebreath


##### Step 7

Air1:Firebreath jk$ cd /Developer/Applications/Xcode.app/Contents
Air1:Contents jk$ mv version.plist versiox.plist
Air1:Contents jk$ sudo mv version.plist versiox.plist
Password:


##### Step 8

Air1:Contents jk$ cd ~/Documents/Programming/Projects/Firebreath
Air1:Firebreath jk$ ./firebreath/prepmac.sh projects fbbuild
Using projects in: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating build files in: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
NOTE: The build files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild should *NEVER* be modified directly. Make changes in cmake and re-run this script.
~/Documents/Programming/Projects/Firebreath/fbbuild ~/Documents/Programming/Projects/Firebreath
project dir: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating plugin configuration files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/gen
Creating Mac Browser Plugin project SheepSystemsNPAPIPlugin
Generating /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/bundle/English.lproj/Localized.rsrc
-- Configuring done
-- Generating done
libc++abi.dylib: terminate called throwing an exception
./firebreath/prepmac.sh: line 10: 64140 Abort trap: 6 cmake -G "$GEN" -DFB_PROJECTS_DIR="${PROJDIR}" ${ARCH} "$@" "${FB_ROOT}"
CMake failed. Please check error messages


##### Step 9

Air1:Firebreath jk$ cd /Developer/Applications/Xcode.app/Contents
Air1:Contents jk$ sudo mv versiox.plist version.plist

##### Step 10

Air1:Contents jk$ cd ~/Documents/Programming/Projects/Firebreath
Air1:Firebreath jk$ ./firebreath/prepmac.sh projects fbbuild
Using projects in: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating build files in: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
NOTE: The build files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild should *NEVER* be modified directly. Make changes in cmake and re-run this script.
~/Documents/Programming/Projects/Firebreath/fbbuild ~/Documents/Programming/Projects/Firebreath
project dir: /Users/jk/Documents/Programming/Projects/Firebreath/projects
Generating plugin configuration files in /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/gen
Creating Mac Browser Plugin project SheepSystemsNPAPIPlugin
Generating /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild/projects/SheepSystemsNPAPIPlugin/bundle/English.lproj/Localized.rsrc
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jk/Documents/Programming/Projects/Firebreath/fbbuild
~/Documents/Programming/Projects/Firebreath


**********************************************************
****** Crash Report from Step 8
**********************************************************

Process: cmake [64436]
Path: /Applications/CMake 2.8-9.app/Contents/bin/cmake
Identifier: cmake
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [64429]
User ID: 501

Date/Time: 2012-08-09 23:28:16.147 -0700
OS Version: Mac OS X 10.8 (12A256)
Report Version: 10

Interval Since Last Report: 9744 sec
Crashes Since Last Report: 2
Per-App Crashes Since Last Report: 2
Anonymous UUID: 4CA98B01-E05D-4F83-B47A-369B6E08C0D8

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
terminate called throwing an exception
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff82119d46 __kill + 10
1 libsystem_c.dylib 0x00007fff82e28e1c abort + 177
2 libc++abi.dylib 0x00007fff8b9b9f87 abort_message + 257
3 libc++abi.dylib 0x00007fff8b9b7936 default_terminate() + 28
4 libobjc.A.dylib 0x00007fff82135907 _objc_terminate() + 111
5 libc++abi.dylib 0x00007fff8b9b7965 safe_handler_caller(void (*)()) + 8
6 libc++abi.dylib 0x00007fff8b9b79c0 std::terminate() + 16
7 libc++abi.dylib 0x00007fff8b9b8b27 __cxa_throw + 111
8 libstdc++.6.dylib 0x00007fff8cf361a7 std::__throw_logic_error(char const*) + 85
9 libstdc++.6.dylib 0x00007fff8cf55a63 char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) + 145
10 libstdc++.6.dylib 0x00007fff8cf5ea50 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) + 56
11 cmake 0x0000000100195e3c 0x100000000 + 1662524
12 cmake 0x00000001001a34ff 0x100000000 + 1717503
13 cmake 0x00000001001a3927 0x100000000 + 1718567
14 cmake 0x0000000100193a21 0x100000000 + 1653281
15 cmake 0x000000010017c427 0x100000000 + 1557543
16 cmake 0x00000001001853a8 0x100000000 + 1594280
17 cmake 0x00000001000031cc 0x100000000 + 12748
18 cmake 0x000000010000255a 0x100000000 + 9562
19 cmake 0x0000000100002064 0x100000000 + 8292

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000 rbx: 0x00007fff5fbfdb70 rcx: 0x00007fff5fbfdb58 rdx: 0x0000000000000000
  rdi: 0x000000000000fbb4 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfdb80 rsp: 0x00007fff5fbfdb58
   r8: 0x0000000000000007 r9: 0x000000000000001d r10: 0x00007fff8211b342 r11: 0x0000000000000206
  r12: 0x00007fff5fbfdcb0 r13: 0x0000000000000000 r14: 0x00007fff8b9cca23 r15: 0x00007fff5fbfdb90
  rip: 0x00007fff82119d46 rfl: 0x0000000000000206 cr2: 0x00007fff70aa0fe8
Logical CPU: 0

Binary Images:
       0x100000000 - 0x1003dcff7 cmake (???) <1AD58859-1EA0-3643-AFB1-98BF0DEF0241> /usr/bin/cmake
    0x7fff6f21e000 - 0x7fff6f25293f dyld (210.2.3) <A40597AA-5529-3337-8C09-D8A014EB1578> /usr/lib/dyld
    0x7fff80890000 - 0x7fff808a7fff com.apple.CFOpenDirectory (10.8 - 151.10) <7AB5DF99-4B0D-356E-AA7C-F0A1889A7F01> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff808af000 - 0x7fff80c0bff7 com.apple.Foundation (6.8 - 945) <0C972F73-0C07-3384-98F2-B176E0289494> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff810e7000 - 0x7fff81144ff7 com.apple.AE (645 - 645) <9C3E54BA-EE6B-3F02-8775-9C4AF40F40CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff818d3000 - 0x7fff818e2ff7 libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
    0x7fff818e3000 - 0x7fff81904ff7 libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
    0x7fff81d41000 - 0x7fff81d42ff7 libdnsinfo.dylib (453.16) <38A3E0F4-E34C-3D45-A2C9-4CDE2DF007BD> /usr/lib/system/libdnsinfo.dylib
    0x7fff81d71000 - 0x7fff81f5afff com.apple.CoreFoundation (6.8 - 743) <4DAE8487-FAAA-3758-9526-73DB4C42A05A> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff820c9000 - 0x7fff820f4fff libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
    0x7fff82108000 - 0x7fff82123ff7 libsystem_kernel.dylib (2050.7.7) <96968B93-E585-3514-A0D2-BFB827ABAB06> /usr/lib/system/libsystem_kernel.dylib
    0x7fff82124000 - 0x7fff8223ca27 libobjc.A.dylib (532) <9FA80CDA-97F4-3801-8879-0C1B976BC5CA> /usr/lib/libobjc.A.dylib
    0x7fff8223d000 - 0x7fff82242fff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff82248000 - 0x7fff8224aff7 libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8224b000 - 0x7fff823befff com.apple.CFNetwork (596 - 596) <27AD4EE4-EE31-3727-A734-9D1EE7E9725E> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff823bf000 - 0x7fff823c2ff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff823c6000 - 0x7fff823cafff libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
    0x7fff825a7000 - 0x7fff825b5ff7 libkxld.dylib (2050.7.7) <1C5A4A2A-AC3C-3949-A403-E15A5A3D7FB3> /usr/lib/system/libkxld.dylib
    0x7fff825b6000 - 0x7fff825d8ff7 libxpc.dylib (140.37) <C552985C-2171-3136-A1B9-3AB21CBF7C4A> /usr/lib/system/libxpc.dylib
    0x7fff82c8b000 - 0x7fff82d3cfff com.apple.LaunchServices (536 - 536) <148C6F1D-CAB9-354E-9064-EE039A1D053B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff82da1000 - 0x7fff82dacfff libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff82dcf000 - 0x7fff82e9bfef libsystem_c.dylib (825.24) <16B6B86C-53EE-36E8-AC2B-4AADC1008098> /usr/lib/system/libsystem_c.dylib
    0x7fff8363a000 - 0x7fff8383afff libicucore.A.dylib (491.11.1) <17E8B610-6B16-3F91-B49C-7CAE0D08E9CF> /usr/lib/libicucore.A.dylib
    0x7fff8425c000 - 0x7fff8426fff7 libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
    0x7fff84273000 - 0x7fff84274ff7 libremovefile.dylib (23.1) <DBBFAF35-AC78-3856-92F6-6E4FD9DF14A2> /usr/lib/system/libremovefile.dylib
    0x7fff84275000 - 0x7fff84276fff libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff845ae000 - 0x7fff84616ff7 libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff84a31000 - 0x7fff84a39fff liblaunch.dylib (442.21) <224CB010-6CF8-3FC2-885C-6F80330321EB> /usr/lib/system/liblaunch.dylib
    0x7fff8522f000 - 0x7fff85236fff com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff85237000 - 0x7fff85283ff7 libauto.dylib (185.1) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff854ca000 - 0x7fff8554bfff com.apple.Metadata (10.7.0 - 707) <9551DFF2-095F-3D4D-A1D8-E56811740D07> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff85753000 - 0x7fff85781ff7 libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff858cc000 - 0x7fff858e3fff com.apple.GenerationalStorage (1.1 - 132.1) <EAB41613-0145-3CE5-AA60-A8A791A3EE22> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff858e4000 - 0x7fff858e9fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff859be000 - 0x7fff85cd5ff7 com.apple.CoreServices.CarbonCore (1037 - 1037) <5127E2AB-AE98-3393-AEF6-CA8C1090F921> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff86627000 - 0x7fff86639ff7 libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff8663a000 - 0x7fff8663bff7 libSystem.B.dylib (169.3) <29320751-8CBF-3683-8634-4A8C7EDA9CE2> /usr/lib/libSystem.B.dylib
    0x7fff8663c000 - 0x7fff86644ff7 libsystem_dnssd.dylib (379.27) <057906EA-206E-3C35-B43F-5D936FD0A84F> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff873e9000 - 0x7fff87456fff com.apple.datadetectorscore (4.0 - 269.1) <C94C372B-3821-3A46-A8C2-091AB1CFF7F4> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff874ca000 - 0x7fff875c7fff libsqlite3.dylib (138) <8D6A6805-1494-30D1-9F2A-F58FA3C0D7EE> /usr/lib/libsqlite3.dylib
    0x7fff87620000 - 0x7fff8762efff libcommonCrypto.dylib (60026) <2D6537F5-1B5E-305C-A1CF-D1FA80CA3939> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8762f000 - 0x7fff8767eff7 libcorecrypto.dylib (106) <57BC99C6-3C3F-344C-BDD6-25E845D956F2> /usr/lib/system/libcorecrypto.dylib
    0x7fff8767f000 - 0x7fff876b0fff com.apple.DictionaryServices (1.2 - 184) <B37F9A90-8954-3DEC-A216-8ABB15C615A1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff876b1000 - 0x7fff876b7ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff87767000 - 0x7fff877d4ff7 com.apple.framework.IOKit (2.0 - 755.9.7) <9B7C5E7A-3F7A-3E70-8179-4384992B84E0> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff88224000 - 0x7fff882cafff com.apple.CoreServices.OSServices (557 - 557) <D36B319E-F78F-3732-9407-1DB7D9AA4EF8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff882cb000 - 0x7fff883c8ff7 libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
    0x7fff8972a000 - 0x7fff89730fff com.apple.DiskArbitration (2.5 - 2.5) <348AC0CC-6BCE-3416-9141-A5C1164EDDFF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff89805000 - 0x7fff89806fff liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
    0x7fff89897000 - 0x7fff89898ff7 libsystem_sandbox.dylib (220) <3C3B03CF-C525-3CB3-8557-62E91B93AC95> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8989b000 - 0x7fff898a9ff7 libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff898c1000 - 0x7fff89b8efff com.apple.security (7.0 - 55163.40) <CE384242-9C41-3034-BCC5-B255999E4639> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff89b8f000 - 0x7fff89b8ffff libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff89beb000 - 0x7fff89c21fff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff8a0c2000 - 0x7fff8a0c2fff com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8a0c3000 - 0x7fff8a0c6fff com.apple.TCC (1.0 - 1) <DE7ECAC3-BD08-323A-9C12-EE4A49B72871> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff8b7ea000 - 0x7fff8b7f7ff7 com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8b857000 - 0x7fff8b85dfff libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff8b899000 - 0x7fff8b89afff libDiagnosticMessagesClient.dylib (7) <56A70657-E8C2-3804-AB87-77DC100512A4> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8b8f9000 - 0x7fff8b8fbfff libquarantine.dylib (52) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
    0x7fff8b965000 - 0x7fff8b96cfff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8b9b7000 - 0x7fff8b9dbff7 libc++abi.dylib (24.2) <340E7C7B-DC93-3AA2-B015-B1C9541EC255> /usr/lib/libc++abi.dylib
    0x7fff8bcda000 - 0x7fff8bcefff7 libdispatch.dylib (228.18) <0B6B6E7F-4D8A-3F3B-A4BF-6CF34638DBBB> /usr/lib/system/libdispatch.dylib
    0x7fff8bef2000 - 0x7fff8befffff libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
    0x7fff8cecf000 - 0x7fff8cf20fff com.apple.SystemConfiguration (1.12 - 1.12) <6A5D4047-EE5C-36D3-A762-8C882C0B1B25> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8cf30000 - 0x7fff8cf99fff libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
    0x7fff8d16d000 - 0x7fff8d1faff7 com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8d2fa000 - 0x7fff8d2fafff libOpenScriptingUtil.dylib (148) <4DB14EC4-422C-3AE8-83BF-354FEC197FD3> /usr/lib/libOpenScriptingUtil.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 36286
    thread_create: 0
    thread_set_state: 452

VM Region Summary:
ReadOnly portion of Libraries: Total=83.5M resident=32.0M(38%) swapped_out_or_unallocated=51.5M(62%)
Writable regions: Total=76.4M written=3324K(4%) resident=3748K(5%) swapped_out=0K(0%) unallocated=72.7M(95%)
 
REGION TYPE VIRTUAL
=========== =======
MALLOC 12.2M
MALLOC guard page 16K
STACK GUARD 4K
Stack 64.0M
__DATA 3528K
__LINKEDIT 53.1M
__TEXT 30.5M
__UNICODE 544K
shared memory 12K
=========== =======
TOTAL 163.7M

Model: MacBookAir5,1, BootROM MBA51.00EF.B00, 2 processors, Intel Core i5, 1.7 GHz, 4 GB, SMC 2.4f14
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D594B302020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D594B302020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.81.20)
Bluetooth: Version 4.0.9f8 10405, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD TS128E, 121.33 GB
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: SimpleDrive PS, 0x4971, 0xce15, 0x1a120000 / 4
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2512, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0249, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f, 0x1d181300 / 8

Xcode
related to 0012621closed David Cole Compatibility with Xcode 4.3 
related to 0013144closed David Cole Compatibility with Xcode 4.2 (Build 4C199) 
Issue History
2012-08-10 02:34Jerry KrinockNew Issue
2012-08-10 02:39Jerry KrinockTag Attached: Xcode
2012-08-10 08:36Brad KingNote Added: 0030205
2012-08-10 13:03Brad KingNote Added: 0030207
2012-08-10 13:04Brad KingAssigned To => Brad King
2012-08-10 13:04Brad KingStatusnew => resolved
2012-08-10 13:04Brad KingResolutionopen => fixed
2012-08-10 13:04Brad KingFixed in Version => CMake 2.8.10
2012-08-10 13:04Brad KingTarget Version => CMake 2.8.10
2012-08-10 13:04Brad KingRelationship addedrelated to 0012621
2012-08-13 15:31David ColeRelationship addedrelated to 0013144
2013-01-09 10:57Robert MaynardNote Added: 0032055
2013-01-09 10:57Robert MaynardStatusresolved => closed

Notes
(0030205)
Brad King   
2012-08-10 08:36   
CMake has not yet been taught about OS X 10.8 or Xcode 4.4. The install location is different, and therefore the location of the file from which the version number must be extracted is different. CMake needs to learn about xcode-select and perhaps xcrun.
(0030207)
Brad King   
2012-08-10 13:03   
This should fix it:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e88bae77 [^]
(0032055)
Robert Maynard   
2013-01-09 10:57   
Closing resolved issues that have not been updated in more than 4 months.