-
Notifications
You must be signed in to change notification settings - Fork 50
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
Failed to extract archive on windows #940
Comments
Interesting - does the archive contain symlinks? |
Hmm symlinks are tricky on Windows. You can enable Do you know if this used to work in conda-build? |
These files arent used on windows. So they are only relevant for linux. So I guess they're treated as simple binary files? |
Could you try to extract this archive with Potentially we could warn (and ignore) symlinks when we cannot create them (instead of failing). |
It works without issues when I run
And when I do
it also works fine. Note that I had to change my directory mapping string when using tar Update: Tar does give me some warnings though:
|
OK, so it exits with a failure status, but still extracts everything except for the symlinks. I think we can follow that behavior. |
Meaning warn, but still proceed. |
Yeah, it seems like it extracts all files. So if that's a possibility then that sounds great! |
Hey @wolfv, I think I just ran into another one of these tar extraction with symlink on windows issues.
When I try to manually extract using tar on windows I it extracts seemingly everything but ends with I figured I could take a look, and I did manage to pass the extraction with a slight modification of "extract.rs". I'm making a PR also with the suggested fix where we can continue the discussion. |
When using pixi and rattler-build v0.18
pixi run dca -c https://repo.prefix.dev/code-aster -c conda-forge
on this repository, I getLet me know if you need any additional information from me?
Best Regards
Kristoffer
The text was updated successfully, but these errors were encountered: