Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake process makes user's OS dirty #3403

Closed
MNikora opened this issue May 29, 2020 · 1 comment
Closed

Cmake process makes user's OS dirty #3403

MNikora opened this issue May 29, 2020 · 1 comment

Comments

@MNikora
Copy link
Contributor

MNikora commented May 29, 2020

Cmake process is not only preparing project to building, but installing extra packages.

Reproduction Steps
  1. cd sdl_core && mkdir build && cd build
  2. cmake ..
Expected Behavior

-- Build files have been written to: /home/developer/sdl/sdl_core/build

Observed Behavior

The directory '/home/developer/.cache/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.
The directory '/home/developer/.cache/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 pip
Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/95/95/f657b6e17f00c3f35b5f68b10e46c3a43af353d8856bd57bfcfb1dbb3e92/setuptools-47.1.1-py3-none-any.whl (583kB)
Collecting wheel
Downloading https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run
prefix=options.prefix_path,
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 784, in install
*kwargs
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/usr/lib/python3/dist-packages/pip/wheel.py", line 247, in move_wheel_files
prefix=prefix,
File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme
i.finalize_options()
File "/usr/lib/python3.6/distutils/command/install.py", line 351, in finalize_options
self.create_home_path()
File "/usr/lib/python3.6/distutils/command/install.py", line 581, in create_home_path
os.makedirs(path, 0o700)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/developer/.local'
The directory '/home/developer/.cache/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.
The directory '/home/developer/.cache/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 xmlschema (from -r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/88/09/41017655b622017024a13fcdc35fba41afd2c3384c83cc5c1231a6c1cd2d/xmlschema-1.2.0-py3-none-any.whl (237kB)
Collecting pylint (from -r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/37/6e/36419ec1bd2208e157dff7fc3e565b185394c0dc4901e9e2f983cb1d4b7f/pylint-2.5.2-py3-none-any.whl (324kB)
Collecting coverage (from -r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/2a/3e/fc18ecef69f174c13493576f46966053c1da07fd8721962530dc1a10b1ca/coverage-5.1-cp36-cp36m-manylinux1_x86_64.whl (227kB)
Collecting elementpath~=1.4.0 (from xmlschema->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/2d/57/c34820a52bc63a73df91e2b5d3985e48aef3c2405fb604a6064a5a1b573b/elementpath-1.4.5-py3-none-any.whl (69kB)
Collecting astroid<=2.5,>=2.4.0 (from pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/46/c9/e9c2642dfb169590fb8bdb395f9329da042ee559c2ae7c1e612a3e5f40b4/astroid-2.4.1-py3-none-any.whl (214kB)
Collecting mccabe<0.7,>=0.6 (from pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting isort<5,>=4.2.5 (from pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/e5/b0/c121fd1fa3419ea9bfd55c7f9c4fedfec5143208d8c7ad3ce3db6c623c21/isort-4.3.21-py2.py3-none-any.whl (42kB)
Collecting toml>=0.7.1 (from pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/9f/e1/1b40b80f2e1663a6b9f497123c11d7d988c0919abbf3c3f2688e448c5363/toml-0.10.1-py2.py3-none-any.whl
Collecting lazy-object-proxy==1.4.
(from astroid<=2.5,>=2.4.0->pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/0b/dd/b1e3407e9e6913cf178e506cd0dee818e58694d9a5cd1984e3f6a8b9a10f/lazy_object_proxy-1.4.3-cp36-cp36m-manylinux1_x86_64.whl (55kB)
Collecting six~=1.12 (from astroid<=2.5,>=2.4.0->pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting wrapt~=1.11 (from astroid<=2.5,>=2.4.0->pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
Collecting typed-ast<1.5,>=1.4.0; implementation_name == "cpython" and python_version < "3.8" (from astroid<=2.5,>=2.4.0->pylint->-r /home/developer/sdl/sdl_core/tools/InterfaceGenerator/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/90/ed/5459080d95eb87a02fe860d447197be63b6e2b5e9ff73c2b0a85622994f4/typed_ast-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (737kB)
Installing collected packages: elementpath, xmlschema, lazy-object-proxy, six, wrapt, typed-ast, astroid, mccabe, isort, toml, pylint, coverage

OS & Version Information
  • OS/Version: Ubuntu 18.04
  • SDL Core Version: current develop 0ce76256
@jacobkeeler
Copy link
Contributor

Closed via #3776

@theresalech theresalech added this to Features in 8.1.0 via automation Oct 18, 2021
@theresalech theresalech moved this from Features to Completed Bug Fixes/ Enhancements in 8.1.0 Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
8.1.0
Completed Bug Fixes/ Enhancements
Development

No branches or pull requests

3 participants