[MacPorts] #42206: Can't install python27

MacPorts noreply at macports.org
Mon Jan 20 14:07:52 PST 2014


#42206: Can't install python27
-----------------------+-------------------
  Reporter:  dave@…    |      Owner:  jwa@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:
      Port:  python27  |
-----------------------+-------------------
Changes (by ciserlohn@…):

 * owner:  macports-tickets@… => jwa@…
 * priority:  High => Normal
 * port:   => python27


Old description:

> This is a very fresh install of macports on 10.9.2 beta with Xcode 5.0.2.
>
> All I did so far was to install gcc46, gcc48, zsh, then tried to install
> boost.
>
> 0 220 Z% sudo /opt/local/bin/port install boost
> --->  Computing dependencies for boost
> --->  Dependencies to be installed: python27
> --->  Activating python27 @2.7.6_0
> Error: org.macports.activate for port python27 returned: Image error:
> /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already
> exists and does not belong to a registered port.  Unable to activate port
> python27. Use 'port -f activate python27' to force the activation.
> Error: Failed to install python27
> Please see the log file for port python27 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
> Error: The following dependencies were not installed: python27
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port boost failed
> 0 222 Z% sudo /opt/local/bin/port install python27
> --->  Computing dependencies for python27
> --->  Activating python27 @2.7.6_0
> Error: org.macports.activate for port python27 returned: Image error:
> /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already
> exists and does not belong to a registered port.  Unable to activate port
> python27. Use 'port -f activate python27' to force the activation.
> Please see the log file for port python27 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port python27 failed
> 1 231 Z% sudo /opt/local/bin/port selfupdate
> --->  Updating MacPorts base sources using rsync
> MacPorts base version 2.2.1 installed,
> MacPorts base version 2.2.1 downloaded.
> --->  Updating the ports tree
> --->  MacPorts base is already the latest version
>
> The ports tree has been updated. To upgrade your installed ports, you
> should run
>   port upgrade outdated
> 0 232 Z% sudo /opt/local/bin/port uninstall python27
> 0 233 Z% sudo /opt/local/bin/port install python27
> --->  Computing dependencies for python27
> --->  Installing python27 @2.7.6_0
> Error: org.macports.install for port python27 returned: no destroot found
> at:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot
> Please see the log file for port python27 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port python27 failed
> 1 234 Z%

New description:

 This is a very fresh install of macports on 10.9.2 beta with Xcode 5.0.2.

 All I did so far was to install gcc46, gcc48, zsh, then tried to install
 boost.
 {{{
 0 220 Z% sudo /opt/local/bin/port install boost
 --->  Computing dependencies for boost
 --->  Dependencies to be installed: python27
 --->  Activating python27 @2.7.6_0
 Error: org.macports.activate for port python27 returned: Image error:
 /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already
 exists and does not belong to a registered port.  Unable to activate port
 python27. Use 'port -f activate python27' to force the activation.
 Error: Failed to install python27
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 Error: The following dependencies were not installed: python27
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port boost failed
 0 222 Z% sudo /opt/local/bin/port install python27
 --->  Computing dependencies for python27
 --->  Activating python27 @2.7.6_0
 Error: org.macports.activate for port python27 returned: Image error:
 /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already
 exists and does not belong to a registered port.  Unable to activate port
 python27. Use 'port -f activate python27' to force the activation.
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port python27 failed
 1 231 Z% sudo /opt/local/bin/port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.2.1 installed,
 MacPorts base version 2.2.1 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 0 232 Z% sudo /opt/local/bin/port uninstall python27
 0 233 Z% sudo /opt/local/bin/port install python27
 --->  Computing dependencies for python27
 --->  Installing python27 @2.7.6_0
 Error: org.macports.install for port python27 returned: no destroot found
 at:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port python27 failed
 1 234 Z%
 }}}

--

Comment:

 In the future please remember to use WikiFormatting. And don't forget to
 Cc the maintainer and fill in the port field. Note that priority
 {{{high}}} is reserved for MacPorts team members.

 Please try a clean attempt and attach the log file if it fails:
 {{{
 $ sudo port selfupdate
 $ sudo port clean python27
 $ sudo port install python27
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42206#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list