[MacPorts] #44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite

MacPorts noreply at macports.org
Fri Aug 8 23:52:43 PDT 2014


#44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite
--------------------------------+--------------------------------
 Reporter:  daniele.pontillo@…  |      Owner:  macports-tickets@…
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.3.1
 Keywords:                      |       Port:
--------------------------------+--------------------------------
 I guess the problem lies in the CMAKE_OSX_SYSROOT value: as noted in the
 following log lines, and I cannot install cmake:

 :info:configure -- The C compiler identification is AppleClang
 5.1.0.5030040
 :info:configure -- The CXX compiler identification is AppleClang
 5.1.0.5030040
 :info:configure CMake Warning at Modules/Platform/Darwin.cmake:143
 (message):
 :info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but the matching
 SDK does not exist
 :info:configure   at:
 :info:configure
 :info:configure
 "/Applications/Utilities/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
 :info:configure
 :info:configure   Instead using SDK:
 :info:configure
 :info:configure
 "/Applications/Utilities/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
 :info:configure
 :info:configure   matching the host OS X version.
 :info:configure Call Stack (most recent call first):
 :info:configure   Modules/CMakeSystemSpecificInformation.cmake:36
 (include)
 :info:configure   CMakeLists.txt:16 (project)
 :info:configure
 :info:configure
 :info:configure CMake Warning at Modules/Platform/Darwin.cmake:179
 (message):
 :info:configure   Ignoring CMAKE_OSX_SYSROOT value:
 :info:configure
 :info:configure
 /Applications/Utilities/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
 :info:configure
 :info:configure   because the directory does not exist.
 :info:configure Call Stack (most recent call first):
 :info:configure   Modules/CMakeSystemSpecificInformation.cmake:36
 (include)
 :info:configure   CMakeLists.txt:16 (project)
 :info:configure
 :info:configure
 :info:configure CMake Error at Modules/Platform/Darwin.cmake:213
 (message):
 :info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but
 CMAKE_OSX_SYSROOT:
 :info:configure
 :info:configure    ""
 :info:configure
 :info:configure   is not set to a MacOSX SDK with a recognized version.
 Either set
 :info:configure   CMAKE_OSX_SYSROOT to a valid SDK or set
 CMAKE_OSX_DEPLOYMENT_TARGET to
 :info:configure   empty.
 :info:configure Call Stack (most recent call first):
 :info:configure   Modules/CMakeSystemSpecificInformation.cmake:36
 (include)
 :info:configure   CMakeLists.txt:16 (project)
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/CMakeFiles/CMakeOutput.log".
 :info:configure ---------------------------------------------
 :info:configure Error when bootstrapping CMake:
 :info:configure Problem while running initial CMake
 :info:configure ---------------------------------------------
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0"
 && ./configure --prefix=/opt/local --mandir=/share/man
 --docdir=/share/doc/cmake --parallel=2
 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/macports.cmake
 --system-libs
 :info:configure Exit code: 11
 :error:configure org.macports.configure for port cmake returned: configure
 failure: command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
     while executing
 "portconfigure::configure_main org.macports.configure"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:configure Warning: targets not executed for cmake:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Please see the log file for port cmake for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log

-- 
Ticket URL: <https://trac.macports.org/ticket/44581>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list