[Bug 269458] devel/py-virtualenv: 'make stage' fails with Permission Denied
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Feb 2023 12:10:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269458 Bug ID: 269458 Summary: devel/py-virtualenv: 'make stage' fails with Permission Denied Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: nivit@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Assignee: nivit@FreeBSD.org Flags: maintainer-feedback?(nivit@FreeBSD.org) 'make -C devel/py-virtualenv stage' (as non-root) fails with 'Permission Denied' after update to 20.18.0 and USE_PYTHON=pep517. ====================== . . ===> Staging for py39-virtualenv-20.18.0 ===> Generating temporary packing list done with bpm generate-plist Using pip 22.3.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9) Processing ./dist/virtualenv-20.18.0-py3-none-any.whl Installing collected packages: virtualenv Attempting uninstall: virtualenv Found existing installation: virtualenv 20.17.0 Uninstalling virtualenv-20.17.0: ERROR: Could not install packages due to an OSError. Consider using the `--user` option or check the permissions. Traceback (most recent call last): File "/usr/local/lib/python3.9/shutil.py", line 825, in move os.rename(src, real_dst) PermissionError: [Errno 13] Permission denied: '/usr/local/bin/virtualenv' -> '/tmp/jhein/pip-uninstall-87hvxxnm/virtualenv' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 494, in run installed = install_given_reqs( File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 68, in install_given_reqs uninstalled_pathset = requirement.uninstall(auto_confirm=True) File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 660, in uninstall uninstalled_pathset.remove(auto_confirm, verbose) File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 373, in remove moved.stash(path) File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py", line 271, in stash renames(path, new_path) File "/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 311, in renames shutil.move(old, new) File "/usr/local/lib/python3.9/shutil.py", line 830, in move os.unlink(src) PermissionError: [Errno 13] Permission denied: '/usr/local/bin/virtualenv' *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-virtualenv ====================== -- You are receiving this mail because: You are the assignee for the bug.