Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854471 - mail-filter/imapfilter-2.7.5: depends on libpcre, but uses libpcre2
Summary: mail-filter/imapfilter-2.7.5: depends on libpcre, but uses libpcre2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PullRequest
Depends on:
Blocks: 837980
  Show dependency tree
Reported: 2022-06-26 19:01 UTC by Holger Hoffstätte
Modified: 2022-06-28 12:21 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2022-06-26 19:01:11 UTC
imapfilter-2.7.5 added explicit support for libpcre2 (yay!) but the build still depends on libpcre. I noticed while I was looking at remaining consumers of libpcre and looked into porting it..which was already done.

Reproducible: Always

Steps to Reproduce:
1. emerge imapfilter with libpcre2 installed
2. ldd /usr/bin/imapfilter: libpcre2 is used
3. emerge -vp --depclean libpcre still shows imapfilter as dependency

Expected Results:  
Correct dependency declaration on libpcre2.
Comment 1 Holger Hoffstätte 2022-06-26 19:05:32 UTC
(In reply to Holger Hoffstätte from comment #0)
> but the build still depends on libpcre

Just to be clear: this should have said *the ebuild*.
The only necessary change is in RDEPEND.
Comment 2 Holger Hoffstätte 2022-06-26 19:25:37 UTC
Created a PR:
Comment 3 Larry the Git Cow gentoo-dev 2022-06-28 09:31:53 UTC
The bug has been closed via the following commit(s):

commit 0e1e8ba45af1913742d440c63efde2390eca9e2c
Author:     Holger Hoffstätte <>
AuthorDate: 2022-06-26 19:18:57 +0000
Commit:     Sam James <>
CommitDate: 2022-06-28 09:31:38 +0000

    mail-filter/imapfilter: add 5.4 & luajit to LUA_COMPAT, correctly depend on libpcre2
    Signed-off-by: Holger Hoffstätte <>
    Signed-off-by: Sam James <>

 mail-filter/imapfilter/imapfilter-2.7.5-r1.ebuild | 48 +++++++++++++++++++++++
 1 file changed, 48 insertions(+)