[cmake-developers] [CMake 0015762]: bootstrap fails on OS X 10.10.5 (Yosemite)

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 1 19:15:06 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15762 
====================================================================== 
Reported By:                Damian Rouson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15762
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-10-01 19:15 EDT
Last Modified:              2015-10-01 19:15 EDT
====================================================================== 
Summary:                    bootstrap fails on OS X 10.10.5 (Yosemite)
Description: 
Below is the tail of the output from running "./bootstrap --prefix=${PWD}" on OS
X 10.10.5 (Yosemite).  The same command completes successfully on Linux
(Lubuntu).

Damian

g++ 
-I/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Bootstrap.cmk
-I/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Source
 
-I/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Bootstrap.cmk
-c
/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Source/cmBootstrapCommands1.cxx
-o cmBootstrapCommands1.o
In file included from /usr/include/dispatch/dispatch.h:51:0,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                 from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
                 from
/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Source/cmFindProgramCommand.cxx:16,
                 from
/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Source/cmBootstrapCommands1.cxx:52:
/usr/include/dispatch/object.h:143:15: error: expected unqualified-id before '^'
token
 typedef void (^dispatch_block_t)(void);
               ^
/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token
/usr/include/dispatch/object.h:362:3: error: 'dispatch_block_t' has not been
declared
   dispatch_block_t notification_block);
   ^
make: *** [cmBootstrapCommands1.o] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors:
/Users/rouson/Code/sourceryinstitute/AdHoc/src/cmake/bug-xxxx/cmake-3.3.0/Bootstrap.cmk/cmake_bootstrap.log


Steps to Reproduce: 
#!/bin/bash
version=3.3
wget http://www.cmake.org/files/v$version/cmake-$version.0-1-src.tar.bz2 &&
tar xvjf cmake-$version.0-1-src.tar.bz2 &&
tar xvjf cmake-$version.0.tar.bz2 &&
cd cmake-$version.0  &&
./bootstrap --prefix=${PWD} >&1 | tee build.log

Additional Information: 
The results from running the above script are viewable at
https://github.com/sourceryinstitute/AdHoc/blob/master/src/cmake/bug-xxxx/build.log
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-10-01 19:15 Damian Rouson  New Issue                                    
2015-10-01 19:15 Damian Rouson  File Added: cmake_bootstrap.log                 
  
======================================================================



More information about the cmake-developers mailing list