[MacPorts] #41321: cmake: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)

MacPorts noreply at macports.org
Thu Jun 12 08:40:56 PDT 2014


#41321: cmake: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or
later)
---------------------------+-----------------------
  Reporter:  ryandesign@…  |      Owner:  css@…
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.99
Resolution:  fixed         |   Keywords:  mavericks
      Port:  cmake         |
---------------------------+-----------------------

Comment (by ks+macports@…):

 Replying to [comment:28 nicos@…]:
 > Considering that no issues were reported several weeks after the release
 of MacPorts 2.3.0, the issue is assumed fixed.

 Sorry. Seems not to work with 2.3.0 trying to build synergy.


 {{{
 loading initial cache file
 /Users/charly/packages/macports/MacPorts-2.3.0.install/var/macports/build/_Users_charly_packages_macports_MacPorts-2.3.0.install_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12.2/Bootstrap.cmk/InitialCacheFlags.cmake
 -- The C compiler identification is Clang 5.0.0
 -- The CXX compiler identification is Clang 5.0.0
 CMake Error at Modules/Platform/Darwin.cmake:211 (message):
   CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but CMAKE_OSX_SYSROOT:

    ""

   is not set to a MacOSX SDK with a recognized version.  Either set
   CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
   empty.
 Call Stack (most recent call first):
   Modules/CMakeSystemSpecificInformation.cmake:36 (include)
   CMakeLists.txt:14 (project)


 -- Configuring incomplete, errors occurred!
 See also
 "/Users/charly/packages/macports/MacPorts-2.3.0.install/var/macports/build/_Users_charly_packages_macports_MacPorts-2.3.0.install_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12.2/CMakeFiles/CMakeOutput.log".
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running initial CMake
 ---------------------------------------------
 Command failed:  cd
 "/Users/charly/packages/macports/MacPorts-2.3.0.install/var/macports/build/_Users_charly_packages_macports_MacPorts-2.3.0.install_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12.2"
 && ./configure
 --prefix=/Users/charly/packages/macports/MacPorts-2.3.0.install
 --mandir=/share/man --docdir=/share/doc/cmake --parallel=4
 --init=/Users/charly/packages/macports/MacPorts-2.3.0.install/var/macports/build/_Users_charly_packages_macports_MacPorts-2.3.0.install_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12.2/macports.cmake
 Exit code: 11
 Error: org.macports.configure for port cmake returned: configure failure:
 command execution failed
 Warning: targets not executed for cmake: org.macports.activate
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 Error: Failed to install cmake
 Please see the log file for port cmake for details:
 /Users/charly/packages/macports/MacPorts-2.3.0.install/var/macports/logs/_Users_charly_packages_macports_MacPorts-2.3.0.install_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log

 }}}


 Which further information do you need?

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


More information about the macports-tickets mailing list