[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 03:04:25 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@…):

 This patch causes clang versions to be detected correctly, instead of
 always being detected as the GCC compatibility version "4.2.1" as before.
 This therefore causes the build to now fail with clang, as in:

 {{{
 Compiler version check:
   - Your compiler is 'clang' version '3.4.2'
     This version is not in the list of supported clang-versions:
     * 4.2.1
   - You may either ..
     - add your version to ALLOWED_clang_VERSIONS in the Makefile and try
 it out or
     - switch to one of the allowed versions (see arb_README_gcc.txt for
 installing
       a different version of gcc)
 }}}

 Trying to whitelist each working compiler version seems like a never-
 ending exercise in futility. How about just assuming that all versions of
 clang will work, until you find one that actually doesn't work. Also, it's
 silly to advise the user how to install "a different version of gcc" when
 the user's compiler is clang not gcc.

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


More information about the macports-tickets mailing list