[MacPorts] #44367: arb @6.0: failed to detect COMPILER_NAME (got 'unknown', expected 'clang' or 'gcc'). Stop.

MacPorts noreply at macports.org
Tue Aug 5 04:05:09 PDT 2014


#44367: arb @6.0: failed to detect COMPILER_NAME (got 'unknown', expected 'clang'
or 'gcc').  Stop.
---------------------------+---------------------------------
  Reporter:  ryandesign@…  |      Owner:  matt.cottrell@…
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.1
Resolution:                |   Keywords:  haspatch maintainer
      Port:  arb           |
---------------------------+---------------------------------

Comment (by ryandesign@…):

 Correcting the compiler version detection has exposed further bugs in how
 the Makefile handles compiler versions. For example, if the first digit of
 the compiler version is not "4", it assumes the compiler must have the
 capabilities of gcc 4.8 or greater. This is obviously wrong; one only
 needs to consider what would happen when using gcc 3.3 for example. And
 now that clang versions are being detected correctly, they now hit this
 problem as well, since clang versions are currently at 3.x.

 The attached Makefile patch should fix this, and with the patch from
 #44545, arb now builds for me on Snow Leopard. May I commit these changes?

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


More information about the macports-tickets mailing list