Upstream stopped the support for the old 'pcre' package. It only supports the new 'pcre2' version, so Fedora should deprecate it so it could later be retired and removed from Fedora entirely.
- Name: Lukas Javorsky
- Email: firstname.lastname@example.org
- Targeted release: Fedora Linux 38
- Last updated: 2022-09-16
- devel thread
- FESCo issue: #2862
- Tracker bug: #2127507
- Release notes tracker: #878
Upstream stopped supporting the old 'pcre' package. The 8.45 is marked as a final release and nothing else will be added/fixed in it. This may lead to some unresolved CVEs, which would have to be resolved by the maintainers. Unfortunately, due to our limited capacity, we wouldn't have the time and experience to solve this by ourselves, so we need to deprecate this package. After the deprecation is done, the very next step would be starting the retirement change, so the package is removed from Fedora entirely.
The new 'pcre2' package is out for more than 7 years now and most of the packages have already been ported to its redefined API. Mail about the changes in the pcre2.
1) File the BZ trackers for all of the dependent packages.
2) Document the deprecation.
3) Start the new change with the pcre retirement.
The early feedback from the community is in this mailing thread
Benefit to Fedora
Fedora shouldn't support unsupported packages. When the future RHEL versions fork from Fedora, it could lead to less secure RHEL as well. By deprecating this package, we will send the message to the maintainers that their packages should port to new pcre2 package and any new package would have to use only new and supported pcre2 version.
- Proposal owners: 3 steps mentioned in the Plan.
- Other developers: Port their package to support the new pcre2.
- Release engineering: N/A (not needed for this Change)
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Objectives:
The old pcre package will be deprecated, so the new packages are not able to require it and have to require the new pcre2 version of this package.
Users will not be exposed to the possible vulnerable pcre package, because the pcre2 is supported by the upstream community.
This list is obtained by using and combining the output of the following commands:
dnf repoquery --disablerepo='*' --enablerepo=rawhide --whatrequires 'libpcre.so.1()(64bit)' --whatrequires 'libpcreposix.so.0()(64bit)' -s | pkgname
dnf repoquery --disablerepo='*' --enablerepo=rawhide-source --whatrequires pcre-devel | pkgname
- Contingency mechanism: (What to do? Who will do it?) N/A (not needed for this Change)
- Contingency deadline: N/A (not needed for this Change)
- Blocks release? No
There should be documentation of this change, so the users know that the pcre is no longer supported and cannot be required by any Fedora package. If an existing package requires the pcre package, it is considered as a bug.
Release notes should contain the information about the pcre deprecation so the users know they won't be able to use its libraries anymore.