[MacPorts] #38422: textmate2: error: no matching function for call to 'begin'

MacPorts noreply at macports.org
Sat Apr 6 12:42:02 PDT 2013


#38422: textmate2: error: no matching function for call to 'begin'
---------------------------+----------------------
  Reporter:  ryandesign@…  |      Owner:  cal@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  textmate2     |
---------------------------+----------------------

Comment (by cal@…):

 It only attempts to use `llvm-gcc-4.2`, because you manually blacklist
 clang, which causes MacPorts to use `llvm-gcc-4.2`. LLVM GCC, however, can
 not be used to build textmate2, and its build system tries to be smart by
 looking for a different compiler, that might work. I don't see a reason to
 stop it from doing so, though, because the Portfile currently does not
 blacklist clang and all supported platforms use clang as their default
 compiler.

 We're not in a habit of blacklisting compilers that aren't being used
 anyway – we're not blacklisting gcc-3 on most ports, although it is in the
 fallback list on some systems and it will probably not compile most
 software in macports. This brings me back to topic: I can't test with the
 compiler you're trying to use, so feel free to commit a patch that will
 blacklist it (and then ensure a proper fallback is chosen, probably by
 also blacklisting llvm-gcc-4.2 and every other compiler that comes in the
 fallback list before a suitable clang, or just modify the fallback list to
 contain the host clang and a recent enough macports clang).

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


More information about the macports-tickets mailing list