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

package copy fails if symlinks in root dir #551

Closed
nerdvegas opened this issue Dec 19, 2018 · 1 comment
Closed

package copy fails if symlinks in root dir #551

nerdvegas opened this issue Dec 19, 2018 · 1 comment
Labels

Comments

@nerdvegas
Copy link
Contributor

Happens in non-varianted packages only:

  File "/sw/dev/managani/packages/rez/2.26.0/python-2/python/rez/package_copy.py", line 189, in copy_package
    overrides=overrides
  File "/sw/dev/managani/packages/rez/2.26.0/python-2/python/rez/package_copy.py", line 270, in _copy_variant_payload
    replacing_copy(src_path, dest_path)
  File "/sw/dev/managani/packages/rez/2.26.0/python-2/python/rez/utils/filesystem.py", line 138, in replacing_copy
    shutil.copy2(src, tmp_dest)
  File "/sw/packages/external/python/2.7.13/platform-linux/arch-x86_64/os-CentOS-7/lib/python2.7/shutil.py", line 130, in copy2
    copyfile(src, dst)
  File "/sw/packages/external/python/2.7.13/platform-linux/arch-x86_64/os-CentOS-7/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 21] Is a directory: '/sw/packages/internal/dummy/2.4.24/ext'
@nerdvegas nerdvegas added the bug label Dec 19, 2018
@nerdvegas nerdvegas mentioned this issue Dec 21, 2018
@nerdvegas
Copy link
Contributor Author

#552

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

No branches or pull requests

1 participant