Summary: | mail-filter/rspamd-3.5: init of /usr/share/rspamd/plugins/reputation.lua failed: unknown error; | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Klemen Mihevc <solor> |
Component: | Current packages | Assignee: | Petr Vaněk <arkamar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, web |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/rspamd/rspamd/issues/4455 https://github.com/gentoo/gentoo/pull/31156 https://github.com/gentoo/gentoo/pull/32183 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 905345 |
Description
Klemen Mihevc
2023-03-30 13:38:12 UTC
I can confirm it. But it only happens with LUA_SINGLE_TARGET set to lua5-3 or lua5-4. This issue does not happen with lua5-1 nor with luajit. I don't think this is a Gentoo specific issue. I have git bisected this problem to the commit 884b11488ebc ("[Project] Add schema for external maps") introduced as part of PR https://github.com/rspamd/rspamd/pull/4324. Upstream fixed the issue in commit https://github.com/rspamd/rspamd/commit/e24c536e5989e2b6d46cd8fb35667c860a175324. I have same problem I believe the best will be to disable lua5-{3,4} support in this version or do you have any need for those versions with respect to rspamd? Well considering rspamd is only package that needs lua i personally moved to luajit, so i personally am not bothered by this. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ab69bb2f0a819c26f9559d28a40aa97f8c7510 commit 23ab69bb2f0a819c26f9559d28a40aa97f8c7510 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2023-05-25 08:40:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-26 10:58:45 +0000 mail-filter/rspamd: disable lua5-3, lua5-4 The support for lua5-{3,4} is being temporarily disabled in this version, as the bug fix patch is too large for backporting. Closes: https://bugs.gentoo.org/903577 Upstream-issue: https://github.com/rspamd/rspamd/issues/4455 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/31156 Signed-off-by: Sam James <sam@gentoo.org> mail-filter/rspamd/rspamd-3.5-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f736635e014f88ede09af2be9f4c06601fe5b75 commit 0f736635e014f88ede09af2be9f4c06601fe5b75 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2023-08-03 15:36:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-07 05:35:45 +0000 mail-filter/rspamd: add 3.6 - It was necessary to rebase all patches because upstream changed coding style - New patch was taken from upstream in order to fix tests [1] broken by linter - This version seems to work with libfmt-10 [2], see bug #906068 - Restoring lua5-{3..4} support, see bug #903577 [1] https://github.com/rspamd/rspamd/pull/4560 [2] https://github.com/rspamd/rspamd/issues/4482 Bug: https://bugs.gentoo.org/903577 Bug: https://bugs.gentoo.org/906068 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org> mail-filter/rspamd/Manifest | 1 + .../files/rspamd-3.6-cmake-lua-version.patch | 64 +++++++++ .../rspamd/files/rspamd-3.6-fix-tests.patch | 23 ++++ .../rspamd/files/rspamd-3.6-unbundle-lua.patch | 61 +++++++++ .../files/rspamd-3.6-unbundle-snowball.patch | 20 +++ mail-filter/rspamd/rspamd-3.6.ebuild | 150 +++++++++++++++++++++ 6 files changed, 319 insertions(+) |