parinfer-rust: code signature issues (was: Broken on NVIM v0.3.7)

I recently upgraded nvim to take advantage of a recently patched vulnerability. Unfortunately this has resulted in parinfer no longer working with this as the displayed error:

My versions look like this:

$ nvim --version
NVIM v0.3.7
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190529-65312-1cx5evh/neovim-0.3.7/build/config -I/tmp/neovim-20190529-65312-1cx5evh/neovim-0.3.7/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190529-65312-1cx5evh/neovim-0.3.7/build/src/nvim/auto -I/tmp/neovim-20190529-65312-1cx5evh/neovim-0.3.7/build/include
Compiled by brew@Mojave-2.local

Features: +acl +iconv +jemalloc +tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.7/share/nvim"

I tried reinstalling parinfer rebuilding from scratch. The build completes without issue but again, this same error happens.

I ran :checkhealth and everything checks out fine.

Any tips on what the issue may be?

Thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (13 by maintainers)

Most upvoted comments

Ah, I see where the issue is: I followed the README and installed into ~/.vimclean/bundle/parinfer-rust which is not where it seems to expect to find the dylib in .../bundles... (I’m using Vundle).

It finds it now but I’m getting an error about code signature not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

This is only when I use VimR but when running nvim directly within a terminal it works without any issue.