Skip to content

[1.17.0RC2] ZTS build is broken #17273

@remicollet

Description

@remicollet
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c: In function 'postfork_child':
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:178:3: error: too few arguments to function 'grpc_php_shutdown_completion_queue'
BUILDSTDERR:    grpc_php_shutdown_completion_queue();
BUILDSTDERR:    ^
BUILDSTDERR: In file included from /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:28:0:
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/completion_queue.h:33:6: note: declared here
BUILDSTDERR:  void grpc_php_shutdown_completion_queue(TSRMLS_D);
BUILDSTDERR:       ^
BUILDSTDERR: In file included from /usr/include/php-zts/php/Zend/zend_alloc.h:27:0,
BUILDSTDERR:                  from /usr/include/php-zts/php/Zend/zend.h:252,
BUILDSTDERR:                  from /usr/include/php-zts/php/main/php.h:35,
BUILDSTDERR:                  from /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.h:29,
BUILDSTDERR:                  from /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:19:
BUILDSTDERR: /usr/include/php-zts/php/Zend/../TSRM/TSRM.h:167:18: error: 'tsrm_ls' undeclared (first use in this function)
BUILDSTDERR:  #define TSRMLS_C tsrm_ls
BUILDSTDERR:                   ^
BUILDSTDERR: /usr/include/php-zts/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro 'TSRMLS_C'
BUILDSTDERR:  #define TSRMLS_CC , TSRMLS_C
BUILDSTDERR:                      ^
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:185:28: note: in expansion of macro 'TSRMLS_CC'
BUILDSTDERR:                           1 TSRMLS_CC);
BUILDSTDERR:                             ^
BUILDSTDERR: /usr/include/php-zts/php/Zend/../TSRM/TSRM.h:167:18: note: each undeclared identifier is reported only once for each function it appears in
BUILDSTDERR:  #define TSRMLS_C tsrm_ls
BUILDSTDERR:                   ^
BUILDSTDERR: /usr/include/php-zts/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro 'TSRMLS_C'
BUILDSTDERR:  #define TSRMLS_CC , TSRMLS_C
BUILDSTDERR:                      ^
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:185:28: note: in expansion of macro 'TSRMLS_CC'
BUILDSTDERR:                           1 TSRMLS_CC);
BUILDSTDERR:                             ^
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:190:3: error: too few arguments to function 'grpc_php_init_completion_queue'
BUILDSTDERR:    grpc_php_init_completion_queue();
BUILDSTDERR:    ^
BUILDSTDERR: In file included from /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/php_grpc.c:28:0:
BUILDSTDERR: /builddir/build/BUILD/php-pecl-grpc-1.17.0~RC2/ZTS/src/php/ext/grpc/completion_queue.h:30:6: note: declared here
BUILDSTDERR:  void grpc_php_init_completion_queue(TSRMLS_D);
BUILDSTDERR:       ^
BUILDSTDERR: make: *** [src/php/ext/grpc/php_grpc.lo] Error 1
BUILDSTDERR: make: *** Waiting for unfinished jobs....

Of course, this only affects PHP 5.x

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions