Bug 1965025

Summary: pcre2-10.37 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: pcre2Assignee: Lukas Javorsky <ljavorsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, gary.buhrmaster, mschorm, ppisar
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcre2-10.37-2.fc35 carbon-c-relay-3.7.2-2.fc35 haproxy-2.4.2-2.fc35 metis-5.1.0-30.fc35 xterm-368-2.fc35 mariadb-10.5.11-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-15 14:25:55 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: 1981729    
Bug Blocks:    

Description Upstream Release Monitoring 2021-05-26 14:53:57 UTC
Latest upstream release: 10.37
Current version/release in rawhide: 10.36-4.fc35
URL: http://www.pcre.org/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/5832/

Comment 1 Petr Pisar 2021-06-07 07:18:32 UTC
When rebasing pcre2 in Fedora, don't forget to apply patches from an upstream which fix regressions in 10.37, e.g. <https://bugs.exim.org/show_bug.cgi?id=2764>.

Comment 2 Dan HorĂ¡k 2021-06-11 09:00:23 UTC
And enable the JIT for s390x, please, as mentioned in bug #1970765

Comment 3 Petr Pisar 2021-06-16 11:25:04 UTC
pcre2-10.37-1.fc35 cannot be installed:

# dnf upgrade --enablerepo=f35-build
Last metadata expiration check: 0:29:16 ago on Wed 16 Jun 2021 12:46:31 PM CEST.
Dependencies resolved.

 Problem 1: package util-linux-core-2.37-2.fc35.x86_64 requires libpcre2-posix.so.2()(64bit), but none of the providers can be installed
  - cannot install both pcre2-10.37-1.fc35.x86_64 and pcre2-10.36-4.fc35.x86_64
  - cannot install the best update candidate for package util-linux-core-2.37-2.fc35.x86_64
  - cannot install the best update candidate for package pcre2-10.36-4.fc35.x86_64
[...]
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 glibc                             x86_64                      2.33.9000-2.fc35                       rawhide                        3.5 M
 glibc-common                      x86_64                      2.33.9000-2.fc35                       rawhide                        2.1 M
 pcre2                             x86_64                      10.37-1.fc35                           f35-build                      232 k
 pcre2-syntax                      noarch                      10.37-1.fc35                           f35-build                      143 k
Skipping packages with broken dependencies:
 glibc                             i686                        2.33.9000-2.fc35                       rawhide                        3.3 M
 libselinux                        i686                        3.2-2.fc35                             rawhide                         89 k
 pcre2                             i686                        10.36-4.fc35                           rawhide                        230 k
 pcre2-devel                       x86_64                      10.37-1.fc35                           f35-build                      476 k
 pcre2-tools                       x86_64                      10.37-1.fc35                           f35-build                      139 k
 pcre2-utf16                       x86_64                      10.37-1.fc35                           f35-build                      211 k
 pcre2-utf32                       x86_64                      10.37-1.fc35                           f35-build                      201 k
 util-linux                        i686                        2.37-2.fc35                            rawhide                        2.3 M

The new libpcre2-posix.so library changed ABI. You need rebuild all packages which depends on 'libpcre2-posix.so.2()(64bit)'. Possibly in a Koji side tag. And probably to perform a bootstrap if you find a circular dependency:

# dnf -q repoquery --enablerepo f35-build --whatrequires 'libpcre2-posix.so.2()(64bit)' --source
carbon-c-relay-3.7.2-1.fc35.src.rpm
haproxy-2.4.0-5.fc35.src.rpm
mariadb-10.5.10-2.fc35.src.rpm
metis-5.1.0-29.fc34.src.rpm
pcre2-10.36-4.fc35.src.rpm
util-linux-2.37-2.fc35.src.rpm   <--- This one is in a minimal build root.
xterm-368-1.fc35.src.rpm

Comment 4 Lukas Javorsky 2021-07-12 13:45:07 UTC
PR ready: https://src.fedoraproject.org/rpms/pcre2/pull-request/2#

Mail about the soname bump sent on fedora-devel-list

Comment 5 Petr Pisar 2021-07-14 09:49:32 UTC
Successfully rebuilt in f35-build-side-43569 side-tag:

carbon-c-relay-3.7.2-2.fc35
haproxy-2.4.2-2.fc35
metis-5.1.0-30.fc35
xterm-368-2.fc35

Building:

mariadb-10.5.11-2.fc35

Failed to build:

util-linux-2.37-3.fc35 fails to build for an unrelated bug #1981729.

Comment 6 Petr Pisar 2021-07-15 07:50:39 UTC
util-linux-2.37-5.fc35 fixed bug #1981729 and removed a dependency on pcre2. There is no more need for rebuilding it.

Comment 7 Lukas Javorsky 2021-07-15 14:25:55 UTC
Bodhi update: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7e170522fc

STABLE in Rawhide