[MacPorts] #42987: python34 @3.4.0_1: activation fails if another python selected
MacPorts
noreply at macports.org
Sat Mar 22 09:25:50 PDT 2014
#42987: python34 @3.4.0_1: activation fails if another python selected
-----------------------------+--------------------------------
Reporter: md14-macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: python34
-----------------------------+--------------------------------
Installing python34 fails during activation if I have previously selected
another python port as the default.
{{{
$ sudo port select --set python none
Selecting 'none' for 'python' succeeded. 'none' is now active.
$ ls -l /opt/local/bin/2to3
ls: /opt/local/bin/2to3: No such file or directory
$ sudo port select --set python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.
$ ls -l /opt/local/bin/2to3
lrwxr-xr-x 1 root admin 23 Mar 22 09:16 /opt/local/bin/2to3 ->
/opt/local/bin/2to3-2.7
$ sudo port -vs install python34
...
x ./Applications/MacPorts/Python
3.4/IDLE.app/Contents/Resources/PythonSource.icns
x ./Applications/MacPorts/Python 3.4/IDLE.app/Contents/MacOS/IDLE
x ./Applications/MacPorts/Python 3.4/IDLE.app/Contents/MacOS/Python
Error: org.macports.activate for port python34 returned: Image error:
/opt/local/bin/2to3 already exists and does not belong to a registered
port. Unable to activate port python34. Use 'port -f activate python34'
to force the activation.
Please see the log file for port python34 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python34/python34/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port python34 failed
}}}
The problem may have been introduced in r118099. The problem did not occur
with python34 @3.4.0_0.
--
Ticket URL: <https://trac.macports.org/ticket/42987>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list