<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">On Fri, Aug 14, 2015 at 5:34 AM, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt; wrote:</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On Aug 12, 2015, at 8:09 PM, Kurt Pfeifle wrote:<br>
<br>
&gt; When trying to install some ports on a newly upgraded Yosemite system, I get these lines:<br>
&gt;<br>
&gt; Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option<br>
&gt;<br>
&gt; For example, it happens for the sam2p port. Here this line is repeated about two dozen times even:<br>
&gt;<br>
&gt; ---&gt;  Configuring sam2p<br>
&gt; Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option<br>
<br>
</span>This means that the sam2p port declares that it is not compatible with some compilers: in fact, it declares that it is not compatible with every compiler that is compatible with your operating system. Therefore, no compilers remain that can compile this port, so you cannot compile this port on your operating system.<br>
<br>
That is what the message means, but in fact it is not entirely true in this case.<br>
<br>
Specifically, the sam2p port declares that it is incompatible with all version of the clang compiler, and the clang compiler is the only compiler that comes with Xcode 5 and later.<br>
<br>
Older compilers exist in MacPorts, with which sam2p would be compatible: llvm-gcc42 and apple-gcc42. However, at the time that MacPorts 2.3.3 was released, llvm-gcc42 and apple-gcc42 could not be built on Yosemite, so MacPorts does not include those compilers in the list of fallback compilers.<br>
<br>
The problems with llvm-gcc42 and apple-gcc42 have since been fixed. They now build and work on Yosemite. MacPorts has been updated (in r136965) to now use those as fallbacks again on Yosemite. However, a new version of MacPorts has not been released since then.<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">Than you very much, Ryan, for your patient and comprehensive explanations.</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Until a new version of MacPorts is released containing this fix, you should be able to force MacPorts to use llvm-gcc42 for sam2p as follows:<br>
<br>
sudo port clean sam2p<br>
sudo port install sam2p configure.compiler=macports-llvm-gcc-4.2<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">I did this, and it worked without any issue.</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another option is to upgrade your MacPorts installation to the latest development code from our svn repository, which contains the fix.<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">This route I don’t dare nor need to go at the moment  :-)</p><p style="margin:1.2em 0px!important">Thanks again.</p><p style="margin:1.2em 0px!important"><br></p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj5PbiBGcmks
IEF1ZyAxNCwgMjAxNSBhdCA1OjM0IEFNLCBSeWFuIFNjaG1pZHQgPHNwYW4gZGlyPSJsdHIiPiZs
dDs8YSBocmVmPSJtYWlsdG86cnlhbmRlc2lnbkBtYWNwb3J0cy5vcmciIHRhcmdldD0iX2JsYW5r
Ij5yeWFuZGVzaWduQG1hY3BvcnRzLm9yZzwvYT4mZ3Q7PC9zcGFuPiB3cm90ZTo8YnI+PGJsb2Nr
cXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0ibWFyZ2luOjAgMCAwIC44ZXg7Ym9yZGVy
LWxlZnQ6MXB4ICNjY2Mgc29saWQ7cGFkZGluZy1sZWZ0OjFleCI+PHNwYW4gY2xhc3M9IiI+PGJy
PgpPbiBBdWcgMTIsIDIwMTUsIGF0IDg6MDkgUE0sIEt1cnQgUGZlaWZsZSB3cm90ZTo8YnI+Cjxi
cj4KJmd0OyBXaGVuIHRyeWluZy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