[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
Mon Feb 8 13:00:22 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 vfrspencer@…):

 Replying to [comment:95 jeremyhu@…]:
 > Sorry, I should have said that it's fixed in Xcode 7.3 beta 1 and later.
 7.3 beta2 was released about a week and a half ago.  See
 https://developer.apple.com/news

 jeremyhu,

 Are you sure the fix is provided by Xcode?
 I downloaded and installed Xcode 7.3 beta 2.  It installs simply via
 drag-n-drop to wherever, /Applications in my case.  So the installation
 does not touch /usr/include that I see.

 I have selected Xcode 7.3 beta 2 as my default:

 cf-vpn-hw-swift-1(6)$ xcode-select -p

 /Applications/Xcode-beta.app/Contents/Developer

 and attempted to install/update the command line tools:

 cf-vpn-hw-swift-1(7)$ sudo xcode-select --install

 xcode-select: error: command line tools are already installed, use
 "Software Update" to install updates

 But /usr/include/Availability.h is the same, and gcc48 still fails to
 build.

 Any thoughts or other suggestions?

 Thanks,
 Spencer

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


More information about the macports-tickets mailing list