[MacPorts] #44210: cmake fails to build for OS X 10.10 Yosemite
#44210: cmake fails to build for OS X 10.10 Yosemite --------------------------+-------------------------------- Reporter: per.larsen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: Yosemite | Port: cmake --------------------------+-------------------------------- from the log {{{ :info:configure CMake Error at Modules/Platform/Darwin.cmake:211 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but CMAKE_OSX_SYSROOT: :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) }}} -- Ticket URL: <https://trac.macports.org/ticket/44210> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => css@… * cc: css@… (removed) * keywords: Yosemite => yosemite Comment: Note that because 10.10 is pre-release software we may not be able to help you with it until it is released. -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by robertoschwald@…): CMake can be compiled on Yosemite here. You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly. -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by robertoschwald@…): {{{ ---> Computing dependencies for cmake ---> Fetching archive for cmake ---> Attempting to fetch cmake-3.0.0_3.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/cmake ---> Attempting to fetch cmake-3.0.0_3.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/cmake ---> Attempting to fetch cmake-3.0.0_3.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake ---> Fetching distfiles for cmake ---> Verifying checksums for cmake ---> Extracting cmake ---> Applying patches to cmake ---> Configuring cmake ---> Building cmake ---> Staging cmake into destroot ---> Installing cmake @3.0.0_3 ---> Activating cmake @3.0.0_3 ---> Cleaning cmake }}} -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by carsten@…):
You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly.
In addition to using xcode-select, I had to set CMAKE_OSX_SYSROOT=/Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/. Works for me now. -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by hkroger@…): Replying to [comment:6 carsten@…]:
You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly.
In addition to using xcode-select, I had to set CMAKE_OSX_SYSROOT=/Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/. Works for me now.
I Installed the beta4 of Xcode 6 and did setup the env. var and ran xcode- select but still it didn't work. what could I have done wrong? -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by ab@…): Just run "sudo port clean cmake", and then install it again. Replying to [comment:8 hkroger@…]:
Replying to [comment:6 carsten@…]:
You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly.
In addition to using xcode-select, I had to set CMAKE_OSX_SYSROOT=/Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/. Works for me now.
I Installed the beta4 of Xcode 6 and did setup the env. var and ran xcode-select but still it didn't work. what could I have done wrong?
-- Ticket URL: <https://trac.macports.org/ticket/44210#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by hkroger@…): Ah, of course. That helped. Thanks! Replying to [comment:9 ab@…]:
Just run "sudo port clean cmake", and then install it again.
Replying to [comment:8 hkroger@…]:
Replying to [comment:6 carsten@…]:
You must install Xcode 6 DP in order to have the 10.10 SDK available. You must set xcode-select accordinghly.
In addition to using xcode-select, I had to set CMAKE_OSX_SYSROOT=/Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/. Works for me now.
I Installed the beta4 of Xcode 6 and did setup the env. var and ran xcode-select but still it didn't work. what could I have done wrong?
-- Ticket URL: <https://trac.macports.org/ticket/44210#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Changes (by ryandesign@…): * cc: odslabs@… (added) * status: new => closed * resolution: => invalid Comment: Has duplicate #44505. -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by hkroger@…): Why was this ticket closed. That #44505 was closed as a duplicate? -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by cal@…): Probably because there is a solution outlined above? -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#44210: cmake fails to build for OS X 10.10 Yosemite ---------------------------+---------------------- Reporter: per.larsen@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: yosemite Port: cmake | ---------------------------+---------------------- Comment (by odslabs@…): Thanks ryandesign for including me in this. I was able to get cmake to install by downloading and installing xcode 6 from https://developer.apple.com/xcode/downloads/ then: {{{ port clean cmake xcode-select -s /Applications/Xcode6-Beta4.app/Contents/Developer/ port upgrade outdated }}} cmake configured, built and installed without a problem but then I hit: {{{ ---> Computing dependencies for llvm-gcc42 ---> Fetching distfiles for llvm-gcc42 Error: llvm-gcc42 is not supported on Yosemite or later. Error: org.macports.fetch for port llvm-gcc42 returned: unsupported platform Please see the log file for port llvm-gcc42 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} I see this error message was added on Tue, 03 Jun 2014, at https://lists.macosforge.org/pipermail/macports- changes/2014-June/105842.html Please let me know if I need to open a new ticket for this, or if it's not valid as it seems jeremyhu is already aware of this. -- Ticket URL: <https://trac.macports.org/ticket/44210#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts