Error: Unable to open port: can't set "compiler.blacklist": couldn't determine build number of compiler "gcc-4.2"

Brickle Macho bricklemacho at
Sun Nov 3 18:14:53 PST 2013

  /opt/local/bin/gcc  --> /opt/local/bin/gcc-mp-4.7

Based on your comments all looks good.


On 4/11/2013 10:10 am, Ryan Schmidt wrote:
> On Nov 3, 2013, at 19:56, Brickle Macho wrote:
>> Thanks, that fixed the issue.  It was symlinked to gcc, which was symlinked to gcc 4.7.    Gimp is now building (well fetching archives atm).
> And where is that “gcc”? If it’s in /opt/local/bin then that’s fine; you can use “port select gcc” to select any gcc you want. However if you’re saying that /usr/bin/gcc was a symlink to MacPorts gcc 4.7, then that’s a problem. On Mavericks /usr/bin/gcc should be a small stub program that calls the real compiler. If that’s not what you have, then you should restore it from your backups or perhaps reinstalling the Xcode command line tools would put it back the way it should be.

More information about the macports-users mailing list