Skip to content

Building CMake fails on Darwin #368

@johannesring

Description

@johannesring

The following profile

extends:
- file: osx.yaml

packages:
  cmake:

fails with:

...
[cmake] -- The C compiler identification is Clang 5.1.0
[cmake] -- The CXX compiler identification is Clang 5.1.0
[cmake] CMake Error at Modules/Platform/Darwin.cmake:211 (message):
[cmake]   CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but CMAKE_OSX_SYSROOT:
[cmake] 
[cmake]    ""
[cmake] 
[cmake]   is not set to a MacOSX SDK with a recognized version.  Either set
[cmake]   CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
[cmake]   empty.
[cmake] Call Stack (most recent call first):
[cmake]   Modules/CMakeSystemSpecificInformation.cmake:36 (include)
[cmake]   CMakeLists.txt:14 (project)
[cmake] 
[cmake] 
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/Users/buildbot/.hashdist/tmp/cmake-ckvi5ak55y2k-1/CMakeFiles/CMakeOutput.log".
[cmake] ---------------------------------------------
[cmake] Error when bootstrapping CMake:
[cmake] Problem while running initial CMake
[cmake] ---------------------------------------------
[cmake] make: *** No targets specified and no makefile found.  Stop.
[cmake ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 2
[cmake ERROR] command failed (code=2); raising

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions