! sudo port -d selfupdate Password: ---> Updating the ports tree DEBUG: Synchronizing ports tree(s) 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 ./ _resources/port1.0/group/ _resources/port1.0/group/cmake-1.0.tcl devel/git-core/ devel/git-core/Portfile devel/git-core/files/ devel/git-core/files/git-subtree.1.diff gnome/gconf/ gnome/gconf/Portfile lang/erlang/ lang/erlang/Portfile lang/erlang/files/ lang/gawk/ lang/gawk/Portfile science/nco/ science/nco/Portfile sysutils/pv/ deleting lang/erlang/files/patch-disable_wx.diff deleting sysutils/pv/work sent 693 bytes received 730139 bytes 112435.69 bytes/sec total size is 39022550 speedup is 53.39 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports Failed to parse file devel/git-core/Portfile: invalid command name "get_canonical_archflags" Adding port gnome/gconf Failed to parse file lang/erlang/Portfile: invalid command name "license_noconflict" Failed to parse file lang/gawk/Portfile: invalid command name "installs_libs" Adding port science/nco Total number of ports parsed: 5 Ports successfully parsed: 2 Ports failed: 3 Up-to-date ports skipped: 9387 DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base ---> Updating MacPorts base sources using rsync receiving file list ... done ./ Mk/ doc/ portmgr/freebsd/ src/ src/cregistry/ src/darwintracelib1.0/ src/machista1.0/ src/macports1.0/ src/package1.0/ src/pextlib1.0/ src/port/ src/port1.0/ src/programs/ src/registry2.0/ src/thread2.6/ src/thread2.6/Makefile.in src/thread2.6/configure src/thread2.6/generic/ src/thread2.6/generic/threadPoolCmd.c src/thread2.6/lib/ src/thread2.6/lib/ttrace.tcl deleting config.log sent 3832 bytes received 10266 bytes 9398.67 bytes/sec total size is 4562307 speedup is 323.61 MacPorts base version 1.9.2 installed, DEBUG: Rebuilding and reinstalling MacPorts if needed MacPorts base version 2.2.1 downloaded. ---> MacPorts base is outdated, installing new version 2.2.1 DEBUG: Permissions OK Installing new MacPorts release in /opt/local as root:admin; permissions 0777; Tcl-Package in /Library/Tcl checking build system type... i386-apple-darwin13.0.0 checking host system type... i386-apple-darwin13.0.0 checking target system type... i386-apple-darwin13.0.0 checking MacPorts version... 2.2.1 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.9 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 5.0.1 checking for gcc... /usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base': configure: error: C compiler cannot create executables See `config.log' for more details shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0777 --enable-readline && make && make install" returned error 77 DEBUG: Error installing new MacPorts base: shell command failed (see log for details) while executing "macports::selfupdate [array get global_options] base_updated" Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)