[MacPorts] #68126: neovim @0.9.1_1 segmentation fault during build on ventura
MacPorts
noreply at macports.org
Thu Sep 28 08:20:18 UTC 2023
#68126: neovim @0.9.1_1 segmentation fault during build on ventura
----------------------+----------------------
Reporter: dlamija | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: neovim |
----------------------+----------------------
Comment (by dylanarmstrong):
I believe the issue is with luv-luajit from some research this morning. If
you use the neovim `.deps` copy of libluv then it will actually compile
correctly. I am looking into this more at the moment.
To duplicate this issue outside of MacPorts:
{{{
git clone https://github.com/neovim/neovim.git
cd neovim
git checkout v0.9.2
make deps
mkdir build
cd build
cmake -DLIBLUV_INCLUDE_DIR=/opt/local/include
-DLIBLUV_LIBRARY=/opt/local/lib/libluv.dylib ..
make
}}}
This should fail with the following
{{{
[ 92%] Generating nvim.pot
LuaJIT ASSERT lj_api.c:52: index2adr: calling frame is not a C function
/bin/sh: line 1: 85788 Abort trap: 6 ../../../bin/nvim -u NONE
-i NONE -n --headless --cmd "set cpo+=+" -S
/Users/dylan/tmp/nv/neovim/src/nvim/po/tojavascript.vim
/Users/dylan/tmp/nv/neovim/build/src/nvim/po/nvim.pot
/Users/dylan/tmp/nv/neovim/runtime/optwin.vim
make[2]: *** [src/nvim/po/nvim.pot] Error 134
make[1]: *** [src/nvim/po/CMakeFiles/translations.dir/all] Error 2
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68126#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list