Skip to contentSkip to conversation

Pre-compiled spatch links against EOL PCRE version

cocci Manuel Wiesinger 4 participants 11 messages Dec 15, 2025 – Feb 2

lore
Share & tools
lore
#0 lore raw

Hello everyone,

The pre-compiled binary provided on the Download page [1] links against libpcre.so.3. This library is unmaintained by upstream [2] and not available on recent distributions, including Debian 13 [3], RHEL 10 and Arch Linux.

I have been using spatch linked against PCRE2 (/usr/lib/libpcre.so.1) extensively for days without any issues on Arch Linux.

[1] https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1-bin-x86.tar.gz
[2] https://www.pcre.org/ (See Versions)
[3] https://lists.debian.org/debian-devel/2021/11/msg00176.html

Take care,
Manuel

#1 lore raw

Hi Manuel,

Thanks for the report. You're right, we should move to PCRE2.

Olaf Hering suggested a patch earlier this year to do just this and I forgot about it until now. I'll work on reviewing and merging it.

Victor

Quoted 16 lines · Manuel Wiesinger

Hello everyone,

The pre-compiled binary provided on the Download page [1] links against libpcre.so.3. This library is unmaintained by upstream [2] and not available on recent distributions, including Debian 13 [3], RHEL 10 and Arch Linux.

I have been using spatch linked against PCRE2 (/usr/lib/libpcre.so.1) extensively for days without any issues on Arch Linux.

[1] https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1-bin-x86.tar.gz
[2] https://www.pcre.org/ (See Versions)
[3] https://lists.debian.org/debian-devel/2021/11/msg00176.html

Take care,
Manuel

#2 lore raw
Quoted 1 line

You're right, we should move to PCRE2.

We are waiting on further collateral evolution.

Quoted 1 line

Olaf Hering suggested a patch earlier this year to do just this

Adjustment possibilities were demonstrated.

Quoted 1 line

and I forgot about it until now.

How could this happen?

Quoted 1 line

I'll work on reviewing and merging it.

Will development interests grow also for extending corresponding software build configuration parameters?

Regards,
Markus

#3 lore raw
In reply to Victor Gambier

Hello,

Work on PCRE2 has been completed - I've finished what Olaf's started.

The patch is on master (b231de0db). Feel free to send feedback if you notice any issues once this becomes a release.

Victor

Quoted 25 lines · Victor Gambier

Hi Manuel,

Thanks for the report. You're right, we should move to PCRE2.

Olaf Hering suggested a patch earlier this year to do just this and I forgot about it until now. I'll work on reviewing and merging it.

Victor

Quoted 16 lines · Manuel Wiesinger

Hello everyone,

The pre-compiled binary provided on the Download page [1] links against libpcre.so.3. This library is unmaintained by upstream [2] and not available on recent distributions, including Debian 13 [3], RHEL 10 and Arch Linux.

I have been using spatch linked against PCRE2 (/usr/lib/libpcre.so.1) extensively for days without any issues on Arch Linux.

[1] https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1-bin-x86.tar.gz
[2] https://www.pcre.org/ (See Versions)
[3] https://lists.debian.org/debian-devel/2021/11/msg00176.html

Take care,
Manuel

#4 lore raw
Quoted 3 lines

Work on PCRE2 has been completed - I've finished what Olaf's started.

The patch is on master (b231de0db). Feel free to send feedback if you notice any issues once this becomes a release.

Thanks for another remarkable software development progress.

Unfortunately, I would miss further improvements for the software build system so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/b231de0db3f9513f6ea936caea5428fe627af1b9

I tried also to influence corresponding adjustments somehow. Will development interests grow accordingly?

Regards,
Markus

#5 lore raw
Quoted 11 lines · Markus Elfring
Quoted 3 lines

Work on PCRE2 has been completed - I've finished what Olaf's started.

