-
Notifications
You must be signed in to change notification settings - Fork 489
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
tar cannot work with symlinks and thinks directory does not exist #3941
Comments
i think #3946 fixes this |
That is great. Hopefully this is merged soon. Our windows build pipeline is currently 2-3 times longer because I manually copy all the files from one location into the temp directory. With tar it was much more efficient. |
BTW, it should be |
The docs says: The environment can be later overridden using the MSYSTEM environment variable if needed. This is useful when multiple commands need to be executed in different contexts. For example, in order to build a PKGBUILD file and then test the installed artifact With MSYS nothing was working suddenly. |
I see you've switched from
MSYS2 cannot normally create symlinks to non-existent files. So because your tarball suddenly has the symlink entry
|
Thanks for the reply. The problem was that it started to fail sometime without any change. The directories are definetely there. But somehow msys couldn't locate them. |
Closing. It somehow works again while I did not change anything in the configuration. I wish all my problems would go away that easily. Haha 😄 |
Description / Steps to reproduce the issue
This has worked previously e.g. here: https://github.com/ether/etherpad-lite/actions/runs/5522205465/job/14951997611
From one day to another the script failed.
Expected behavior
It tars all the files so we can upload it to github.
Actual behavior
Run set MSYSTEM=winsymlinks:lnk
bin: directory # Output of file -L command
create a clean environment in /tmp/tmp.I98pRKfCri...
tar: bin: Cannot create symlink to ‘src/bin’: No such file or directory
tar: Exiting with failure status due to previous errors
ERROR: 'tar xf -' failed
ERROR: failed to copy etherpad to temporary folder
cleaning up...
Error: Process completed with exit code 1.
Verification
Windows Version
Github Action Windows build
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: