title: Mac Ports Update Failing
body: <pre><code>hansarijanto$ port -v
  MacPorts 2.0.3
  hansarijanto$ xcodebuild -version
  Xcode 4.3.2
  Build version 4E2002
  </code></pre>
  
  <p>I am running the above xcode and macport version. on max os x
  when I try to self update my mac port I get the following error.</p>
  
  <pre><code>hansarijanto$ sudo port selfupdate
  Password:
  ---&gt;  Updating MacPorts base sources using rsync
  MacPorts base version 2.0.3 installed,
  MacPorts base version 2.0.4 downloaded.
  ---&gt;  Updating the ports tree
  ---&gt;  MacPorts base is outdated, installing new version 2.0.4
  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: shell command failed (see log for details)
  </code></pre>
  
  <p>I am trying to update mac port to install qt.</p>
  
  <pre><code>sudo port install qt4-mac-devel(error no SDK found)
  </code></pre>
  
  <p>which I need to install webkit-capybara</p>
  
  <pre><code>sudo gem install capybara-webkit -v '0.7.2'(error in setting up native environment)
  </code></pre>