#1014160 vim/_init_packages.lua: cannot load incompatible bytecode

Package:
neovim
Source:
neovim
Description:
heavily refactored vim fork
Submitter:
Xavier Bestel
Date:
2022-07-06 15:00:02 UTC
Severity:
normal
Tags:
#1014160#5
Date:
2022-07-01 07:40:49 UTC
From:
To:
Dear Maintainer,

Since Neovim 0.7 there's this issue at start:

vim/_init_packages.lua: cannot load incompatible bytecode
stack traceback:
	[C]: at 0x55d396491750
	[C]: at 0x7f0e8df71400
E970: Failed to initialize builtin lua modules

... and nvim can't start.

Apparently this is upstream's issue:
https://github.com/neovim/neovim/issues/18169

Best regards,

	Xav

#1014160#10
Date:
2022-07-01 09:54:52 UTC
From:
To:
Same issue for me with neovim-0.7.2-1 package from unstable installed on Debian
testing/amd64 :

$ nvim
vim/_init_packages.lua: cannot load incompatible bytecode
stack traceback:
(...)


Moreover, I compiled local Debian packages for version 0.7.2-1 from Git sources
(https://salsa.debian.org/vim-team/neovim) and I have not this issue after
installing it.


regards, Laurent

#1014160#15
Date:
2022-07-06 10:48:39 UTC
From:
To:
Your libluajit-5.2-1 package is out of date.  If you upgrade to the
version in unstable, does the problem go away?

Cheers,

#1014160#20
Date:
2022-07-06 12:21:36 UTC
From:
To:
Yes it works with libluajit-5.1-2_2.1.0~beta3+git20220320+dfsg-4.
#1014160#23
Date:
2022-07-06 14:37:46 UTC
From:
To:
Hello,

Bug #1014160 in neovim reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/vim-team/neovim/-/commit/6d56c66bbb3097b8fa6759482bd828a22c770f33
------------------------------------------------------------------------
Only generate Lua bytecode for non-LuaJIT builds

The generated bytecode isn't compatible between beta releases of LuaJIT.
Since upstream isn't actually making releases of LuaJIT, I'm not going
to rely on it to produce compatible bytecode across whatever git
snapshots Debian has.

Closes: #1014160
Signed-off-by: James McCoy <jamessan@debian.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1014160

#1014160#30
Date:
2022-07-06 14:49:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
neovim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1014160@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <jamessan@debian.org> (supplier of updated neovim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 06 Jul 2022 10:35:11 -0400
Source: neovim
Architecture: source
Version: 0.7.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org>
Changed-By: James McCoy <jamessan@debian.org>
Closes: 1013002 1014160
Changes:
 neovim (0.7.2-3) unstable; urgency=medium
 .
   * Disable strict aliasing to fix gcc-12 FTBFS (Closes: #1013002)
   * Always Build-Depend on lua5.1, even when building with luajit
   * Only generate Lua bytecode for non-LuaJIT builds (Closes: #1014160)
Checksums-Sha1:
 b36f139a58132d259d16c39ac1ccb139e69f0165 2828 neovim_0.7.2-3.dsc
 3700f1e55d1b8c28ba9c0697f11095725a974ada 16852 neovim_0.7.2-3.debian.tar.xz
Checksums-Sha256:
 c3636b9ff8da1dc5d6e112ccfd80981ca9020a40012f63518cd3ac80cb8dd01f 2828 neovim_0.7.2-3.dsc
 b4cfd8992153fb648c797edb2638bd28cc45c94793883b31327f680b69a9c8e8 16852 neovim_0.7.2-3.debian.tar.xz
Files:
 158fa287c54819b052d0e6f074bb0169 2828 editors optional neovim_0.7.2-3.dsc
 25c15219667e61fe945c60715ca95bf3 16852 editors optional neovim_0.7.2-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmLFnfJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9ukaw//QUPWAJFhkt7SL0hxGB0BafENskaA
/jNA3KXMeDu4ZPdSmKGyyBTO2tMEDP5vB4ss4xovboj1GZ7/wHGrwX7xBZBe3luV
936hd4Kq2C9GQUmD4BP6u37mNTpajqjpyuGolTZXqzpo45jnUoLE1uYoqWu20sHy
/wCsYKFBdGxTeDgM1Pfostdvu+j8Ab8RnXk+Bf6nf6zo2+GdK063UpbO77+rkwtM
+GHrlvaGLthM2hvZHRwxhgxufKBM9IsoqMg1NPgN6NAhk3nTSeMIR2XqKLFpxCPX
eJFqXh98KQF8oFq4rUbvXexMFPVKzNsmQf6HUsDSgwI1tK8XPj683dTZ+2BAC8Tk
slaIdjIiGmO0hwnEeoRK2bGcvBEzbr+0vqUlbe42gZax0OQRxaSRhaJs2rAJCF0V
urMZRYXcnx9pdf4oSJqsxZAVKIhJ2JS9h708cwqQzunIKwTocYYQrEGQbSLKXT8J
7P09I9ehKQQSCL/RrpxiMccz0YYMd8eS+OH9R/T18ZZs9wZNtXH1pXtO5WzBmVjZ
WvNVpVeJyKdIENhdZRMymzaT+jG/NRbKNmAIZtX0nJYwn332WcL3Ppjvwni191ep
A29iFBygJtmiYtbBn4JG9sP4cMfw7ODdX57so1uf8wN2C0yORblh/4D2B2dbgfz1
4L1x1Q85ududD38=
=ajWP
-----END PGP SIGNATURE-----