The patch is on master (b231de0db). Feel free to send feedback if you notice any issues once this becomes a release.

Thanks for another remarkable software development progress.

Unfortunately, I would miss further improvements for the software build system so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/b231de0db3f9513f6ea936caea5428fe627af1b9

I tried also to influence corresponding adjustments somehow. Will development interests grow accordingly?

If you want something to change, could you please explain what should change, or better yet provide a patch? "miss further improvements" gives no information about what should be done.

julia

#6 lore raw

Re: [cocci] Evolution for the software build system?

Quoted 8 lines
Quoted 5 lines

Unfortunately, I would miss further improvements for the software build system so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/b231de0db3f9513f6ea936caea5428fe627af1b9

I tried also to influence corresponding adjustments somehow. Will development interests grow accordingly?

If you want something to change, could you please explain what should change, or better yet provide a patch?

I pointed remaining update candidates out.

I presented some patches before.

I would appreciate if corresponding development discussions can become more constructive again.

Quoted 2 lines

"miss further improvements" gives
no information about what should be done.

Please take another look at previous clarification approaches. Would you like to offer further answers to remaining open issues?

Regards,
Markus

#7 lore raw

Re: [cocci] Evolution for the software build system?

Quoted 10 lines · Markus Elfring
Quoted 8 lines
Quoted 5 lines

Unfortunately, I would miss further improvements for the software build system so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/b231de0db3f9513f6ea936caea5428fe627af1b9

I tried also to influence corresponding adjustments somehow. Will development interests grow accordingly?

If you want something to change, could you please explain what should change, or better yet provide a patch?

I pointed remaining update candidates out.

Where? You sent to a link to a commit by Victor. What should we do with that information?

Quoted 1 line

I presented some patches before.

Where? Why don't you send a link to that?

julia

Quoted 14 lines

I would appreciate if corresponding development discussions can become more constructive again.

Quoted 2 lines

"miss further improvements" gives
no information about what should be done.

Please take another look at previous clarification approaches. Would you like to offer further answers to remaining open issues?

Regards,
Markus

#8 lore raw

Re: [cocci] Evolution for the software build system?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Unfortunately, I would miss further improvements for the software build system so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/b231de0db3f9513f6ea936caea5428fe627af1b9

I tried also to influence corresponding adjustments somehow. Will development interests grow accordingly?

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

If you want something to change, could you please explain what should change, or better yet provide a patch?

I pointed remaining update candidates out.

Where? You sent to a link to a commit by Victor. What should we do with that information?

The information “configure.ac: use pcre2-ocaml/lib folder to reflect new bundle structure” is provided there.
A desirable change description was omitted (or overlooked) once more.

Some files were adjusted recently.

Quoted 3 lines
Quoted 1 line

I presented some patches before.

Where? Why don't you send a link to that?

You know corresponding issue tracking interfaces.

* https://github.com/coccinelle/coccinelle/issues

* https://lore.kernel.org/cocci/
https://sympa.inria.fr/sympa/arc/cocci/

Would you find any technical details from the previously discussed topic “Data processing challenges by build requirements” still relevant?

Regards,
Markus

#9 lore raw

Re: [cocci] Evolution for the software build system?

In reply to Julia Lawall
Quoted 1 line

Where? Why don't you send a link to that?

You probably know ways for distinguishing package sources for involved software components, don't you?

How do you think about to support parallel system configurations accordingly?

Can we benefit any more from related information sources?

* Choosing Package Options
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Package-Options.html

* Configuration and Cache Variables
https://cmake.org/cmake/help/v4.2/guide/tutorial/Configuration%20and%20Cache%20Variables.html

* Arbitrary variables from dependencies that can be found multiple ways
https://mesonbuild.com/Dependencies.html#arbitrary-variables-from-dependencies-that-can-be-found-multiple-ways

* Managing Dependencies With opam
https://ocaml.org/docs/managing-dependencies

Regards,
Markus