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
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
|
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
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
If there's no bug reports in the next few days I'll move it to community.