Skip to content

Another "%p" startup error on luajit-less arm64 #504

@kkremitzki

Description

@kkremitzki

Description

This is another manifestation of the problem reported in issue #485 , arising from the fact that the Debian/Ubuntu arm64 packages of Neovim are built without luajit for some reason:

Error detected while processing /home/kurt/.dotfiles/.config/nvim/plugin/packer_compiled.lua:
E5113: Error while calling lua chunk: /home/kurt/.config/nvim/plugin/packer_compiled.lua:8: Vim(packadd):E919: Directory not found in 'packpath': "pack/*/opt/packer.nvim"
stack traceback:
        [C]: in function 'nvim_command'
        /home/kurt/.config/nvim/plugin/packer_compiled.lua:8: in main chunk
Press ENTER or type command to continue

Neovim version

v0.6.1

Operating system and version

Debian Unstable arm64

Expected behavior

Start without error

Actual behavior

Error detected while processing /home/kurt/.dotfiles/.config/nvim/plugin/packer_compiled.lua:
E5113: Error while calling lua chunk: /home/kurt/.config/nvim/plugin/packer_compiled.lua:8: Vim(packadd):E919: Directory not found in 'packpath': "pack/*/opt/packer.nvim"
stack traceback:
        [C]: in function 'nvim_command'
        /home/kurt/.config/nvim/plugin/packer_compiled.lua:8: in main chunk
Press ENTER or type command to continue

Minimal config

vim.o.packpath = '/tmp/nvim/site'

local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
  -- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require('gitsigns').setup{
  debug_mode = true, -- You must add this to enable debug messages
  -- ADD GITSIGNS CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE

Steps to reproduce

  1. nvim --clean -u minimal.lua

Gitsigns debug messages

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions