[MacPorts] #56502: gcc5 @5.5.0_1 error: expected initializer before 'API_AVAILABLE'

MacPorts noreply at macports.org
Thu May 17 15:32:17 UTC 2018

#56502: gcc5 @5.5.0_1 error: expected initializer before 'API_AVAILABLE'
  Reporter:  murrayE  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.4
Resolution:           |   Keywords:
      Port:  gcc5     |

Comment (by kencu):

 Replying to [comment:7 murrayE]:
 > What exactly do you mean by "installing a prebuilt binary" in the case
 of gcc5?

 In almost all cases, when you install a port, you download a prebuilt
 binary that comes from Ryan's family of buildbots in Texas, you don't
 build it yourself.

 In this case though, it looks like a recent `mpfr` update has made the
 port unbuildable. So there is no prebuilt binary of `gcc5`. Therefor
 MacPorts dutifully tries to build it for you on your system, and it fails.

 Not sure where this will wind up. If you need to be up and running right
 now, peg `mpfr` in your local repo at the last version, and peg `gcc5` at
 the last revision. Then all is well for the next few months until somebody
 sorts this out, if it can be sorted out.

Ticket URL: <https://trac.macports.org/ticket/56502#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list