#39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure --------------------+-------------------------------- Reporter: help@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: cmake --------------------+-------------------------------- {{{ $ sudo port install cmake ---> Computing dependencies for cmake ---> Fetching distfiles for cmake ---> Verifying checksum(s) for cmake ---> Extracting cmake ---> Applying patches to cmake ---> Configuring cmake Error: org.macports.configure for port cmake returned: configure failure: command execution failed 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 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port cmake failed }}} From main.log: {{{ :info:configure CMake Error at Modules/Platform/Darwin.cmake:190 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.7' 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:14 (project) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! }}} Full main.log is attached. Compilation succeeds when macosx_deployment_target isn't set in macports.conf. -- Ticket URL: <https://trac.macports.org/ticket/39086> MacPorts <http://www.macports.org/> Ports system for OS X