Closed markwu closed 1 year ago
The formula needs to be updated because the semantics for the --disable-sparkle
flag has changed. It now deletes the Sparkle.framework for you, so when Homebrew tries to delete it after the fact it's already gone. You probably want to file an issue with Homebrew because I'm not sure how this could work, since the formula is building against the official release (r176) which doesn't have this change yet (since you are building against HEAD).
Okay, I just remove --disable-sparkle
option to make it work. I'll report this issue to homebrew.
Remove the following two lines can make it work, too.
# Remove autoupdating universal binaries
(prefix/"MacVim.app/Contents/Frameworks/Sparkle.framework").rmtree
Remove the following two lines can make it work, too.
# Remove autoupdating universal binaries (prefix/"MacVim.app/Contents/Frameworks/Sparkle.framework").rmtree
Yeah this is the right fix. Don't remove --disable-sparkle
. If you are using Homebrew, you are trying to rely it to manage versions for you and hence there is no point in enabling Sparkle.
Edit: I was going to file the issue or PR to fix up the formula when I make a new release (since that's when they would bump the formula), so if you don't feel like doing it, that's fine too.
Just going to close this for now. When the next release comes out, Homebrew will fix up their formula but for now you probably need a local mod like this because Homebrew formulas are tied to releases, not HEAD.
Just going to close this for now. When the next release comes out, Homebrew will fix up their formula but for now you probably need a local mod like this because Homebrew formulas are tied to releases, not HEAD.
Thank you!
Steps to reproduce
Expected behaviour
Successful compiled macvim without any problems.
Version of Vim and architecture
HEAD of macvim
Environment
brew config HOMEBREW_VERSION: 4.0.10-34-gb753315 ORIGIN: https://github.com/Homebrew/brew.git HEAD: b753315b0b1e78b361612bf4985502bf9dca5582 Last commit: 4 hours ago Core tap origin: https://github.com/Homebrew/homebrew-core Core tap HEAD: cd96f13c0adb03e8aeeedab9e97e901ec12f6e15 Core tap last commit: 6 weeks ago Core tap branch: master Core tap JSON: 28 Mar 11:58 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_EDITOR: vim HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby CPU: octa-core 64-bit haswell Clang: 13.0.0 build 1300 Git: 2.40.0 => /usr/local/bin/git Curl: 7.64.1 => /usr/bin/curl macOS: 11.7.4-x86_64 CLT: 13.2.0.0.1.1638488800 Xcode: 13.2.1
How MacVim was installed
Using homebrew
Logs and stack traces
No response
Vim configuration where issue is reproducable
No response
Issue has been tested with given configuration
Issue has been tested with no configuration
mvim --clean
(orgvim
, supplied by MacVim distribution)vim --clean
(in terminal, supplied by MacVim distribution)vim --clean
(in terminal, other suppliers, e.g. /usr/bin/vim)Other conditions