sudo port install gdb problem

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


On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu <pengyu.ut at 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
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20131201/d377e4d8/attachment.html>


More information about the macports-users mailing list