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

spec rpm issue #2

Open
volga629 opened this issue May 5, 2018 · 1 comment
Open

spec rpm issue #2

volga629 opened this issue May 5, 2018 · 1 comment

Comments

@volga629
Copy link

volga629 commented May 5, 2018

Hello Everyone,
Trying do generate rpm, but having issue with install part.
--install-dir or --root-dir ignored.

[volga629@canldev01-fedora27 jasmin-0.9.27]$ easy_install install --skip-build --optimize=2 --install-dir=/home/volga629/rpmbuild/BUILDROOT/python-jasmin-0.9.27-1.fc27.x86_64 --prefix=/home/volga629/rpmbuild/BUILDROOT/python-jasmin-0.9.27-1.fc27.x86_64/usr
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/test-easy-install-30137.write-test'
@volga629
Copy link
Author

volga629 commented May 5, 2018

Here are better display

[volga629@canldev01-fedora27 jasmin-0.9.27]$ python setup.py install install --skip-build --optimize=2 --root=/home/volga629/rpmbuild/BUILDROOT/python-jasmin-0.9.27-1.fc27.x86_64
WARNING: jasmin user or group not found !
WARNING: //etc/jasmin does not exist !
WARNING: //etc/jasmin/resource does not exist !
WARNING: //etc/jasmin/store does not exist !
WARNING: //var/log/jasmin does not exist !
WARNING: //etc/jasmin/store must be writeable by the current user (volga629)
running install
running install_lib
writing byte-compilation script '/tmp/tmprW90ga.py'
/usr/bin/python -OO /tmp/tmprW90ga.py
removing /tmp/tmprW90ga.py
running install_data
creating /etc/jasmin
error: could not create '/etc/jasmin': Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants