FS#63416 - [luajit] use the maintained fork

Attached to Project: Community Packages
Opened by Vinícius dos Santos Oliveira (vinipsmaker) - Friday, 09 August 2019, 06:55 GMT
Last edited by Daurnimator (daurnimator) - Tuesday, 15 February 2022, 02:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daurnimator (daurnimator)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

luaJIT development gone stuck. We shouldn't replace it with another package, but fortunately someone have step up to apply the patches that were laying around on a unified tree (it's not a project trying to give the project a new direction, but only maintenance work). The project announcement is here: https://www.freelists.org/post/luajit/LuaJIT-staging-fork-to-move-the-project-forward

Fedora already adopted this fork.

It contains important fixes such as to LUAJIT_ENABLE_GC64 mode that raises the 2GB limit and have been applied to OpenResty's fork: https://www.freelists.org/post/luajit/Fixed-a-segfault-when-unsinking-64bit-pointers

You can find the repo at <https://github.com/siddhesh/LuaJIT>

Hopefully we could get it into the testing repo and if no project breaks after some time, it could be promoted to community.
This task depends upon

Closed by  Daurnimator (daurnimator)
Tuesday, 15 February 2022, 02:07 GMT
Reason for closing:  Fixed
Comment by Kekw (defty) - Sunday, 28 November 2021, 04:10 GMT
Hi,

I noticed that the MoonJIT fork is unmaintained now[1].
Fedora have switched[2] to using the upstream v2.1 branch (which is getting commits again) along with the tests and a few minor patches from MoonJIT.

Alpine have switched to OpenResty's fork of LuaJIT, which contains quite a few changes[3].

My opinion, just as a user, would be to use the upstream v2.1 branch just like Fedora are doing. LuaJIT is unlikely to get a new release anytime soon[4] and even recommends users to follow git HEAD[5].

[1]: https://github.com/moonjit/moonjit
[2]: https://src.fedoraproject.org/rpms/luajit/tree/rawhide
[3]: https://git.alpinelinux.org/aports/tree/main/luajit?h=3.15-stable
[4]: https://github.com/LuaJIT/LuaJIT/issues/563
[5]: https://luajit.org/download.html
Comment by thayne (ender4) - Thursday, 13 January 2022, 01:38 GMT
I think Debian also follows the 2.1 branch.
Comment by Daurnimator (daurnimator) - Tuesday, 01 February 2022, 15:03 GMT
luajit 2.1.0.beta3.r384.g1d7b5029-1 is now in community-testing.
If there's no bug reports in the next few days I'll move it to community.

Loading...