[MacPorts] #49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade
#49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade -------------------------------------------------+------------------------- Reporter: esbailey@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: py27-ptyprocess, destroot, upgrade, | Version: 2.3.4 install | Port: | py27-ptyprocess -------------------------------------------------+------------------------- When attempting an upgrade of outdated packages, py27-ptyprocess fails with the following log: {{{ :debug:install Executing org.macports.install (py27-ptyprocess) :debug:install Using /usr/bin/tar :debug:install Using /usr/bin/gzip :error:install org.macports.install for port py27-ptyprocess returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-ptyprocess/py27-ptyprocess/work/destroot :debug:install Error code: NONE :debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-ptyprocess/py27-ptyprocess/work/destroot while executing "create_archive $location $portarchivetype" (procedure "portinstall::install_main" line 22) invoked from within "portinstall::install_main org.macports.install" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:install Warning: targets not executed for py27-ptyprocess: org.macports.activate org.macports.install :notice:install Please see the log file for port py27-ptyprocess for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-ptyprocess/py27-ptyprocess/main.log }}} I attempted the following with no success: {{{ port clean installed port upgrade outdated }}} Same error. {{{ port uninstall py27-ptyprocess port clean py27-ptyprocess port upgrade outdated }}} produced this message: {{{ ---> Activating py27-ptyprocess @0.5_0 Error: org.macports.activate for port py27-ptyprocess returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess-0.5-py2.7.egg-info already exists and does not belong to a registered port. Unable to activate port py27-ptyprocess. Use 'port -f activate py27-ptyprocess' to force the activation. Please see the log file for port py27-ptyprocess for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-ptyprocess/py27-ptyprocess/main.log Error: Problem while installing py27-ptyprocess To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} to which I did: {{{ port -f activate py27-ptyprocess }}} which then gave me: {{{ ---> Computing dependencies for py27-ptyprocess ---> Activating py27-ptyprocess @0.5_0 Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess-0.5-py2.7.egg-info already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess-0.5-py2.7.egg-info.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/__init__.py already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/__init__.py.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/__init__.pyc already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/__init__.pyc.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/_fork_pty.py already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/_fork_pty.py.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/_fork_pty.pyc already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/_fork_pty.pyc.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/ptyprocess.py already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/ptyprocess.py.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/ptyprocess.pyc already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/ptyprocess.pyc.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/util.py already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/util.py.mp_1445185992. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/util.pyc already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ptyprocess/util.pyc.mp_1445185992. ---> Cleaning py27-ptyprocess }}} after which I did: {{{ port upgrade outdated }}} and things seem to have proceeded as expected from that point forward. HOWEVER: it seems to me like there might be a bug in the activation process or an issue with destroot. This is why I'm filing the ticket for someone to check. Thank you. -Erik -- Ticket URL: <https://trac.macports.org/ticket/49350> MacPorts <https://www.macports.org/> Ports system for OS X
#49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade ----------------------------+------------------------ Reporter: esbailey@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-ptyprocess | ----------------------------+------------------------ Changes (by petr@…): * owner: macports-tickets@… => stromnov@… * keywords: py27-ptyprocess, destroot, upgrade, install => * port: py27-ptyprocess => py-ptyprocess Comment: In future, please follow the [https://guide.macports.org/#project.tickets Ticket Guideline] to see how to fill a ticket. Please CC the maintainer, please do not use arbitrary keywords. -- Ticket URL: <https://trac.macports.org/ticket/49350#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade ----------------------------+------------------------ Reporter: esbailey@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-ptyprocess | ----------------------------+------------------------ Comment (by petr@…): I cannot reproduce this and the Portfile looks fine to me. I only would propose that a `supported_archs noarch` flag is added, but this is unrelated. -- Ticket URL: <https://trac.macports.org/ticket/49350#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade ----------------------------+------------------------ Reporter: esbailey@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-ptyprocess | ----------------------------+------------------------ Comment (by esbailey@…): Replying to [comment:1 petr@…]:
Cc Me!
Sorry. Will do in the future. this is my first bug report. -- Ticket URL: <https://trac.macports.org/ticket/49350#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49350: py27-ptyprocess "no destroot found at..." when trying to install or upgrade ----------------------------+------------------------ Reporter: esbailey@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-ptyprocess | ----------------------------+------------------------ Comment (by esbailey@…): Any idea as to what could have happened in my case? Am I doing something wrong using MacPorts? I've pretty much been a "passive user" to date, doing the {{{ port selfupdate port upgrade outdated port uninstall inactive }}} And I also use the {{{ port_cutleaves }}} script to help prune out stuff I don't use. Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/49350#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts