fzf: Errors on fzf --version
- I have read through the manual page (
man fzf) - I have the latest version of fzf
- I have searched through the existing issues
Info
- OS
- Linux
- Mac OS X
- Windows
- Etc.
- Shell
- bash
- zsh
- fish
Problem / Steps to reproduce
fzf --version returns nothing.
I have Arch Linux. When I install fzf from pacman, and run fzf --version, I got nothing. If I install fzf-git from AUR, which should download and build the last version from git, I have the following output:
Failed to Failed to run "fzf --version":version information missingpanic: Invalid build: version information missing
goroutine 1 [running]:
main.main()
*path_to_fzf*/fzf/main.go:13 +0x8b
Some plugins rely on that info, for example, coc-fzf-preview excension for coc.nvim for Neovim.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 16 (8 by maintainers)
Hey, chiming in to say that the fact that
fzf --versiondoesn’t work in v24.0 does not only impact packagers, but also fzf-vim, which gets a blank string as version and refuses to run anything, complaining ofE605: Exception not caught: You need to upgrade fzf. Found: (fzf). Required: 0.23.0 or above.With b5e0e29ec6a149fa948c0399af34572d450d3dda, binaries will be given the default version number (an imprecise one, 0.24, no patch version) when you forgot to pass a proper
-ldflagsso that they will pass the test.0.24.1 is out and this will be fixed soon one way or another.
@yannick1974 Oh I see, thanks for pointing that out.