On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu <pengyu...@gmail.com> wrote:

> I see the following error message. Does anybody know what is wrong
> with it and how to get it work? Thanks.
>
> ~$ sudo port install gdb
> --->  Cleaning gdb
>

gdb was already installed, so it didn't actually do anything.

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:


> --->  Scanning binaries for linking errors: 100.0%
> --->  Found 14 broken file(s), matching files to ports
> --->  Found 1 broken port(s), determining rebuild order
> --->  Rebuilding in order
>      arpack @3.1.2 +accelerate+gcc47+openmpi
> Error: arpack: Variant openmpi conflicts with gcc47
>

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

    sudo port upgrade --enforce-variants arpack +accelerate+openmpi

(note lack of +gcc47, which was the bug).

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to