Closed 5HT2 closed 4 weeks ago
I am sorry about the formatting issue regarding the brew doctor
output, I have now fixed this.
This appears to be related to how brew chooses to hardcode which binaries it links, whereas it seems to just link vim binaries non-discriminately.
No, it's all in how the respective source builds work:
vim
builds dump all their binaries into the usual Cellar/.../bin
directory, right where brew
expects to find them for linking to its master bin
directorymacvim
builds dump all their binaries into a MacVim.app
hierarchy, from which everything needed has to be manually symlinked into the usual Cellar/.../bin
directory, right where brew
expects to find them for linking to its master bin
directoryThe person who created the macvim
formula just wasn't interested in xxd
, is all. That's easily fixed, though.
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Use
xxd
. Forxxd
reasons.What happened (include all command output)?
The command output itself was as expected, but it lacked coloring.
I confirmed the following:
What did you expect to happen?
I expected
/opt/homebrew/Cellar/macvim/9.1.0/MacVim.app/Contents/bin/xxd
to be linked, similar to how/opt/homebrew/Cellar/vim/9.1.0600/bin/xxd
is linked.This appears to be related to how brew chooses to hardcode which binaries it links, whereas it seems to just link vim binaries non-discriminately.
Relevant: https://github.com/Homebrew/homebrew-core/blob/61637fd1a69b64ffb9dd2adc96a8924be4f1efc0/Formula/v/vim.rb#L84-L92
https://github.com/Homebrew/homebrew-core/blob/61637fd1a69b64ffb9dd2adc96a8924be4f1efc0/Formula/m/macvim.rb#L76-L84
Step-by-step reproduction instructions (by running
brew
commands)