selfupdate fails

LuKreme kremels at kreme.com
Wed Mar 6 12:24:30 PST 2013


In our previous episode (Wednesday, 06-Mar-2013), Ryan Schmidt said:
> On Mar 6, 2013, at 13:21, LuKreme wrote:
> 
>> # port selfupdate
>> --->  Updating MacPorts base sources using rsync
>> MacPorts base version 2.1.2 installed,
>> MacPorts base version 2.1.3 downloaded.
>> --->  Updating the ports tree
>> --->  MacPorts base is outdated, installing new version 2.1.3
>> 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
>> 
>> # uname -a
>> Darwin www.kreme.com 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64
> 
> Please try again with the -d flag so we can see what went wrong.
> 
> sudo port -d selfupdate


after several minutes:
...
sent 64 bytes  received 636 bytes  466.67 bytes/sec
total size is 512  speedup is 0.73
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/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_12_i386/PortIndex /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
PortIndex

sent 18406 bytes  received 2162 bytes  13712.00 bytes/sec
total size is 9344535  speedup is 454.32
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_12_i386/PortIndex.rmd160 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
PortIndex.rmd160

sent 64 bytes  received 636 bytes  466.67 bytes/sec
total size is 512  speedup is 0.73
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
--->  MacPorts base is outdated, installing new version 2.1.3
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.2.1
checking host system type... i386-apple-darwin12.2.1
checking target system type... i386-apple-darwin12.2.1
checking MacPorts version... 2.1.3
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.2
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 4.6
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

-- 
If you think that Mick Jagger will still be doing the whole rock star
thing at age fifty, well, then, you are sorely, sorely mistaken.



More information about the macports-users mailing list