Open
Description
brew gist-logs <formula>
link OR brew config
AND brew doctor
output
> brew gist-logs watchman
<empty>
> brew config
HOMEBREW_VERSION: 4.3.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: fa53e7b1e51a2deb7ec5a1e12452a1182dc342f7
Last commit: 2 days ago
Core tap JSON: 14 Aug 08:52 UTC
Core cask tap JSON: 14 Aug 08:52 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BAT_THEME: GitHub
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.4
Rosetta 2: false
> brew doctor
<empty>
Verification
- My
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue. - I ran
brew update
and am still able to reproduce my issue. - I have resolved all warnings from
brew doctor
and that did not fix my problem. - I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.
What were you trying to do (and why)?
Running neovim
with plugin coc.nvim
cannot start/connect with the watchman
instance.
What happened (include all command output)?
Following error is printed in console:
[coc.nvim]: 2024-08-14T11:06:16,226: [cli] w_stm_connect_unix(/var/folders/wh/_3nndd2n7z7gyrpxry_b_xpsk18fpn
/T/nvim.vladimir.dumitraskov/h8Wjjf/vladimir.dumitraskov-state/sock) path is too long
2024-08-14T11:06:16,226: [cli] unable to talk to your watchman on /var/folders/wh/_3nndd2n7z7gyrpxry_b_xpsk1
8fpn/T/nvim.vladimir.dumitraskov/h8Wjjf/vladimir.dumitraskov-state/sock! (Argument list too long)
In previous watchman
versions, this was working without a problem.
I suspect the change from the commit is the reason why this started happening.
98431a5#diff-c78c3d87f62f7c863480106785162f6a8daa6bf54168c63be347dc99cf8380bdL58
What did you expect to happen?
I expect that the plugin can connect to the UNIX socket without a problem.
Step-by-step reproduction instructions (by running brew
commands)
1. `brew install neovim`
2. Configure `coc.nvim`
3. `brew install watchman`
4. Run `neovim`
5. If user name is sufficiently long enough, error is printed in console.