Bug 2128338 - Please port your pcre dependency to pcre2. Pcre has been deprecated
Summary: Please port your pcre dependency to pcre2. Pcre has been deprecated
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-pcre
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2127507
TreeView+ depends on / blocked
 
Reported: 2022-09-20 13:05 UTC by Lukas Javorsky
Modified: 2025-02-26 12:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukas Javorsky 2022-09-20 13:05:17 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 Richard W.M. Jones 2022-09-20 13:49:01 UTC
ocaml-pcre is basically a wrapper around PCRE (1) so I don't expect
this package to ever be "fixed".  I guess at some point we'll have an
"ocaml-pcre2" but we don't have that now.

A more interesting question is therefore which packages still build-
require ocaml-pcre:

$ grep 'BuildRequires.*ocaml-pcre' */rawhide/*.spec
coccinelle/rawhide/coccinelle.spec:BuildRequires:  ocaml-pcre-devel
ocaml-ocamlnet/rawhide/ocaml-ocamlnet.spec:BuildRequires:  ocaml-pcre-devel

coccinelle is already covered by bug 2128281

I don't think we have a bug for ocaml-ocamlnet.

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

Comment 4 Aoife Moloney 2024-05-07 15:49:33 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Richard W.M. Jones 2024-05-07 16:26:27 UTC
ocaml-pcre2 now exists.  There are two possible upstreams:
https://github.com/tobil4sk/pcre2-ocaml/commits/main/
https://github.com/camlp5/pcre2-ocaml/commits/main/

Opam seems to think the second one is canonical now (https://opam.ocaml.org/packages/pcre2/)

Anyway this is not packaged in Fedora, so moving this bug to Rawhide.

Comment 6 Aoife Moloney 2025-02-26 12:52:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


Note You need to log in before you can comment on or make changes to this bug.