[MacPorts] #44705: fswatch @1.3.9 submission
MacPorts
noreply at macports.org
Tue Aug 19 10:24:21 PDT 2014
#44705: fswatch @1.3.9 submission
------------------------------------+--------------------------------
Reporter: enrico.m.crisostomo@… | Owner: macports-tickets@…
Type: submission | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: fixed | Keywords:
Port: fswatch |
------------------------------------+--------------------------------
Comment (by cal@…):
Failed on the Snow Leopard buildbot:
{{{
checking whether /usr/bin/g++-4.2 supports C++11 features by default... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=c++0x... no
configure: error: *** A compiler with support for C++11 language features
is required.
Command failed: cd
"/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.3.9"
&& ./configure --prefix=/opt/local
Exit code: 1
Error: Failed to configure fswatch, consult
/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.3.9/config.log
Error: org.macports.configure for port fswatch returned: configure
failure: command execution failed
}}}
You should probably add `compiler.blacklist gcc-4.2` and possibly also
`llvm-gcc-4.2`. Since `clang` didn't ship a C++ compiler when it was first
introduced and MacPorts falls back to LLVM GCC 4.2 for C++ code, you
should include the `compiler_blacklist_versions` portgroup and blacklist
`{clang < 137}`. In total, your additions should probably contain
{{{
PortGroup compiler_blacklist_versions 1.0
}}}
and
{{{
compiler.blacklist gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 {clang <
137}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/44705#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list