[MacPorts] #55445: install phase fails with "no destroot found"
MacPorts
noreply at macports.org
Thu Aug 6 09:29:25 UTC 2020
#55445: install phase fails with "no destroot found"
----------------------------+----------------------
Reporter: gaming-hacker | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version: 2.4.2
Resolution: | Keywords:
Port: |
----------------------------+----------------------
Comment (by oseiberts11):
I seem to be in this situation, but no cleaning or uninstalling helps. I
get into this cycle:
{{{
$ sudo port upgrade outdated jq
---> Computing dependencies for py36-attrs
---> Installing py36-attrs @19.3.0_0
Error: Failed to install py36-attrs: no destroot found at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
attrs/py36-attrs/work/destroot
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-attrs/py36-attrs/main.log
for details.
Error: Problem while installing py36-attrs
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
oseibert:~/tmp$ sudo port clean py36-attrs
---> Cleaning py36-attrs
oseibert:~/tmp$ sudo port upgrade outdated
---> Computing dependencies for py36-attrs
---> Fetching archive for py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2 from
https://packages.macports.org/py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2.rmd160
from https://packages.macports.org/py36-attrs
---> Installing py36-attrs @19.3.0_0
---> Activating py36-attrs @19.3.0_0
Error: Failed to activate py36-attrs: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/attr/__init__.py already exists and does not belong to a
registered port. Unable to activate port py36-attrs. Use 'port -f
activate py36-attrs' to force the activation.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-attrs/py36-attrs/main.log
for details.
Error: Problem while installing py36-attrs
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
oseibert:~/tmp$ sudo port uninstall py36-attrs
---> Uninstalling py36-attrs @19.3.0_0
---> Cleaning py36-attrs
oseibert:~/tmp$ sudo port upgrade outdated
---> Computing dependencies for py36-attrs
---> Installing py36-attrs @19.3.0_0
Error: Failed to install py36-attrs: no destroot found at:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
attrs/py36-attrs/work/destroot
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-attrs/py36-attrs/main.log
for details.
Error: Problem while installing py36-attrs
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
oseibert:~/tmp$ sudo port clean py36-attrs
---> Cleaning py36-attrs
oseibert:~/tmp$ sudo port upgrade py36-attrs
Error: py36-attrs is not installed
oseibert:~/tmp$ sudo port install py36-attrs
---> Computing dependencies for py36-attrs
---> Fetching archive for py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2 from
https://packages.macports.org/py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2.rmd160
from https://packages.macports.org/py36-attrs
---> Installing py36-attrs @19.3.0_0
---> Activating py36-attrs @19.3.0_0
Error: Failed to activate py36-attrs: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/attr/__init__.py already exists and does not belong to a
registered port. Unable to activate port py36-attrs. Use 'port -f
activate py36-attrs' to force the activation.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-attrs/py36-attrs/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py36-attrs failed
oseibert:~/tmp$ sudo port uninstall py36-attrs
---> Uninstalling py36-attrs @19.3.0_0
---> Cleaning py36-attrs
oseibert:~/tmp$ sudo port clean py36-attrs
---> Cleaning py36-attrs
oseibert:~/tmp$ sudo port install py36-attrs
---> Computing dependencies for py36-attrs
---> Fetching archive for py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2 from
https://packages.macports.org/py36-attrs
---> Attempting to fetch py36-attrs-19.3.0_0.darwin_18.x86_64.tbz2.rmd160
from https://packages.macports.org/py36-attrs
---> Installing py36-attrs @19.3.0_0
---> Activating py36-attrs @19.3.0_0
Error: Failed to activate py36-attrs: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/attr/__init__.py already exists and does not belong to a
registered port. Unable to activate port py36-attrs. Use 'port -f
activate py36-attrs' to force the activation.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-attrs/py36-attrs/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py36-attrs failed
}}}
It seems that the problem is that the same package was installed with
pip....
Really, tool or language specific package managers do NOT go together with
system-level package managers... sigh.
I had to follow the same procedure with a handful of other python packages
too.
--
Ticket URL: <https://trac.macports.org/ticket/55445#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list