Bug 2212686

Summary: Please port your pcre dependency to pcre2. Pcre has been deprecated
Product: [Fedora] Fedora Reporter: Lukas Javorsky <ljavorsk>
Component: webkitgtkAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: gnome-sig, mcatanza, philip.wyett, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-14 10:53:37 UTC 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 2023-06-06 07:07:05 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.

Reproducible: Always

Comment 1 Tomas Popela 2023-06-06 07:20:09 UTC
Looking at https://tiny.distro.builders/view-rpm--view-eln--pcre-devel.html and https://tiny.distro.builders/view-rpm--view-eln--pcre.html and comparing what's being required - only pcre-devel from webkitgtk (https://src.fedoraproject.org/rpms/webkitgtk/blob/rawhide/f/webkitgtk.spec#_82), but no runtime requirement, then I would say that the build requirement is some old one and could be dropped. I'm starting the x86_64 scratch build with the BR dropped - https://koji.fedoraproject.org/koji/taskinfo?taskID=101860796 to confirm it.

Comment 2 Tomas Popela 2023-06-14 10:48:29 UTC
The build succeeded, so we're able to drop the dependency.

Comment 3 Tomas Popela 2023-06-14 10:53:37 UTC
Dropped it with https://src.fedoraproject.org/rpms/webkitgtk/c/97d8057b53649359832ce20f7d1df6596945240f?branch=rawhide, but I didn't make a new build to not stress the infra too much so it will be fixed with next update.