Macports won't update under ML

cruddell001 chris.ruddell at gmail.com
Wed Jul 25 21:04:15 PDT 2012


I updated to Mountain Lion today and ran sudo port selfupdate - something I
haven't done in probably a couple of months.  However, I got an error
message saying it can't install.  I tried searching around, but the only
proposed solution I could find was to add the line "developer_dir" to the
macports.conf file.  I tried that, but it didn't change anything.  Here is
the output using the "-d" setting:

pc:~ cruddell001$ sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.1 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is outdated, installing new version 2.1.2
Installing new MacPorts release in /opt/local as root:admin; permissions
0755; Tcl-Package in /Library/Tcl

Error: /opt/local/bin/port: port selfupdate failed: Error installing new
MacPorts base: command execution failed
pc:~ cruddell001$ sudo port -d selfupdate
DEBUG: Copying
/Users/cruddell001/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  70.00 bytes/sec
total size is 3543040  speedup is 33743.24
receiving file list ... done

sent 36 bytes  received 76 bytes  74.67 bytes/sec
total size is 512  speedup is 4.57
DEBUG: successful verification with key
/opt/local/share/macports/macports-pubkey.pem
DEBUG: /usr/bin/tar -C
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
MacPorts base version 2.1.1 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*'
rsync://rsync.macports.org/release/ports/
/opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done

sent 53 bytes  received 683973 bytes  124368.36 bytes/sec
total size is 35682349  speedup is 52.17
DEBUG: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/ports/PortIndex_darwin_12_i386/PortIndex
/opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done

sent 36 bytes  received 70 bytes  70.67 bytes/sec
total size is 8539698  speedup is 80563.19
--->  MacPorts base is outdated, installing new version 2.1.2
DEBUG: Permissions OK
Installing new MacPorts release in /opt/local as root:admin; permissions
0755; Tcl-Package in /Library/Tcl

checking build system type... i386-apple-darwin12.0.0
checking host system type... i386-apple-darwin12.0.0
checking target system type... i386-apple-darwin12.0.0
checking MacPorts version... 2.1.2
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.8
checking Xcode location... /Developer
checking Xcode version... 4.2.1
checking for gcc... /usr/bin/cc
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
DEBUG: Error installing new MacPorts base: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new
MacPorts base: command execution failed
pc:~ cruddell001$ 

-- 
View this message in context: http://old.nabble.com/Macports-won%27t-update-under-ML-tp34213505p34213505.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list