[MacPorts] #49126: class-dump @3.5 (devel) build failure when MacOSX10.9.sdk doesn't exist (was: class-dump @3.5 (devel) build failure)

MacPorts noreply at macports.org
Tue Oct 6 02:14:10 PDT 2015


#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


More information about the macports-tickets mailing list