From owner-freebsd-ports-bugs@freebsd.org Mon Oct 26 20:40:14 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BEB0544DBDE for ; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CKmtQ4kmZz3TMJ for ; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A278B44E243; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A23B544DBDD for ; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CKmtQ3wdWz3TMH for ; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A2301FEF1 for ; Mon, 26 Oct 2020 20:40:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09QKeEQn011179 for ; Mon, 26 Oct 2020 20:40:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09QKeEwH011178 for ports-bugs@FreeBSD.org; Mon, 26 Oct 2020 20:40:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250654] databases/pecl-memcache php80 compile error Date: Mon, 26 Oct 2020 20:40:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2020 20:40:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250654 Bug ID: 250654 Summary: databases/pecl-memcache php80 compile error Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: xxjack12xx@gmail.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Compile error when trying to build with php80 /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:43:2: error: expected '}' ZEND_ARG_PASS_INFO(0) ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:41:1: note: to match this '{' ZEND_BEGIN_ARG_INFO(arginfo_memcache_get, 1) ^ /usr/local/include/php/Zend/zend_API.h:171:2: note: expanded from macro 'ZEND_BEGIN_ARG_INFO' ZEND_BEGIN_ARG_INFO_EX(name, {}, ZEND_RETURN_VALUE, -1) ^ /usr/local/include/php/Zend/zend_API.h:168:47: note: expanded from macro 'ZEND_BEGIN_ARG_INFO_EX' static const zend_internal_arg_info name[] =3D { \ ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:50:2: error: expected '}' ZEND_ARG_PASS_INFO(1) ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:48:1: note: to match this '{' ZEND_BEGIN_ARG_INFO(arginfo_memcache_object_get, 1) ^ /usr/local/include/php/Zend/zend_API.h:171:2: note: expanded from macro 'ZEND_BEGIN_ARG_INFO' ZEND_BEGIN_ARG_INFO_EX(name, {}, ZEND_RETURN_VALUE, -1) ^ /usr/local/include/php/Zend/zend_API.h:168:47: note: expanded from macro 'ZEND_BEGIN_ARG_INFO_EX' static const zend_internal_arg_info name[] =3D { \ ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:68:2: error: invalid application of 'sizeof' to an incomplete type 'const zend_internal_arg_info []' PHP_FE(memcache_get,=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 arginfo_memcache_get) =20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ /usr/local/include/php/main/php.h:384:18: note: expanded from macro 'PHP_FE' #define PHP_FE ZEND_FE ^ /usr/local/include/php/Zend/zend_API.h:83:38: note: expanded from macro 'ZEND_FE' #define ZEND_FE(name, arg_info)=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:77:108: note: expanded from macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, na= me, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^~~~~~~~~~ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:96:2: error: invalid application of 'sizeof' to an incomplete type 'const zend_internal_arg_info []' PHP_FALIAS(get, memcache_ge= t,=20=20 arginfo_memcache_object_get) =20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/main/php.h:386:21: note: expanded from macro 'PHP_FALIAS' #define PHP_FALIAS ZEND_FALIAS ^ /usr/local/include/php/Zend/zend_API.h:85:46: note: expanded from macro 'ZEND_FALIAS' #define ZEND_FALIAS(name, alias, arg_info)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 ZEND_RAW_FENTRY(#name, zif_##alias, arg_info, 0) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:77:108: note: expanded from macro 'ZEND_RAW_FENTRY' #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, na= me, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^~~~~~~~~~ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:272:27: error: expected ')' php_error_docref(NULL TSRMLS_CC, E_WARNING, "memcache.session_prefix_static_key cannot have dot inside (.)"); ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:272:21: note: to match this '(' php_error_docref(NULL TSRMLS_CC, E_WARNING, "memcache.session_prefix_static_key cannot have dot inside (.)"); ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:461:58: error: use of undeclared identifier 'TSRMLS_C' MEMCACHE_G(session_key_prefix) =3D get_session_key_prefix(TSRMLS_C); ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:1021:52: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_str= uct *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zval *username =3D zend_read_property(memcache_ce, mmc_obje= ct, "username", strlen("username"), 1, &rv1); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:404:73: note: passing argument to parameter 'object' here ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *obj= ect, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:1022:52: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_str= uct *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zval *password =3D zend_read_property(memcache_ce, mmc_obje= ct, "password", strlen("password"), 1, &rv2); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:404:73: note: passing argument to parameter 'object' here ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *obj= ect, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:2244:49: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_str= uct *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zend_update_property_stringl(memcache_pool_ce, mmc_object, "usernam= e", strlen("username"), user, user_length); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:391:82: note: passing argument to parameter 'object' here ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zend_ob= ject *object, const char *name, size_t name_length, const char *value, size_t value_length); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2/php7= /memcache.c:2245:49: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_str= uct *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zend_update_property_stringl(memcache_pool_ce, mmc_object, "passwor= d", strlen("password"), password, password_length); ^~~~~~~~~~ /usr/local/include/php/Zend/zend_API.h:391:82: note: passing argument to parameter 'object' here ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zend_ob= ject *object, const char *name, size_t name_length, const char *value, size_t value_length); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ 4 warnings and 6 errors generated. *** [php7/memcache.lo] Error code 1 make[2]: stopped in /usr/obj/usr/ports/databases/pecl-memcache/work-php80/memcache-4.0.5.2 1 error --=20 You are receiving this mail because: You are the assignee for the bug.=