title: Installing py27-scipy not working for py27-cairo using macports
body: <pre><code>(graphite)[nai:~]$ sudo port install py27-cairo
  ---&gt;  Computing dependencies for py27-cairo
  ---&gt;  Cleaning py27-cairo
  ---&gt;  Scanning binaries for linking errors: 100.0%
  ---&gt;  Found 5 broken file(s), matching files to ports
  ---&gt;  Found 3 broken port(s), determining rebuild order
  ---&gt;  Rebuilding in order
       py27-scipy @0.10.1 +gcc45
       qemu @1.4.0 +target_i386+target_x86_64
       qt4-mac @4.8.3 +quartz
  ---&gt;  Computing dependencies for py27-scipy
  ---&gt;  Fetching archive for py27-scipy
  ---&gt;  Attempting to fetch py27-scipy-0.12.0_2+gcc45.darwin_11.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/py27-scipy
  ---&gt;  Attempting to fetch py27-scipy-0.12.0_2+gcc45.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-scipy
  ---&gt;  Attempting to fetch py27-scipy-0.12.0_2+gcc45.darwin_11.x86_64.tbz2 from http://packages.macports.org/py27-scipy
  ---&gt;  Fetching distfiles for py27-scipy
  ---&gt;  Attempting to fetch scipy-0.12.0.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/py-scipy/0.12.0_1
  ---&gt;  Verifying checksum(s) for py27-scipy
  ---&gt;  Extracting py27-scipy
  ---&gt;  Applying patches to py27-scipy
  ---&gt;  Configuring py27-scipy
  ---&gt;  Building py27-scipy
  ^[[BError: org.macports.build for port py27-scipy returned: command execution failed
  Please see the log file for port py27-scipy for details:
      /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py27-scipy/main.log
  Error: Unable to upgrade port: 1
  Error rebuilding py27-scipy
      while executing
  "error "Error rebuilding $portname""
      (procedure "revupgrade_scanandrebuild" line 382)
      invoked from within
  "revupgrade_scanandrebuild broken_port_counts $opts"
      (procedure "macports::revupgrade" line 5)
      invoked from within
  "macports::revupgrade $opts"
      (procedure "action_revupgrade" line 2)
      invoked from within
  "action_revupgrade $action $portlist $opts"
      (procedure "action_target" line 94)
      invoked from within
  "$action_proc $action $portlist [array get global_options]"
      (procedure "process_cmd" line 95)
      invoked from within
  "process_cmd $remaining_args"
      invoked from within
  "if { [llength $remaining_args] &gt; 0 } {
  
      # If there are remaining arguments, process those as a command
      set exit_status [process_cmd $remaining..."
      (file "/opt/local/bin/port" line 4785)
  </code></pre>
  
  <p>So I have py27-scipy installed</p>
  
  <pre><code>(graphite)[nai:~]$ port installed py27-scipy
  The following ports are currently installed:
    py27-scipy @0.10.1_3+gcc45 (active)
  </code></pre>