FS#73486 - [php-memcached] doesn't work correctly with php 8.1

Attached to Project: Community Packages
Opened by Mathias Rohnstock (mrohnstock) - Monday, 24 January 2022, 17:23 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 07 February 2022, 07:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Just updated my environment from php 8.0.14 to 8.1.2.
php-memcached has an known issue, which leads to the following error message:

Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given

A fix for this got already merged 9th June 2021, but no new release got tagged yet.

Additional info:
* package version(s):
php 8.1.2
php-memcached 3.1.5.r16.gbfb0a66-2

* link to upstream bug report:
https://github.com/php-memcached-dev/php-memcached/issues/484
https://github.com/php-memcached-dev/php-memcached/issues/496

Thanks
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 07 February 2022, 07:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  2022-01-26: A task closure has been requested. Reason for request: 3.1.5.r50.gd3b8ce1 should work with 8.1 - hopefully.
Comment by Mathias Rohnstock (mrohnstock) - Tuesday, 25 January 2022, 07:33 GMT
current master commit (d3b8ce13f13cee3017aa8a00a0cfb2e7709154d8) does work correct.

I used the attached PKGBUILD.
   PKGBUILD (1.3 KiB)
Comment by Pierre Schmitz (Pierre) - Tuesday, 25 January 2022, 18:02 GMT
Thanks for the hint. This project is either dead or they really dislike tagging patch releases. I pushed version 3.1.5.r50.gd3b8ce1 and hope for the best.

Loading...