Bug 257130 - databases/pecl-memcached: If it is php80, a warning will be displayed
Summary: databases/pecl-memcached: If it is php80, a warning will be displayed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 08:43 UTC by townwear
Modified: 2021-07-21 18:24 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description townwear 2021-07-12 08:43:38 UTC
Hi!

With php74-7.4.21 and php74-pecl-memcached-3.1.5, no warning will be displayed.
$ php
$ 

If it is php80-8.0.8 and php80-pecl-memcached-3.1.5, a warning will be displayed.
$ php
PHP Warning:  Missing arginfo for MemcachedServer::run() in Unknown on line 0

Warning: Missing arginfo for MemcachedServer::run() in Unknown on line 0
PHP Warning:  Missing arginfo for MemcachedServer::on() in Unknown on line 0

Warning: Missing arginfo for MemcachedServer::on() in Unknown on line 0
$ 


OS: Both OS versions are FreeBSD 13.0-RELEASE-p3.

Thanks!
Comment 1 commit-hook freebsd_committer 2021-07-21 18:15:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d01cdda4513e2d77eeb6f0be051ddd4b0e80546

commit 6d01cdda4513e2d77eeb6f0be051ddd4b0e80546
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-21 17:54:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-21 18:12:12 +0000

    databases/pecl-memcached: Update to latest snapshot (058e9f5)

    - Fix PHP 8.0 arginfo
    - Bump PORTREVISION for package change

    The main corresponding commits for arginfo are [1], [2] and [3].

    PR:             257130
    Reported by:    <townwear@gmail.com>
    Reference:      https://github.com/php-memcached-dev/php-memcached/commit/e8f53777d3f578586f2a32f1b3bdcc3f53e74b39 [1]
                    https://github.com/php-memcached-dev/php-memcached/commit/8f3c5dc0fa773aded5d169e5c5b8eab18c8931c6 [2]
                    https://github.com/php-memcached-dev/php-memcached/commit/c8f9376a8b1399907e732064890101da7261d8bb [3]

 databases/pecl-memcached/Makefile                          |  6 ++++++
 databases/pecl-memcached/distinfo                          |  6 +++---
 .../files/patch-php_memcached_server.c (gone)              | 14 --------------
 3 files changed, 9 insertions(+), 17 deletions(-)
Comment 2 Po-Chuan Hsieh freebsd_committer 2021-07-21 18:24:46 UTC
Committed. Thanks!