Skip to content

Instantly share code, notes, and snippets.

@h4n2k
Created June 30, 2024 03:52
Show Gist options
  • Save h4n2k/7dc2402082cd001aa22838d7d85549e8 to your computer and use it in GitHub Desktop.
Save h4n2k/7dc2402082cd001aa22838d7d85549e8 to your computer and use it in GitHub Desktop.
brew upgrade neovim --fetch-HEAD failed update neovim to latest
brew upgrade neovim --fetch-HEAD
> got error
brew install --HEAD neovim
brew link neovim
@h4n2k
Copy link
Author

h4n2k commented Jun 30, 2024

❯ brew upgrade neovim --fetch-HEAD
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################################################################################################################################################################################################### 100.0%
==> Upgrading 1 outdated package:
neovim HEAD-9dc09a4 -> HEAD-e702030
==> Fetching neovim
==> Upgrading neovim
HEAD-9dc09a4 -> HEAD-e702030
==> cmake -S . -B build -DLUV_LIBRARY=/opt/homebrew/opt/luv/lib/libluv.dylib -DLIBUV_LIBRARY=/opt/homebrew/opt/libuv/lib/libuv.dylib -DLPEG_LIBRARY=/opt/homebrew/opt/lpeg/lib/liblpeg.dylib
Last 15 lines from /Users/burhanuddinhadianto/Library/Logs/Homebrew/neovim/01.cmake:
-- Found Libuv: /opt/homebrew/opt/libuv/lib/libuv.dylib (Required is at least version "1.28.0")
-- Found Libvterm: /opt/homebrew/include (found suitable version "0.3.3", minimum required is "0.3.3")
-- Found Lpeg: /opt/homebrew/opt/lpeg/lib/liblpeg.dylib
-- Found Msgpack: /opt/homebrew/lib/libmsgpackc.dylib (found suitable version "6.0.2", minimum required is "1.0.0")
-- Found Treesitter: /opt/homebrew/lib/libtree-sitter.dylib (Required is at least version "0.22.6")
-- Found Unibilium: /opt/homebrew/include (Required is at least version "2.0")
CMake Error at /opt/homebrew/Cellar/cmake/3.29.6/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find UTF8proc (missing: UTF8PROC_LIBRARY UTF8PROC_INCLUDE_DIR)
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.29.6/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindUTF8proc.cmake:3 (find_package_handle_standard_args)
src/nvim/CMakeLists.txt:38 (find_package)

-- Configuring incomplete, errors occurred!

READ THIS: https://docs.brew.sh/Troubleshooting

==> Running brew cleanup neovim...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment