Date: Fri, 10 Feb 2023 12:10:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269458] devel/py-virtualenv: 'make stage' fails with Permission Denied Message-ID: <bug-269458-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269458 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=3Dpep517. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D . . =3D=3D=3D> Staging for py39-virtualenv-20.18.0 =3D=3D=3D> 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 =3D install_given_reqs( File "/usr/local/lib/python3.9/site-packages/pip/_internal/req/__init__.p= y", line 68, in install_given_reqs uninstalled_pathset =3D requirement.uninstall(auto_confirm=3DTrue) 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269458-7788>