[MacPorts] #25669: python27 cannot be selected
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ After installing python27 and python_select, {{{ port select python python27 }}}. {{{ # port select python python27 Selecting 'python27' for 'python' failed: could not create new link "/opt/local/share/man/man1/python.1": target "/opt/local/share/man/man1/python2.7.1" doesn't exist }}} -- Ticket URL: <http://trac.macports.org/ticket/25669> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ Description changed by wsiegrist@…: Old description:
After installing python27 and python_select, {{{ port select python python27 }}}.
{{{ # port select python python27 Selecting 'python27' for 'python' failed: could not create new link "/opt/local/share/man/man1/python.1": target "/opt/local/share/man/man1/python2.7.1" doesn't exist }}}
New description: After installing python27 and python_select, {{{ port select python python27 }}} fails: {{{ # port select python python27 Selecting 'python27' for 'python' failed: could not create new link "/opt/local/share/man/man1/python.1": target "/opt/local/share/man/man1/python2.7.1" doesn't exist }}} -- -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ Comment(by wsiegrist@…): The symlinks in /opt/local/bin do get created, so "fail" is perhaps too strong. I guess it is just the manpage that doesn't get selected. -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ Comment(by snc@…): I don't get this error. I successfully switched to python27 from each of these: none python24 python25 python26 python26-apple python27. -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ Comment(by wsiegrist@…): I am on a fresh install of 10.6.4 and MacPorts 1.9.1 and did a selfupdate right before installing. I had no other python ports installed. I notice that I have the following symlink: {{{ /opt/local/share/man/man1/python2.7.1 -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/python.1 }}} but the target is missing: {{{ # ls /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ python2.7.1 }}} ... note that the symlink is pointing to python.1 and not python2.7.1 -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ---------------------------------+------------------------------------------ Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: python_select | Port: python27 ---------------------------------+------------------------------------------ Comment(by vince@…): Python.1 is the expected name for a man 1 file, I think. -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ----------------------------------+----------------------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: python_select Port: python27 | ----------------------------------+----------------------------------------- Changes (by jwa@…): * status: new => closed * resolution: => worksforme Comment: I don't get this, so I'll close this, will reopen, if need arises -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ----------------------------------+----------------------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: python_select Port: python27 | ----------------------------------+----------------------------------------- Changes (by wsiegrist@…): * status: closed => reopened * resolution: worksforme => Comment: Yes, it is still happening. -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ----------------------------------+----------------------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: python_select Port: python27 | ----------------------------------+----------------------------------------- Comment(by jwa@…): Ok, now I see this, too, will look into it. It is actually bad, because the following steps are not done... -- Ticket URL: <http://trac.macports.org/ticket/25669#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ----------------------------------+----------------------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: python_select Port: python27 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Did r78352 fix this? -- Ticket URL: <https://trac.macports.org/ticket/25669#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected ----------------------------------+----------------------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: python_select Port: python27 | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: Yes. -- Ticket URL: <https://trac.macports.org/ticket/25669#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25669: python27 cannot be selected --------------------------+--------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: python_select Port: python27 | --------------------------+--------------------------- Comment (by glen.henshaw@…): I'm getting this error again: ghenshaw$ sudo port select python python27 dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Password: Selecting 'python27' for 'python' failed: could not create new link "/opt/local/bin/python": target "/opt/local/bin/python2.7" doesn't exist ghenshaw$ ls /opt/local/bin/python2.7 /opt/local/bin/python2.7 ghenshaw$ sudo port installed python* dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid The following ports are currently installed: python27 @2.7.3_1 (active) python_select @0.3_2 (active) Should this be reopened, or am I confused? -- Ticket URL: <https://trac.macports.org/ticket/25669#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#25669: python27 cannot be selected --------------------------+--------------------------- Reporter: wsiegrist@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: python_select Port: python27 | --------------------------+--------------------------- Changes (by ryandesign@…): * cc: glen.henshaw@… (added) Comment:
Should this be reopened, or am I confused?
Please file a new ticket. It's a different error message. And the error in this ticket was already resolved almost two years ago. Also, remember to use WikiFormatting when writing in Trac, and to preview before submitting. -- Ticket URL: <https://trac.macports.org/ticket/25669#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts