Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29940 closed defect (invalid)

Wine: Failure to install python27

Reported by: adam.taylor.green@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jyrkiwahlstedt
Port: python27

Description (last modified by jmroot (Joshua Root))

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?

Attachments (1)

main.log (2.1 MB) - added by adam.taylor.green@… 13 years ago.
Port: wine: failure to install python27

Change History (3)

Changed 13 years ago by adam.taylor.green@…

Attachment: main.log added

Port: wine: failure to install python27

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Description: modified (diff)
Keywords: wine python27 mac removed
Port: python27 added
Resolution: invalid
Status: newclosed

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, remove 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.

comment:2 in reply to:  description Changed 13 years ago by jmroot (Joshua Root)

Replying to adam.taylor.green@…:

so I deleted the opt file on my macintosh HD folder.

That would be what caused this BTW. Correct uninstall instructions are in the Guide.

Note: See TracTickets for help on using tickets.