<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">OK, I’ve worked out what was going on.</div><div class=""><br class=""></div><div class="">The problem is the port uses the cxx11 port group, which internally sets the whitelist to include *only* macports-clang-5.0. This is then used instead of the fallback list below to pick a compiler, and because this one is in the blacklist, all options fail and port default to the first in the fallback list, which just happens to be clang.</div><div class=""><br class=""></div><div class="">I think the cxx11 PG needs to extend the whitelist it sets, to include some of the new macports clang options…</div><div class=""><br class=""></div><div class="">Chris<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 5 Aug 2019, at 6:46 pm, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi All,<div class=""><br class=""></div><div class="">Just trying to understand the build failure in</div><div class=""><br class=""></div><div class=""><a href="https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/99778/steps/install-port/logs/stdio" class="">https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/99778/steps/install-port/logs/stdio</a></div><div class=""><br class=""></div><div class="">port in question </div><div class=""><br class=""></div><div class=""><a href="https://github.com/macports/macports-ports/blob/master/devel/folly/Portfile" class="">https://github.com/macports/macports-ports/blob/master/devel/folly/Portfile</a></div><div class=""><br class=""></div><div class="">has the compiler selection</div><div class=""><br class=""></div><div class=""><div class="">compiler.blacklist-append {clang < 920} macports-clang-3.* macports-clang-4.0 \</div><div class="">    macports-clang-5.0</div><div class="">compiler.fallback-append macports-clang-8.0 macports-clang-7.0 macports-clang-6.0</div></div><div class=""><br class=""></div><div class="">build generates</div><div class=""><br class=""></div><div class=""><pre class=""><span class="stdout" style="caret-color: rgb(0, 0, 0); white-space: pre-wrap;">--->  Configuring folly
</span><span class="stderr" style="caret-color: rgb(0, 0, 0); color: red; white-space: pre-wrap;">Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
DEBUG: Preferred compilers: clang macports-clang-3.4 macports-llvm-gcc-4.2 apple-gcc-4.2 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0
</span><font color="#ff0000" class=""><span style="caret-color: rgb(0, 0, 0); white-space: pre-wrap;" class="">DEBUG: Using compiler 'Xcode Clang’</span></font></pre><pre class=""><font color="#ff0000" class=""><span style="caret-color: rgb(0, 0, 0); white-space: pre-wrap;" class=""><snip></span></font></pre><pre class=""><pre style="white-space: pre-wrap; caret-color: rgb(0, 0, 0);" class=""><span class="stdout">-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- The C compiler identification is AppleClang 5.1.0.5030040</span></pre></pre></div><div class="">why is Xcode clang being selected, when it is already blacklisted ? Do the blacklist settings not get applied to the fallback list ?</div><div class=""><br class=""></div><div class="">cheers Chris</div><div class=""><table class="highlight js-file-line-container tab-size" data-tab-size="8" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; tab-size: 8; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;"><tbody style="box-sizing: border-box;" class=""></tbody></table></div></div></div></blockquote></div><br class=""></div></body></html>