[Pkg-php-pecl] Bug#888880: php-solr FTBFS with PHP 7.2: error: 'ZEND_ACC_CLONE' undeclared here
Adrian Bunk
bunk at debian.org
Tue Jan 30 20:29:31 UTC 2018
Source: php-solr
Version: 2.4.0-4
Severity: serious
Tags: buster sid
https://buildd.debian.org/status/package.php?p=php-solr&suite=sid
...
In file included from /usr/include/php/20170718/main/php.h:40:0,
from /<<PKGBUILDDIR>>/build-7.2/src/php7/php_solr.h:28,
from /<<PKGBUILDDIR>>/build-7.2/src/php7/php_solr.c:23:
/<<PKGBUILDDIR>>/build-7.2/src/php7/php_solr.c:560:56: error: 'ZEND_ACC_CLONE' undeclared here (not in a function); did you mean 'ZEND_AST_CLONE'?
PHP_ME(SolrDocument, __clone, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CLONE)
^
/usr/include/php/20170718/Zend/zend_API.h:70:157: note: in definition of macro 'ZEND_FENTRY'
#define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^~~~~
/usr/include/php/20170718/main/php.h:423:25: note: in expansion of macro 'ZEND_ME'
#define PHP_ME ZEND_ME
^~~~~~~
/<<PKGBUILDDIR>>/build-7.2/src/php7/php_solr.c:560:2: note: in expansion of macro 'PHP_ME'
PHP_ME(SolrDocument, __clone, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CLONE)
^~~~~~
More information about the Pkg-php-pecl
mailing list