[MacPorts] #40699: Disastrous port update from Lion to Mountain Lion

MacPorts noreply at macports.org
Mon Oct 7 22:55:49 PDT 2013


#40699: Disastrous port update from Lion to Mountain Lion
--------------------+--------------------------------
 Reporter:  jeff@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.0
 Keywords:          |       Port:
--------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/40699>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list