Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kkremitzki opened this issue Apr 2, 2022 · 0 comments · Fixed by #505
Closed

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

kkremitzki opened this issue Apr 2, 2022 · 0 comments · Fixed by #505
Labels
bug Something isn't working

Comments

@kkremitzki
Copy link
Contributor

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

@kkremitzki kkremitzki added the bug Something isn't working label Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant