Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2128386

Summary: Please port your pcre dependency to pcre2. Pcre has been deprecated
Product: [Fedora] Fedora Reporter: Lukas Javorsky <ljavorsk>
Component: the_silver_searcherAssignee: Shlomi Fish <shlomif>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: carl, knakayam, shlomif
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2127507    

Description Lukas Javorsky 2022-09-20 13:16:00 UTC
Pcre has been deprecated since Fedora 38.
Please consider porting to the new pcre2 version.

Fedora change that describes the pcre deprecation is located here: https://fedoraproject.org/wiki/PcreDeprecation
FESCo approval is located here: https://pagure.io/fesco/issue/2862

If your component has already ported to pcre2 or you don't Require/BuildRequire any pcre subpackage, feel free to close this Bugzilla.
This Bugzilla was created automatically and some issues might have occurred along the way.

Comment 1 Ben Cotton 2022-09-20 13:46:18 UTC
Adding blocking relationship to BZ 2127507 (the Change tracker)

Comment 2 Carl George 🤠 2022-09-20 18:58:03 UTC
Upstream development for the_silver_searcher has ceased, with no commits since 2020 [0].  They have an open issue for porting to pcre2 that has been open since 2018 [1].  There is a fork that claims to have ported to pcre2 [2], but it is also no longer maintained [3].

This bug is not a blocker for pcre to be deprecated.  When it's time to actually retire pcre from Fedora, we can make a decision about either retiring the_silver_searcher or switching the source to the pcre2-compatible fork.


[0] https://github.com/ggreer/the_silver_searcher/commits/master
[1] https://github.com/ggreer/the_silver_searcher/issues/1257
[2] https://github.com/aswild/the_silver_searcher
[3] https://github.com/aswild/the_silver_searcher/commit/7b571a8a94d0e22a06e3313cb0d9672b416fb2c1

Comment 3 Ben Cotton 2023-02-07 14:56:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.