#52258: cmake upgrade to 3.6.2_0 fails ----------------------+------------------------- Reporter: dersh@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cmake | ----------------------+------------------------- Comment (by larryv@…): Replying to [comment:8 michaelld@…]:
The basic issue is that we need to set the SDK properly by the host OS. In your case here, the build is trying to use the 10.12 SDK while you're running on 10.11. That's asking for problems. I'm not sure what the correct solution is off the top of my head.
This excerpt from the [http://adcdownload.apple.com/Developer_Tools/Xcode_8.1_beta/Release_Notes_fo... Xcode 8.1 beta release notes] may be of interest: There is no Command Line Tools (OS X 10.11) for Xcode 8 package. Xcode 8 contains SDKs that are incompatible with earlier toolchains. Developers who want to make use of the Xcode 8 SDKs from the command line must choose the SDK with `xcode-select`. Developers on OS X El Capitan who have installed versions of the Command Line Tools (OS X 10.11) for Xcode 8 Beta should install Command Line Tools (OS X 10.11) for Xcode 7.3.1. (28234439) -- Ticket URL: <https://trac.macports.org/ticket/52258#comment:11> MacPorts <https://www.macports.org/> Ports system for macOS