-
Notifications
You must be signed in to change notification settings - Fork 823
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
Patch fails on renaming file with "Invalid argument" #90
Comments
Can you give an example? |
Attempting to compile Julia fails when patch is invoked on DSFMT. It is attempting to rename a .h file to .h.orig.
|
Here's the exact steps:
Works fine in Cygwin, actual Ubuntu, etc. |
strace output: https://gist.github.com/263edd6d13cd28d279f42b676a05f908 Missing |
I think this might be the same. Sorry for the duplicate if it is. Mine doesn't use |
Thanks for the information everyone. I've implemented the renameat system call and can verify that patch is now working in our dev branch. The fix will be making its way to the flighting branch (no firm ETA). |
Great! I assume the flighting branch is different from the fast insider ring? I.e. this won't be in the fast ring build released today? |
Correct, this will not be in the build that is being released today since it was just checked into our development branch yesterday. All rings (fast, slow, release preview) get their builds out of the flighting branch but with different release criteria. There's a good table on Wikipedia with more info. We will be releasing some release notes soon on what's fixed in the build that is being released today. |
Probably known, but.. this is still a bug on build 14332: ocaml/opam-repository#6343 (comment) |
Yeah the fix for this didn't make it to the most recent flight, it's still inbound (implementing the renameat system call). Keep an eye out for the release notes of a future flight. |
The bug I was hitting with |
Good to hear! FYI - The fix for patch was implementing the renameat system call. I'll make sure the release notes for the new build are posted today. |
The originally reported issue works for me as well in 14342, so I think you can close this. If you try to build Julia you'll hit #272, but that's unrelated. |
While compiling some software, anything that used patch and renamed a file gave this error. This breaks compilation for many projects.
The text was updated successfully, but these errors were encountered: