[MacPorts] #48659: error during sudo port upgrade outdated
MacPorts
noreply at macports.org
Fri Aug 21 12:32:11 PDT 2015
#48659: error during sudo port upgrade outdated
---------------------------+--------------------------------
Reporter: sangshimgm@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Old description:
> I got the following error during upgrade.
>
> ShimMBA:~ DanShim$ sudo port upgrade outdated
>
> Error: Unable to open port: can't set "compiler.blacklist": couldn't
> determine build number of compiler "gcc-4.2"
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
> Then I try to check the version of gcc. It seems fine, I am unsure.
>
> ShimMBA:~ DanShim$ gcc-4.2 -v
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
> Target: x86_64-apple-darwin14.5.0
> Thread model: posix
>
> I reinstalled command line tools but it did not help.
>
> Thanks in advance.
New description:
I got the following error during upgrade.
{{{
ShimMBA:~ DanShim$ sudo port upgrade outdated
Error: Unable to open port: can't set "compiler.blacklist": couldn't
determine build number of compiler "gcc-4.2"
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
Then I try to check the version of gcc. It seems fine, I am unsure.
{{{
ShimMBA:~ DanShim$ gcc-4.2 -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
}}}
I reinstalled command line tools but it did not help.
Thanks in advance.
--
Comment (by ryandesign@…):
Your "gcc-4.2" is actually clang. That's not normal. On OS X Yosemite,
which it appears is what you have, /usr/bin/gcc-4.2 should not exist at
all. I'm guessing it is a symlink to clang. If so, remove it.
--
Ticket URL: <https://trac.macports.org/ticket/48659#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list