[MacPorts] #29940: Wine: Failure to install python27

MacPorts noreply at macports.org
Sun Jun 26 17:11:16 PDT 2011


#29940: Wine: Failure to install python27
------------------------------------------+---------------------------------
  Reporter:  adam.taylor.green@…          |       Owner:  macports-tickets@…                   
      Type:  defect                       |      Status:  closed                               
  Priority:  Normal                       |   Milestone:                                       
 Component:  ports                        |     Version:  1.9.2                                
Resolution:  invalid                      |    Keywords:                                       
      Port:  python27                     |  
------------------------------------------+---------------------------------
Changes (by jmr@…):

  * status:  new => closed
 * cc: jwa@… (added)
  * keywords:  wine, python27, mac =>
  * resolution:  => invalid
  * port:  => python27


Old description:

> Successfully installed wine 3.1 on my macbook pro 10.5.8.  However, I
> tried editing part of wine through terminal, to enable 16 bit.  Didn't
> work and wine stopped working, so I deleted the opt file on my macintosh
> HD folder.  When I tried reinstalling, even after deleting and then
> reinstalling the necessary components (see the attached link, its the
> process I followed... worked the first time.)  So now, each time I
> reinstall wine through the terminal command "sudo port install wine", the
> process is stopped when terminal is "activiating python27
> @2.7.2_0+universal."  Following this, I get this error message:
>

> Error: Target org.macports.activate returned: Image error:
> /Applications/MacPorts/Python 2.7/Build Applet.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
> Log for python27 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log
> Error: The following dependencies were not installed: mesa py27-libxml2
> python27 tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto
> xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau
> xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-
> macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans
> xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice
> xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto
> xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-
> randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>

> When I tried to force activate python27 by using port -f, terminal states
> that the command "activate" is an unrecognized action... any advice how
> to proceed with this?

New description:

 Successfully installed wine 3.1 on my macbook pro 10.5.8.  However, I
 tried editing part of wine through terminal, to enable 16 bit.  Didn't
 work and wine stopped working, so I deleted the opt file on my macintosh
 HD folder.  When I tried reinstalling, even after deleting and then
 reinstalling the necessary components (see the attached link, its the
 process I followed... worked the first time.)  So now, each time I
 reinstall wine through the terminal command "sudo port install wine", the
 process is stopped when terminal is "activiating python27
 @2.7.2_0+universal."  Following this, I get this error message:

 {{{
 Error: Target org.macports.activate returned: Image error:
 /Applications/MacPorts/Python 2.7/Build Applet.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
 Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log
 Error: The following dependencies were not installed: mesa py27-libxml2
 python27 tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto
 xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau
 xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-
 macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans
 xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice
 xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto
 xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
 xorg-libXxf86vm xorg-xf86vidmodeproto
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 When I tried to force activate python27 by using port -f, terminal states
 that the command "activate" is an unrecognized action... any advice how to
 proceed with this?

--

Comment:

 Please remember to preview and use WikiFormatting, fill in the Port field,
 and cc the maintainer.

 There is no bug here; MacPorts is correctly refraining from overwriting
 existing files. If you don't want the existing files, delete them. If you
 force the activation, they will be renamed. I can only assume you typed
 the command wrong or something, as
 {{{
 sudo port -f activate python27
 }}}
 should definitely work.

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


More information about the macports-tickets mailing list