sudo port install gdb problem

Brandon Allbery allbery.b at
Sun Dec 1 06:23:02 PST 2013

On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu <pengyu.ut at> 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

> --->  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
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list