guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#58901] [PATCH] gnu: luajit: Update to commit 6c4826.


From: Leo Nikkilä
Subject: [bug#58901] [PATCH] gnu: luajit: Update to commit 6c4826.
Date: Sun, 30 Oct 2022 21:19:53 +0200

Greetings, attached is a patch to update luajit to commit
6c4826f12c4d33b8b978004bc681eb1eef2be977.

My motivation for doing this was to get Neovim to build on aarch64-linux
again, which has been failing for a while due to incompatibilities with
the 2.1.0-beta3 release:

- https://ci.guix.gnu.org/build/1558481/details
- https://github.com/neovim/neovim/issues/15146#issuecomment-884154715

The 2.1.0-beta3 release is from 2017, and now quite dated.

Unfortunately there hasn't been a tagged release in a long time, and
dependents have resorted to various commits of the 2.1.0 branch. I chose
this particular commit from Nixpkgs:

- 
https://github.com/NixOS/nixpkgs/blob/3fa15c357033b1c7bdb88f34c1fb9f6427b4754c/pkgs/development/interpreters/luajit/2.1.nix

In addition to fixing the Neovim build, this also fixes a vulnerability
that has been reported in the luajit 2.1.0-beta3 release and patched in
the development tree:

- https://nvd.nist.gov/vuln/detail/CVE-2020-24372
- https://github.com/LuaJIT/LuaJIT/issues/603

I was also able to remove the luajit patch for a missing ldconfig, this
behaviour has been fixed in upstream since January 2020:

- 
https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80

Here's what `guix refresh' has to say about luajit:

    $ guix refresh --list-dependent luajit
    Building the following 42 packages would ensure 62 dependent packages are 
rebuilt: arcan-wayland@0.5.5.2-1.b4dd1fb xarcan@0.5.4-1.8e6ee02 
arcan-sdl@0.5.5.2-1.b4dd1fb sysbench@1.0.20 knot-resolver@5.4.4 edi@0.8.0 
rage@0.4.0 ephoto@1.6.0 enlightenment@0.25.4 terminology@1.12.1 evisum@0.6.0 
econnman@1.1 epour@0.7.0 jami@20220825.0828.c10f01f pinentry-efl@1.2.0 
instead@3.3.5 love-nuklear@2.6.1 mrrescue@1.02e tome4@1.7.4 
solarus-quest-editor@1.6.5 naev@0.9.4 mrg@0.1.4 uftrace@0.11 bpftrace@0.15.0 
rspamd@3.2 hexchat@2.16.1 minetest-unified-inventory@2021-12-26 
minetest-worldedit@1.3 minetest-ethereal@1.29-0.7670c1d 
minetest-throwing-arrows@1.1-0.059cc89 minetest-basic-trains@1.0.1 
minetest-mesecons@1.2.1-63.27c3c51 minetest-homedecor-modpack@2022-05-18 
minetest-coloredwood@2021-04-14-1 minetest-technic@2022-02-06 
minetest-mobs-animal@2021-11-14 obs-wlrobs@1.0 obs-spectralizer@1.3.3 
obs-websocket@4.9.1 eovim@0.2.0 luakit@2.3 nginx-lua-module@0.10.16

I've tested this update by successfully building the dependent packages
on x86_64-linux and aarch64-linux, except for nginx-lua-module and
obs-websocket which have been failing on CI as well due to build errors
unrelated to luajit.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]