[MacPorts] #49126: class-dump @3.5 (devel) build failure
#49126: class-dump @3.5 (devel) build failure --------------------+-------------------------------- Reporter: bulk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------+-------------------------------- The build for class-dump sets SDKROOT as follows: SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" Unfortunately, the MacOSX10.9.sdk SDK doesn't exist anymore in Xcode 7, so the build fails. Suggest: changing this to use MacOSX10.11.sdk instead. -- Ticket URL: <https://trac.macports.org/ticket/49126> MacPorts <https://www.macports.org/> Ports system for OS X
#49126: class-dump @3.5 (devel) build failure when MacOSX10.9.sdk doesn't exist -------------------------+---------------------------- Reporter: bulk@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: class-dump | -------------------------+---------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * owner: macports-tickets@… => cedric.luthi@… * port: => class-dump Comment: We can't unconditionally set the SDK version to 10.11 because obviously that would fail on earlier versions of Xcode that don't have a 10.11 SDK. Ports usually shouldn't be setting an SDK version, and should instead allow the MacPorts configured SDK to be used. The exception is when a port cannot be built with a particular SDK, as is the case here: the 10.8 SDK won't work. So we should look specifically if the 10.8 SDK is being requested, and if so, use the 10.9 SDK, otherwise use the MacPorts configured SDK. I believe the attached patch is a step in the right direction, but I'm encountering other build errors on Yosemite, and I want to test on Mountain Lion also before committing it. -- Ticket URL: <https://trac.macports.org/ticket/49126#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts