<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I see the following error message. Does anybody know what is wrong<br>
with it and how to get it work? Thanks.<br>
<br>
~$ sudo port install gdb<br>
---> Cleaning gdb<br></blockquote><div><br></div><div>gdb was already installed, so it didn't actually do anything.</div><div><br></div><div>MacPorts does a sanity check after any install or upgrade, to look for anything (not just the port you installed/upgraded) that is broken for some reason:</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---> Scanning binaries for linking errors: 100.0%<br>
---> Found 14 broken file(s), matching files to ports<br>
---> Found 1 broken port(s), determining rebuild order<br>
---> Rebuilding in order<br>
arpack @3.1.2 +accelerate+gcc47+openmpi<br>
Error: arpack: Variant openmpi conflicts with gcc47<br></blockquote><div><br></div><div>Older versions of various ports using openmpi had a bug where they thought they could specify it along with a compiler; in fact, openmpi requires that the same compiler be used everywhere and acts like a compiler itself. The fix for this is</div>
<div><br></div><div> sudo port upgrade --enforce-variants arpack +accelerate+openmpi</div><div><br></div><div>(note lack of +gcc47, which was the bug).</div><div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div>
<div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div>
</div>
</div></div>