-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Unable to run project on macOS 13 #5770
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
Comments
Hmm 🤔 Looking into this right now. I'm on macOS (Intel). |
This is strange. I'm seeing similar behavior. Maybe #5751 didn't get applied correctly. I will update the patches now. |
False alarm. I did a fresh clone and it all works. Can you please try on |
Hmm...I wonder if this is only an issue on M1 then. |
I couldn't find any related bugs here: http://savannah.nongnu.org/bugs/?group=quilt |
M1 users using |
What version of |
same, installed using |
Hmm..what shell are you using? I'm not sure what that backup error is. Do you want to raise an issue in quilt? That might be the best next step |
I use |
I stumbled across this bug while searching for the same error in one of my own projects that uses quilt. The bug appears to be in the macOS 13 Here's a reproducible demonstration of the problem. This works, as you would expect:
However, if you introduce different levels into the patch file, like this:
... then you get the error:
This presumably happens because in the first example, it tries to create the backup file at This problem is new with macOS 13, so I reported it earlier today to Apple using the Feedback Assistant. I also reported it to https://savannah.nongnu.org/bugs/?group=quilt. |
FYI, you can work around this problem by installing GNU patch on a Mac using homebrew:
Be sure to close your existing console window and open a new one after installing it to test this (otherwise it may still use the original Apple "patch"). |
Another workaround would be to run the command inside a docker container. |
EDIT: Looks like @robertmathews did, thank you! |
Is there an existing issue for this?
Issue Details
I am following the contributing guide
It's working on Linux without any issues. but on mac, there is an issue with applying the patches.
when I run
quilt push -a
there are errors.Am I missing something?
Steps to Reproduce
Expected
The patches should be applied
Actual
There are errors and I get a forbidden message when I run code-server on the browser.
According to the docs, this happens when the patches are not applied correctly
Logs
The text was updated successfully, but these errors were encountered: