#902060 pcre2: please use versioned symbols

Package:
libpcre2-8-0
Source:
pcre2
Description:
New Perl Compatible Regular Expression Library- 8 bit runtime files
Submitter:
Jonathan Nieder
Date:
2026-08-31 23:07:03 UTC
Severity:
wishlist
Tags:
#902060#5
Date:
2018-06-22 02:35:56 UTC
From:
To:
Using a symbol version script brings a few advantages to a library:

 1. simplifies library transitions, since multiple versions of the
    library with different ABI can share a process image without
    producing disaster. See [1] for a description with more detail.

 2. makes appropriate package dependencies for callers easier to
    compute, since the symbol version indicates the minimal library
    version that introduced each symbol

Advantage (1) is especially important for a popular library like
pcre2.

Filing this as a reminder to anyone interested (including me) to
pursue adding a version script to libpcre2.  See the example [1] for
comparison.  Some references with more details are linked to at [2].

Thoughts of all kinds welcome, as always.

Sincerely,
Jonathan

[1] https://www.mail-archive.com/xz-devel@tukaani.org/msg00015.html
[2] https://gcc.gnu.org/wiki/SymbolVersioning

#902060#10
Date:
2018-06-26 12:57:37 UTC
From:
To:
Hi,

Do pursue this with upstream, please - I think I'd be quite reluctant to
try and carry this as a Debian patch.

Thanks,

Matthew

