Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822765 - mail-filter/rspamd with dev-libs/libpcre[jit] forces LUA_SINGLE_TARGET=luajit
Summary: mail-filter/rspamd with dev-libs/libpcre[jit] forces LUA_SINGLE_TARGET=luajit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-10 02:03 UTC by Thomas Arnett
Modified: 2021-11-22 10:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnett 2021-11-10 02:03:22 UTC
mail-filter/rspamd has the following conditional dependencies:
    jit? ( lua_single_target_luajit )
    pcre2? ( dev-libs/libpcre2:=[jit=] )
    !pcre2? ( dev-libs/libpcre[jit=] )

This prevents using JIT libpcre with non-JIT Lua, even though this appears to be a valid configuration.
Comment 1 Larry the Git Cow gentoo-dev 2021-11-22 10:11:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8c5ced6f2dd5150bbfb248015f92bbffb1959f

commit ce8c5ced6f2dd5150bbfb248015f92bbffb1959f
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2021-11-12 08:33:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-22 10:08:57 +0000

    mail-filter/rspamd: make USE=jit to control only PCRE JIT support
    
    It is valid configuration to use JIT enabled PCRE with non-JIT Lua and
    vice versa, as it was pointed out in a bug report. Therefore, this
    change removes
    
     jit? ( lua_single_target_luajit )
    
    restriction from all available ebuilds.
    
    Closes: https://bugs.gentoo.org/822765
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/22915
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/rspamd/metadata.xml           | 1 +
 mail-filter/rspamd/rspamd-2.7-r103.ebuild | 3 +--
 mail-filter/rspamd/rspamd-3.0-r3.ebuild   | 1 -
 mail-filter/rspamd/rspamd-3.1.ebuild      | 1 -
 mail-filter/rspamd/rspamd-9999.ebuild     | 1 -
 5 files changed, 2 insertions(+), 5 deletions(-)