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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
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: ---


Attachments

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: https://github.com/gentoo/gentoo/pull/26082
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):

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

commit 0e1e8ba45af1913742d440c63efde2390eca9e2c
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2022-06-26 19:18:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-28 09:31:38 +0000

    mail-filter/imapfilter: add 5.4 & luajit to LUA_COMPAT, correctly depend on libpcre2
    
    Closes: https://bugs.gentoo.org/828110
    Closes: https://bugs.gentoo.org/854471
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/26082
    Signed-off-by: Sam James <sam@gentoo.org>

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