remicollet / remirepo

Issue tracker for
https://rpms.remirepo.net/
278 stars 53 forks source link

Libpcre2-8 package issues on Rocky Linux 9 #235

Closed jshwhitlow closed 1 year ago

jshwhitlow commented 1 year ago

If you want to read what lead me to believe this was an issue with a package, you can read my full explanation here.

It was suggested that I raise an issue with the package maintainer.

I have the same issue as listed here (except I'm running PHP 8.1.8, not 7.4): https://bugs.php.net/bug.php?id=81640

The solve was to update the Libpcre2-8 package, however, there are no available updates for me to install against that package from the Remi Repo. I am on version 10.40 for the pcre2 package.

I installed from this repo: http://rpms.remirepo.net/enterprise/remi-release-9.rpm

jshwhitlow commented 1 year ago

Well, seemingly an extremely recent patch to one of the packages this week fixed it. I ran an update just now and had several updates to install. The package in question wasn't one of them, but one of them fixed the problem.

Not sure which package, but it was one of these:

image
remicollet commented 1 year ago

Yes known issue when PHP is built using 10.40 (from EL-9.1) and run with 10.37 (in EL-9.0)

Full system update solves this.

For memory

$ rpm -qp --requires php-common-8.1.19-1.el9.remi.x86_64.rpm 
...
pcre2(x86-64) >= 10.40
...

So this dependency ensure proper version is used. So only outdated version are affected (and such config cannot be supported)