[MacPorts] #48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in Availability.h

MacPorts noreply at macports.org
Fri Mar 11 13:07:04 PST 2016


#48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in
Availability.h
-----------------------+--------------------------------
  Reporter:  jasonw@…  |      Owner:  mww@…
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:  elcapitan haspatch
      Port:  gcc48     |
-----------------------+--------------------------------

Comment (by russellhanson@…):

 Wow.  Thanks @jeremyhu and @vfrspencer...

 This Availability.h bug is one of the worst...  All because of Mac System
 Integrity Protection (SIP), can't just fix the header file and move on
 with it.

 I was forced to install gcc5, and got sucked down this rabbit hole.  Among
 other reasons to end up here.

 Installing Xcode_7.3_beta_5.dmg doesn't fix it.

 Installing Command_Line_Tools_OS_X_10.11_for_Xcode_7.3_beta_5.dmg does.

 It's still funny that the Command Line Tools dmg BETA can get around
 rootless SIP (http://www.howtogeek.com/230424/how-to-disable-system-
 integrity-protection-on-a-mac-and-why-you-shouldnt/).  Doesn't that mean
 that anything pretending to be a Command Line Tools installer (or
 whatever) can evade rootlessness also???

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


More information about the macports-tickets mailing list