[MacPorts] #38422: textmate2: error: no matching function for call to 'begin'
MacPorts
noreply at macports.org
Sat Apr 6 11:25:57 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 ryandesign@…):
It does not appear to be using using the right compiler; I ran `sudo port
install textmate2 compiler.blacklist=clang` and MacPorts then claimed that
it was building with llvm-gcc-4.2, but it still built with clang. clang
appears to be hardcoded in ${worksrcpath}/build/build.ninja.
This is a secondary machine, with various older OSes and Xcodes,
specifically to find problems like this (on which I needed a text editor
and wanted to use textmate2; I ended up downloading a binary from their
web site instead). If a particular compiler will not work, you should
blacklist it. It's one line to include the portgroup and one line to list
the compilers you want to blacklist. This is much easier than trying to
figure out other criteria for erroring out. Specifically, checking the
Xcode version is not a solution, since Xcode can be updated independently
of the command line tools, and it's the version of the compiler in the
command line tools that matters here. Also, since we have binaries, the
burden for installing a compiler via MacPorts is less than it used to be.
--
Ticket URL: <https://trac.macports.org/ticket/38422#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list