[aur-general] Issue python PKGBUILD

Iyán Méndez Veiga me at iyanmv.com
Thu Feb 6 23:10:21 UTC 2020


After a new release of a python module, I'm facing an issue to update the 
PKGBUILD. I get a permission error in the package() section:

Traceback (most recent call last):
  File "setup.py", line 52, in <module>
  File "/usr/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 
639, in setup
    _copy_file(data_file, dest_data_file, hide_listing)
  File "/usr/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 
828, in _copy_file
    copyfile(src_file, dest_file)
  File "/usr/lib/python3.8/shutil.py", line 259, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '_skbuild/linux-x86_64-3.8/

However, if I execute python setup.py install --root="test-install" --
optimize=1 --skip-build manually I cannot replicate the error.

Is there any difference between when makepkg executes that command and when I 
do it myself?


More information about the aur-general mailing list