#902060#19
Date:
2025-10-21 11:19:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pcre2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 902060@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthew Vernon <matthew@debian.org> (supplier of updated pcre2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 21 Oct 2025 11:09:46 +0100
Source: pcre2
Architecture: source
Version: 10.47-1
Distribution: experimental
Urgency: medium
Maintainer: Matthew Vernon <matthew@debian.org>
Changed-By: Matthew Vernon <matthew@debian.org>
Closes: 902060
Changes:
 pcre2 (10.47-1) experimental; urgency=medium
 .
   * New upstream version (Closes: #902060)
Checksums-Sha1:
 3fa400f60dc84b6a952a5016095bf6e98e9d52f9 2337 pcre2_10.47-1.dsc
 48c72fcc0eccc71de3f4bc3a3b8409ec3b326659 2792969 pcre2_10.47.orig.tar.gz
 c204d6926bcd959da7c8d21be0f3d42f0624fb36 9797 pcre2_10.47-1.diff.gz
Checksums-Sha256:
 f43e87e13c18375a3d898b4d1ce615deb667ace7c79c44b970e9f6dcf0b6a03a 2337 pcre2_10.47-1.dsc
 c08ae2388ef333e8403e670ad70c0a11f1eed021fd88308d7e02f596fcd9dc16 2792969 pcre2_10.47.orig.tar.gz
 af4cb8c83925be32be356fb991eae5a2b2e1cbbded8c6c68b7342a5318eac849 9797 pcre2_10.47-1.diff.gz
Files:
 51ae1cb7b87e197653743b935a777921 2337 libs optional pcre2_10.47-1.dsc
 2261078304c4e6904d1c94c9ffd04fd8 2792969 libs optional pcre2_10.47.orig.tar.gz
 626fee43ae2daac71c20fd35daa23974 9797 libs optional pcre2_10.47-1.diff.gz
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEuk75yE35bTfYoeLUEvTSHI9qY8gFAmj3Zl0THG1hdHRoZXdA
ZGViaWFuLm9yZwAKCRAS9NIcj2pjyB5/EACJ7gN0AAj01EakIz/cHQSMgxVB2D8Y
ikNgKJQpphuJSkAqxfFlXvS0fUe4SaGlUkAYW78zKy8WOD5MGowPEx3gMYlJbYfg
CH867RlQZsisbcJla8aGX5hRhWmqn457xfb4Gbr1qblm14pc+uQhOt52wkdoFjwR
y20huIuVD7jxhI1lC29bNiUrQp4yYitiFmZTfvAKUWX0buEi0nuFCvzUxmVGax0u
HWYi8dDmd++7hw2Dgiu9XqoCu5lTgBcmTwXDHQHIV6SW5YbEvdNm1Imp+QM0/isk
RdM53gyayRyB5qWnMEaRlBnJOxsncdInl0ZazFWoRZffcqO8NFi59J0CbCvCiiKY
Me0ijegRQZ9tQ9KNsPzdZVvpf0taYVZ8PkxAKi3ACdFriDCYCThd2CPCKN2w940O
kr2Tuud1YO2yMR+QPMR2pv/DvCNXxYFyzBh2i1MwpEnJD1DMHafc/yzzMcm/D97k
o9/oEciYsMt96pzTCpm9VYX2rZ58P/NNjG9PE4MR2B+9LrQbzBrhM1S3AcvaijKj
7j28cTUnMMItbrYyAYcaBe1fDdUjkkc+A8aFURKAa3cQzSYgshdjs/yUPFG4MRjM
3zZH/pIqHE+LOwnkccHLeHAIUnVGzm2D9STGkX42QYAs1ItxrFk11UhrgHN/PdF5
CfCP3hpdzhRp0g==
=1C5A
-----END PGP SIGNATURE-----

#902060#32
Date:
2026-08-31 23:04:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pcre2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 902060@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthew Vernon <matthew@debian.org> (supplier of updated pcre2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 31 Aug 2026 21:37:22 +0100
Source: pcre2
Architecture: source
Version: 10.48-1
Distribution: unstable
Urgency: high
Maintainer: Matthew Vernon <matthew@debian.org>
Changed-By: Matthew Vernon <matthew@debian.org>
Closes: 902060 1119027
Changes:
 pcre2 (10.48-1) unstable; urgency=high
 .
   * New upstream release
 .
 pcre2 (10.48~rc1-1) experimental; urgency=medium
 .
   * New upstream version (RC, for testing)
 .
 pcre2 (10.47-2) experimental; urgency=medium
 .
   * Undo symbol versioning at least for now (Closes: #1119027)
 .
 pcre2 (10.47-1) experimental; urgency=medium
 .
   * New upstream version (Closes: #902060)
Checksums-Sha1:
 abb1c967c6cccbc147dd02294253e529dc8c2249 2337 pcre2_10.48-1.dsc
 0deab85f73a8ea42ed40e277b9746ba9a3069f2a 2887260 pcre2_10.48.orig.tar.gz
 2889d22a0bd3d9a9953a31f607b65308451f52f7 7679 pcre2_10.48-1.diff.gz
Checksums-Sha256:
 ba98cf2c811ba18b4603c92566d93d1cbfcd42ee250e77d6e1a136763221b099 2337 pcre2_10.48-1.dsc
 ebcc25aadf2a51fa1fefa9b8bc9e7a79b3dae86870a0f1152a22e42befd46888 2887260 pcre2_10.48.orig.tar.gz
 ef41f099d8ab13d96e7bfde1ce10f8e985e2862b0c1bfb279eb52c51639c0778 7679 pcre2_10.48-1.diff.gz
Files:
 321223a72bb391a4e9df39c412802d7a 2337 libs optional pcre2_10.48-1.dsc
 a816ebc60e2b5273bf377f03babac301 2887260 libs optional pcre2_10.48.orig.tar.gz
 9c79d504618f77bd1475d925329b0887 7679 libs optional pcre2_10.48-1.diff.gz
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEuk75yE35bTfYoeLUEvTSHI9qY8gFAmqWA7ATHG1hdHRoZXdA
ZGViaWFuLm9yZwAKCRAS9NIcj2pjyA8bD/9VUh4mEehOJNhYEtsF7wdXkvVLhb2u
m0RR9CHVVH5j1zL5sSnnxSMVMfkQ+JMxKiKEgnaVIVhenxHxvQ+J56u0y8yMI8Lw
jtFvKIsf0Q8CRubIG13we79wV5QjHwxDgC1AIF/N+PIDfmIW5iKuyPWXJe65rbyD
mAJr6iNyckA+0ugDS8n3FE9c+6n7waGyV1C7PwdJqUpx3JovCSzX/dGa5S8pQ1ae
YTIekFrKHOaEordTB+XiV7i3Pl5lNwXutecdlnWAOJZ8/iLw9SdKMKT+UPyfkQXm
wleSpUerv7xaLxhQ8KU9vCi/NF2nHxJWQ2biZIm/1Q1Hpvkfb9eAkWeMdr+rWN84
p/jZ7dnX6GbKKDKZVwWMWLINCGB7Eju3ro0I18ZQYnQKLLi89BVzCzNTGoYPL6w6
CwCJjYGJMEDCjR2k9n9ySIB8Eftp4iL8NXakBTD7Dpn+FlhFOyvVdQQRRH3eTCrS
wzMHuqc1wfixUwtX0zhHvbJpQCqWO62GSG3RrHS6edbmW3iwfbbqFpBOGk+xZdZp
LAKQUFRecG62srMpI24g3w+uUyc3VsKqnAkHDb7oxe0q9p8EIWz81Ks4S4rb1xWk
6Mj9LW396wHYUNln39R8yK76j8blJ3YT/bc9GYuy37NTdzz8DNZbpFl/Kve4nnEw
uQKTck64QIV8IA==
=2jhw
-----END PGP SIGNATURE-----