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

Built directories can't be moved across filesystems #66

Closed
valeth opened this issue Jun 14, 2018 · 1 comment
Closed

Built directories can't be moved across filesystems #66

valeth opened this issue Jun 14, 2018 · 1 comment
Labels

Comments

@valeth
Copy link

valeth commented Jun 14, 2018

Issue

If the CRYSTAL_BUILD_CACHE_PATH is set to a location outside of the filesystem where CRENV_ROOT is located the move will fail.

Apparently the rename function doesn't support moves between filesystems.

Potential fix

Other options seem to be the File::Copy::Recursive module.
I would try and fix it myself, but I don't know anything about Perl.

Error message

With CRYSTAL_BUILD_CACHE_PATH set to /tmp/crystal-build

...
Moving the Crystal directory ...faild to move the Crystal directory Invalid cross-device link
@taylorthurlow
Copy link
Contributor

taylorthurlow commented Jan 17, 2021

I'm going to close this one because it's just not going to get fixed in this project. There's a ticket open in the rewrite repo for supporting the CRYSTAL_BUILD_CACHE_PATH variable, and once that's implemented we can evaluate whether or not this is still an issue, but I don't expect Crystal's filesystem libraries to not support cross-filesystem transfers. I've left myself a note in the linked issue to check cross-filesystem support.

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

3 participants