I am trying to update the neovim package on Void Linux but the cross-builds for aarch64 are failing. Link to GitHub Action.
The error message is:
FAILED: runtime/pack/dist/opt/matchit/doc/tags /builddir/neovim-0.7.0/build/runtime/pack/dist/opt/matchit/doc/tags
cd /builddir/neovim-0.7.0/build/runtime/pack/dist/opt/matchit && /usr/bin/cmake -E copy_directory /builddir/neovim-0.7.0/runtime/pack/dist/opt/matchit /builddir/neovim-0.7.0/build/runtime/pack/dist/opt/matchit && /usr/bin/qemu-aarch64-static /builddir/neovim-0.7.0/build/bin/nvim -u NONE -i NONE -e --headless -c helptags\ doc -c quit
vim/_init_packages.lua: cannot load incompatible bytecode
stack traceback:
[C]: at 0x55001d3ba0
[C]: at 0x550272f410
E970: Failed to initialize builtin lua modules
I have tried a few things and the problems according to my hunch is with LuaJIT not working out-of-the-box with the combination of the architecture and neovim.
I am not sure how to debug the actual cause of the issue too. But in the past the LuaJIT package has required patches to work for neovim on aarch64 on Void Linux.
So if anyone has any tips or advice I would appreciate it.