[MacPorts] #52990: g95 install failed on Mac OS Sierra 10.12.1

MacPorts noreply at macports.org
Fri May 19 12:16:45 UTC 2017


#52990: g95 install failed on Mac OS Sierra 10.12.1
----------------------------+----------------------
  Reporter:  AliceBreeveld  |      Owner:  tenomoto
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.5
Resolution:                 |   Keywords:
      Port:  g95            |
----------------------------+----------------------

Comment (by JohnPritchard):

 Hi, in the hope that the following is useful...

 This ticket is now six months old. And there are three new tickets
 reporting the same problem, #54108, #54109 & #54155.

 The problem seems to be simply that two comments at the beginning of the
 file libf95/math/x87.S which start with "##" are being mis-intrepretted
 somehow and producing "unexpected token at start of statement" errors.

 The two lines are:

 {{{
  ## Some of the code here is transliterated from the x87 glibc code
  ## originally written by J.T. Conklin and Ulrich Drepper.
 }}}

 If one simply encloses these in /* ... */ the problem (appears) to be
 solved, i.e.

 {{{
 /*
  ## Some of the code here is transliterated from the x87 glibc code
  ## originally written by J.T. Conklin and Ulrich Drepper.
 */
 }}}

 I can provide the modified Portfile and the patch file which implements
 this fix.


 Best regards

 John Pritchard

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


More information about the macports-tickets mailing list