rspamd fails to start when using lua5-1 - so should probably be removed as available LUA_SINGLE_TARGET Reproducible: Always Steps to Reproduce: 1. LUA_SINGLE_TARGET="lua5-1" emerge -v1DN mail-filter/rspamd 2. /etc/init.d/rspamd start Actual Results: mail ~ # /etc/init.d/rspamd start rcl parse error: cannot init lua file /usr/share/rspamd/rules/rspamd.lua: error loading module 'lua_maps' from file '/usr/share/rspamd/lualib/lua_maps.lua': /usr/share/rspamd/lualib/lua_maps.lua:564: nesting of [[...]] is deprecated near '['; trace: [1]:{[C]:-1 - <unknown> [C]}; [2]:{[C]:-1 - require [C]}; [3]:{/usr/share/rspamd/lualib/global_functions.lua:21 - <unknown> [main]}; [4]:{[C]:-1 - require [C]}; [5]:{rspamd.lua:19 - <unknown> [main]}; * ERROR: rspamd failed to start mail ~ # Expected Results: Works fine when swithcing to lua5-3 or lua5-4
Could you report it to upstream, lua-5.1 seems to be still supported, see https://github.com/rspamd/rspamd/blob/3.8.0/CMakeLists.txt#L192-L200
https://github.com/rspamd/rspamd/issues/4784
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a31d97af4910925784bfd609199347030336516 commit 9a31d97af4910925784bfd609199347030336516 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-01-26 09:03:02 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-01-26 09:15:18 +0000 mail-filter/rspamd: drop 3.8.0 Closes: https://bugs.gentoo.org/922522 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> mail-filter/rspamd/Manifest | 1 - mail-filter/rspamd/rspamd-3.8.0.ebuild | 155 --------------------------------- 2 files changed, 156 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e961efcd3c4333c31d9248b5b6e0dcef5f1e93 commit a2e961efcd3c4333c31d9248b5b6e0dcef5f1e93 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-01-26 09:01:43 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-01-26 09:15:17 +0000 mail-filter/rspamd: add 3.8.1 This version fixes Lua 5.1 issue, see bug 922522. Bug: https://bugs.gentoo.org/922522 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> mail-filter/rspamd/Manifest | 1 + mail-filter/rspamd/rspamd-3.8.1.ebuild | 155 +++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+)