Opened 11 years ago
Last modified 11 years ago
#40699 closed defect
Disastrous port update from Lion to Mountain Lion — at Initial Version
Reported by: | JAyenGreen (Jeff Greenberg) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: |
Description
I upgraded from Lion to Mountain Lion (Macbook Pro) with no issues. Then installed Xcode 5, which already had the command line tools set in preferences.
I then did:
sudo port -v upgrade outdated
It commented that the file list was outdated and that I might be better to try selfupdate...but continued on its way with the upgrade. The upgrade failed due to a build file not being found, so heeding the suggestion, I tried
sudo port -v selfupdate
The tail end of that is:
checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base': configure: error: C compiler cannot create executables See `config.log' for more details Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install SELFUPDATING=1 Exit code: 77 Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
At this point I have no clue what state I'm in or what to do about it.