Opened 9 years ago
Closed 9 years ago
#48659 closed defect (invalid)
error during sudo port upgrade outdated
Reported by: | sangshimgm@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (4)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Priority: | High → Normal |
---|
comment:2 follow-up: 3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
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.
comment:3 Changed 9 years ago by sangshimgm@…
Replying to 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.
Thanks. It solves the problem.
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The Priority field is for use by Macports team members only.