Opened 5 years ago

Closed 5 years ago

#59906 closed defect (invalid)

py35-pip: easy_install already exists and does not belong to a registered port

Reported by: glenndk Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-pip

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am using:
An updated MacOS 10.14.6
MacPorts-2.6.2-10.14-Mojave.pkg
xcode 10.3 with cli tools installed.

$ sudo port install py35-pip
--->  Computing dependencies for py35-pip
The following dependencies will be installed: 
 pip_select
 py35-setuptools
Continue? [Y/n]: y
--->  Fetching archive for pip_select
--->  Attempting to fetch pip_select-0.1_1.darwin_18.noarch.tbz2 from http://cph.dk.packages.macports.org/pip_select
--->  Attempting to fetch pip_select-0.1_1.darwin_18.noarch.tbz2.rmd160 from http://cph.dk.packages.macports.org/pip_select
--->  Installing pip_select @0.1_1
--->  Activating pip_select @0.1_1
--->  Cleaning pip_select
--->  Installing py35-setuptools @41.6.0_0
Error: Failed to install py35-setuptools: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/work/destroot
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py35-pip failed
$

Content of: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/main.log

version:1
:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 10.3
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-setuptools/work
:debug:clean dropping privileges: euid changed to 503, egid changed to 501.
:debug:main Executing org.macports.main (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Thu Jan  2 00:07:14 CET 2020
:msg:archivefetch --->  Fetching archive for py35-setuptools
:debug:archivefetch Executing org.macports.archivefetch (py35-setuptools)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 503/501
:info:archivefetch --->  py35-setuptools-41.6.0_0.darwin_18.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch py35-setuptools-41.6.0_0.darwin_18.noarch.tbz2 from http://cph.dk.packages.macports.org/py35-setuptools
:msg:archivefetch --->  Attempting to fetch py35-setuptools-41.6.0_0.darwin_18.noarch.tbz2.rmd160 from http://cph.dk.packages.macports.org/py35-setuptools
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.build (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.destroot (py35-setuptools)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:install install phase started at Thu Jan  2 00:07:14 CET 2020
:notice:install --->  Installing py35-setuptools @41.6.0_0
:debug:install elevating privileges for install: euid changed to 0, egid changed to 0.
:debug:install Executing org.macports.install (py35-setuptools)
:debug:activate activate phase started at Thu Jan  2 00:07:14 CET 2020
:debug:activate Executing org.macports.activate (py35-setuptools)
:msg:activate --->  Activating py35-setuptools @41.6.0_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:debug:activate system: /usr/bin/bzip2 -d -c /opt/local/var/macports/software/py35-setuptools/py35-setuptools-41.6.0_0.darwin_18.noarch.tbz2 | ( /usr/bin/tar -xvpf - )
:info:activate x ./
:info:activate x ./+PORTFILE
:info:activate x ./+CONTENTS
:info:activate x ./+DESC
:info:activate x ./+STATE
:info:activate x ./opt/
:info:activate x ./+COMMENT
:info:activate x ./opt/local/
:info:activate x ./opt/local/bin/
:info:activate x ./opt/local/Library/
:info:activate x ./opt/local/share/
:info:activate x ./opt/local/share/doc/
:info:activate x ./opt/local/share/doc/py35-setuptools/
:info:activate x ./opt/local/share/doc/py35-setuptools/CHANGES.rst
:info:activate x ./opt/local/share/doc/py35-setuptools/README.rst
:info:activate x ./opt/local/Library/Frameworks/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/easy_install.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/py31compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/extern/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/extern/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/extern/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__pycache__/py31compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/appdirs.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/six.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/pyparsing.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__pycache__/appdirs.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__pycache__/six.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/__pycache__/pyparsing.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/version.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/utils.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/requirements.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/_structures.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/markers.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__about__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/_compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/specifiers.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/_structures.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/version.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/markers.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/requirements.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/_compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/__about__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/utils.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/specifiers.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/ssl_support.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/windows_support.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_deprecation_warning.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/package_index.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/archive_util.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_imp.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/config.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/version.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/py31compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/depends.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/py27compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/glob.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/sandbox.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/py34compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/script.tmpl
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/launch.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/extension.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/unicode_utils.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/monkey.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/pep425tags.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/build_meta.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/dep_util.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/site-patch.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/msvc.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/extern/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/dist.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/lib2to3_ex.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/glibc.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/py33compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/wheel.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/namespaces.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/script (dev).tmpl
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/extern/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/extern/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/extern/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/bdist_egg.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/alias.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/py36compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/build_ext.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/easy_install.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/install_scripts.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/upload.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/register.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/bdist_wininst.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/dist_info.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/install_lib.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/upload_docs.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/build_py.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/sdist.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/test.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/saveopts.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/bdist_rpm.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/build_clib.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/egg_info.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/install.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/develop.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/rotate.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/install_egg_info.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/setopt.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/install_lib.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/setopt.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/alias.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/register.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/develop.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/dist_info.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/upload.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/sdist.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/build_py.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/build_clib.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/easy_install.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/install.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/egg_info.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/py36compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/saveopts.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/build_ext.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/rotate.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/upload_docs.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/install_scripts.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/test.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/__pycache__/bdist_wininst.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/sandbox.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/windows_support.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/py34compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/package_index.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/py31compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/launch.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/unicode_utils.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/wheel.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/version.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/site-patch.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/glibc.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/ssl_support.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/depends.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/config.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/glob.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/_deprecation_warning.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/msvc.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/py27compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/pep425tags.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/_imp.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/dist.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/py33compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/lib2to3_ex.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/monkey.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/namespaces.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/dep_util.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/build_meta.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/archive_util.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__pycache__/extension.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/six.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/ordered_set.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/pyparsing.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__pycache__/ordered_set.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__pycache__/six.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/__pycache__/pyparsing.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/version.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__init__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/utils.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/requirements.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/_structures.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/markers.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__about__.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/_compat.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/specifiers.py
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/_compat.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/__about__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/zip-safe
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/PKG-INFO
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/entry_points.txt
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/requires.txt
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/top_level.txt
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/SOURCES.txt
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-41.6.0-py3.5.egg-info/dependency_links.txt
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/__pycache__/easy_install.cpython-35.pyc
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install
:info:activate x ./opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install-3.5
:info:activate x ./opt/local/bin/easy_install-3.5
:error:activate Failed to activate py35-setuptools: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install already exists and does not belong to a registered port.  Unable to activate port py35-setuptools. Use 'port -f activate py35-setuptools' to force the activation.
:debug:activate Error code: registry::image-error
:debug:activate Backtrace: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install already exists and does not belong to a registered port.  Unable to activate port py35-setuptools. Use 'port -f activate py35-setuptools' to force the activation.
:debug:activate     invoked from within
:debug:activate "throw registry::image-error "Image error: $file already exists and does not belong to a registered port.  Unable to activate port [$port name]. Use 'p..."
:debug:activate     ("foreach" body line 47)
:debug:activate     invoked from within
:debug:activate "foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be able to install links, we test if we can lst..."
:debug:activate     invoked from within
:debug:activate "registry::write {
:debug:activate             foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be able to instal..."
:debug:activate     invoked from within
:debug:activate "try {
:debug:activate         registry::write {
:debug:activate             foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be ..."
:debug:activate     (procedure "_activate_contents" line 21)
:debug:activate     invoked from within
:debug:activate "_activate_contents $requested $rename_list"
:debug:activate     (procedure "portimage::activate" line 61)
:debug:activate     invoked from within
:debug:activate "registry_activate $subport $version $revision $portvariants $optionlist"
:debug:activate     (procedure "portactivate::activate_main" line 15)
:debug:activate     invoked from within
:debug:activate "$procedure $targetname"
:error:activate See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/main.log for details.
version:1
:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 10.3
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-setuptools/work
:debug:clean dropping privileges: euid changed to 503, egid changed to 501.
:debug:main Executing org.macports.main (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.build (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.destroot (py35-setuptools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:install install phase started at Thu Jan  2 00:14:03 CET 2020
:notice:install --->  Installing py35-setuptools @41.6.0_0
:debug:install elevating privileges for install: euid changed to 0, egid changed to 0.
:debug:install Executing org.macports.install (py35-setuptools)
:debug:install Using /usr/bin/tar
:debug:install Using /usr/bin/bzip2
:error:install Failed to install py35-setuptools: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/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_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/work/destroot
:debug:install     while executing
:debug:install "create_archive $location $portarchivetype"
:debug:install     (procedure "portinstall::install_main" line 27)
:debug:install     invoked from within
:debug:install "$procedure $targetname"
:error:install See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/main.log for details.

Change History (7)

comment:1 Changed 5 years ago by glenndk

Please note: https://docs.python.org/3/installing/index.html Quote: "... Python only started bundling pip with Python 3.4. For earlier versions, pip needs to be “bootstrapped” as described in the Python Packaging User Guide. ..."

comment:2 Changed 5 years ago by glenndk

My current purpose is to install necpp:

pip install necpp

reference: https://github.com/tmolteno/python-necpp/tree/master/necpp

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: py35-pip removed
Owner: set to stromnov
Port: py-pip added
Priority: HighNormal
Status: newassigned
Summary: Error: Processing of port py35-pip failedpy35-pip: easy_install already exists and does not belong to a registered port

comment:4 in reply to:  description Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Remember to use WikiFormatting when writing in Trac. I've fixed your formatting above.

There are two different errors shown in your log, from two different installation attempts (delimited by version:1). Neither of the problems seem like bugs in the port.

Your first error:

Replying to glenndk:

:error:activate Failed to activate py35-setuptools: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/easy_install already exists and does not belong to a registered port.  Unable to activate port py35-setuptools. Use 'port -f activate py35-setuptools' to force the activation.

Only you can tell us why this file already exists on your computer in a location where MacPorts expects to be the only one installing files. You can try forcing the activation as suggested in the error message, but I can't guarantee that you won't run into the same problem with a different port later on. I am not familiar with pip; perhaps it is possible that using pip would install files into the MacPorts prefix; if so you should not use pip in that manner. Make sure that from now on you do not cause files to be installed into the MacPorts prefix except by using MacPorts.

Your second error:

:error:install Failed to install py35-setuptools: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-setuptools/py35-setuptools/work/destroot

This is #55445 a.k.a. wiki:ProblemHotlist#nodestrootfound.

comment:5 Changed 5 years ago by glenndk

Thanks for the answer.

I used:

sudo port -fp uninstall installed
sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports
$ sudo rm -rf /opt/local/
rm: /opt/local/var/macports/home/Library/Preferences: Operation not permitted
rm: /opt/local/var/macports/home/Library: Operation not permitted
rm: /opt/local/var/macports/home: Operation not permitted
rm: /opt/local/var/macports: Directory not empty
rm: /opt/local/var: Directory not empty
rm: /opt/local: Directory not empty
$

I have even run diskutil and restarted the computer. That did not help either.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 5 years ago by glenndk

Thanks for your help. You can close the ticket.

I found out how to delete stubborn directories/files.

Booted in another volume:

sudo rm -rf /Volume/problemvolume/opt/local/var
$ sudo pip install necpp
WARNING: The directory '/Users/glenn/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/Users/glenn/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting necpp
  Downloading https://files.pythonhosted.org/packages/03/a5/a7f9ed52ccb2f9748208fc400f524f5b438170823a5812af5ef8cdad9207/necpp-1.7.3.5.tar.gz (196kB)
     |████████████████████████████████| 204kB 3.1MB/s 
Installing collected packages: necpp
    Running setup.py install for necpp ... done
Successfully installed necpp-1.7.3.5
$ 
Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Replying to glenndk:

$ sudo rm -rf /opt/local/
rm: /opt/local/var/macports/home/Library/Preferences: Operation not permitted
rm: /opt/local/var/macports/home/Library: Operation not permitted
rm: /opt/local/var/macports/home: Operation not permitted
rm: /opt/local/var/macports: Directory not empty
rm: /opt/local/var: Directory not empty
rm: /opt/local: Directory not empty
$

I have even run diskutil and restarted the computer. That did not help either.

Hmm. I thought that would only happen on Catalina. Per the the uninstallation instructions:

"If you are running macOS 10.15 Catalina or later and have not disabled System Integrity Protection (SIP), you will need to remove the macports user first."

Note: See TracTickets for help on using tickets.