FS#73305 - [neovim] uses luajit 2.0 not 2.1

Attached to Project: Community Packages
Opened by thayne (ender4) - Sunday, 09 January 2022, 08:31 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 16 February 2022, 12:24 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Caleb Maclennan (alerque)
Daniel M. Capella (polyzen)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

neovim is designed and test with luajit 2.1 commit 4b6e2fc726ed8bf51fe461d90db9fffbc5c894bbdc862a67d17a70190f1fb07f

however the archlinux package is built using luajit 2.0

ideally, neovim should use the same version of luajit that neovim intends, or at least uses luajit 2.1

A few options to remedy this:

- bundle the luajit runtime with neovim (USE_BUNDLED_LUAJIT=ON in the build options)
- include a luajit-2.1beta3 package that uses the beta release of luajit 2.1 (https://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz)
- create a luajit 2.1 package (or change existing luajit package) to use snapshots of the v2.1 branch in luajit's git repo and depend on that


Additional info:
* neovim 0.6.1-1
* fwiw, fedora and debian have luajit 2.1 packages based on the
* on the luajit download page it says "Distros that require releases should do regular snapshots of a branch. Do not attempt to cherry-pick or backport individual changes, no matter how self-standing individual changes look"


Steps to reproduce:
in neovim run `:version` not that the lua runtime is luajit 2.0.5
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 16 February 2022, 12:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  This looks fixed to me.
Comment by Carlo Sala (carlosala) - Sunday, 23 January 2022, 12:25 GMT
I think neovim should bundle by the moment luajit, as it's in a beta version. When things will be stable enough we can begin to use the luajit arch package.
Comment by Robert Cegliński (codicodi) - Sunday, 23 January 2022, 15:07 GMT
luajit 2.1 is in beta since 7 years and it's unlikely that we'll see a stable release soon. Most downstreams moved on to using an unstable version. I think it's best to go with the flow here and package snapshots of 2.1 branch as recommended by upstream.
Comment by Carlo Sala (carlosala) - Sunday, 23 January 2022, 16:44 GMT
Oh, I didn't knew that. I see that 2.1.0-beta3 has been released almost 5 years ago, so releasing a package should be a good decision.
Comment by Daurnimator (daurnimator) - Tuesday, 15 February 2022, 02:08 GMT
This should be fixed now: luajit has been upgraded to 2.1.

Please confirm?

Loading...