Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-gearman.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php72-armhfp-bb11191f4f75f75fbfed4041cd69969a89b3367b/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-gearman.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php72-php-pecl-gearman-1.1.2-9.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-gearman.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php72-armhfp-bb11191f4f75f75fbfed4041cd69969a89b3367b/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-gearman.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dsrb7A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php72-php-pecl-gearman-1.1.2 + /usr/bin/mkdir -p php72-php-pecl-gearman-1.1.2 + cd php72-php-pecl-gearman-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/gearman-1.1.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + mv gearman-1.1.2 NTS ++ sed -n '/#define PHP_GEARMAN_VERSION/{s/.* "//;s/".*$//;p}' NTS/php_gearman.h + extver=1.1.2 + test x1.1.2 '!=' x1.1.2 + cat + find NTS -type f -exec chmod -x '{}' ';' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YM0uAl + umask 022 + cd /builddir/build/BUILD + cd php72-php-pecl-gearman-1.1.2 + cd NTS + /opt/rh/php72/root/usr/bin/phpize Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php72/root/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php72/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php72/root/usr --exec-prefix=/opt/rh/php72/root/usr --bindir=/opt/rh/php72/root/usr/bin --sbindir=/opt/rh/php72/root/usr/sbin --sysconfdir=/etc/opt/rh/php72 --datadir=/opt/rh/php72/root/usr/share --includedir=/opt/rh/php72/root/usr/include --libdir=/opt/rh/php72/root/usr/lib --libexecdir=/opt/rh/php72/root/usr/libexec --localstatedir=/var/opt/rh/php72 --sharedstatedir=/var/opt/rh/php72/lib --mandir=/opt/rh/php72/root/usr/share/man --infodir=/opt/rh/php72/root/usr/share/info --with-php-config=/opt/rh/php72/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/php72/root/usr checking for PHP includes... -I/opt/rh/php72/root/usr/include/php -I/opt/rh/php72/root/usr/include/php/main -I/opt/rh/php72/root/usr/include/php/TSRM -I/opt/rh/php72/root/usr/include/php/Zend -I/opt/rh/php72/root/usr/include/php/ext -I/opt/rh/php72/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php72/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php72/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable gearman support... yes, shared found in /usr checking for gearman_client_set_context in -lgearman... yes checking for gearman_worker_set_server_option in -lgearman... yes checking for gearman_job_error in -lgearman... yes checking for gearman_client_unique_status in -lgearman... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/include -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/main -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS -I/opt/rh/php72/root/usr/include/php -I/opt/rh/php72/root/usr/include/php/main -I/opt/rh/php72/root/usr/include/php/TSRM -I/opt/rh/php72/root/usr/include/php/Zend -I/opt/rh/php72/root/usr/include/php/ext -I/opt/rh/php72/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c -o php_gearman.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/include -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/main -I/builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS -I/opt/rh/php72/root/usr/include/php -I/opt/rh/php72/root/usr/include/php/main -I/opt/rh/php72/root/usr/include/php/TSRM -I/opt/rh/php72/root/usr/include/php/Zend -I/opt/rh/php72/root/usr/include/php/ext -I/opt/rh/php72/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c -fPIC -DPIC -o .libs/php_gearman.o In file included from /opt/rh/php72/root/usr/include/php/Zend/zend.h:328:0, from /opt/rh/php72/root/usr/include/php/main/php.h:35, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php72/root/usr/include/php/Zend/zend_operators.h:446:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php72/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php72/root/usr/include/php/Zend/zend_operators.h:500:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1011:2: error: unknown type name 'zend_object_value' zend_object_value value; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function '_php_task_free': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1118:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1118:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1118:3: warning: implicit declaration of function 'FREE_ZVAL' [-Wimplicit-function-declaration] /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1119:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zworkload) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1119:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zworkload) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_version': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1133:44: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_version(), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1133:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_version(), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1133:2: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_bugreport': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1140:46: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_bugreport(), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1140:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_bugreport(), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_verbose_name': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1154:56: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_verbose_name(verbose), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1154:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_verbose_name(verbose), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_return_code': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1262:2: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1262:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_function_name': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1287:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1289:65: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_task_function_name(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1289:3: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_task_function_name(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_unique': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1300:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1302:58: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_task_unique(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1302:3: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_task_unique(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_job_handle': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1313:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1315:62: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_task_job_handle(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1315:3: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_task_job_handle(obj->task), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_is_known': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1326:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_is_running': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1340:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_numerator': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1354:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_denominator': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1368:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_data': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1385:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1391:50: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)data, (long) data_len, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1391:3: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)data, (long) data_len, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1383:9: warning: variable 'data_len' set but not used [-Wunused-but-set-variable] size_t data_len; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1382:17: warning: variable 'data' set but not used [-Wunused-but-set-variable] const uint8_t *data; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_data_size': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1403:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_task_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_send_workload': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1420:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_task_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_task_recv_data': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1450:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_job_ce, &data_buffer_size) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1469:9: error: too many arguments to function 'add_next_index_stringl' (long)data_len, 0); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:451:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_return_code': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1483:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_data': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1496:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_job_ce, &data, &data_len) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_warning': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1522:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_job_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_status': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1550:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ll", &zobj, gearman_job_ce, &numerator, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_complete': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1573:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_job_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_exception': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1595:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_job_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_send_fail': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1615:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_handle': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1634:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1636:55: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_job_handle(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1636:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_job_handle(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1637:1: error: expected ';' before '}' token } ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1632:19: warning: variable 'obj' set but not used [-Wunused-but-set-variable] gearman_job_obj *obj; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_unique': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1646:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1648:55: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_job_unique(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1648:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_job_unique(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1649:1: error: expected ';' before '}' token } ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1644:19: warning: variable 'obj' set but not used [-Wunused-but-set-variable] gearman_job_obj *obj; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_function_name': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1658:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1660:62: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_job_function_name(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1660:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_job_function_name(obj->job), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1661:1: error: expected ';' before '}' token } ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1656:19: warning: variable 'obj' set but not used [-Wunused-but-set-variable] gearman_job_obj *obj; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_workload': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1672:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1677:57: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)workload, (long) workload_len, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1677:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)workload, (long) workload_len, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1670:9: warning: variable 'workload_len' set but not used [-Wunused-but-set-variable] size_t workload_len; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1669:17: warning: variable 'workload' set but not used [-Wunused-but-set-variable] const uint8_t *workload; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_workload_size': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1688:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_job_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_job_set_return': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1704:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_job_ce, &ret_val) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_return_code': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1729:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_create': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1739:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1741:8: warning: assignment makes pointer from integer without a cast [enabled by default] client= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_clone': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1767:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1769:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1771:5: warning: assignment makes pointer from integer without a cast [enabled by default] new= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_error': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1791:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1794:28: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(error, 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1794:6: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(error, 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1795:5: error: expected ';' before '}' token } ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_errno': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1806:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1818:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1831:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_client_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1845:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_client_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_remove_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1859:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_client_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_timeout': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1872:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_timeout': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1885:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_client_ce, &timeout) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_server': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1901:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "|sl", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_servers': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1927:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "|sl", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_wait': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1951:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_normal': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1985:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2003:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2003:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_high': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2030:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2049:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2049:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_low': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2067:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2086:54: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2086:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)result, (long) result_size, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_job_handle': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2097:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2099:71: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING((char *)gearman_client_do_job_handle(&(obj->client)), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2099:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING((char *)gearman_client_do_job_handle(&(obj->client)), 1) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2100:1: error: expected ';' before '}' token } ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2095:22: warning: variable 'obj' set but not used [-Wunused-but-set-variable] gearman_client_obj *obj; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_status': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2111:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2134:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2156:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2156:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_high_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2173:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2195:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2195:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_do_low_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2212:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "ss|s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2233:29: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2233:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(job_handle, 0); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_job_status': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2249:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_job_status_by_unique_key': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2276:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_ping': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2303:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2342:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2347:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2349:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_high': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2396:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2401:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2403:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_low': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2449:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2454:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2456:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2502:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2507:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2509:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_high_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2555:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2560:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2562:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_low_background': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2609:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "sz|zs", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2614:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2616:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_add_task_status': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2664:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s|z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2668:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2670:6: warning: assignment makes pointer from integer without a cast [enabled by default] task= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function '_php_task_cb_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2710:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(ztask) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2711:2: error: expected ';' before 'if' if (task->flags & GEARMAN_TASK_OBJ_DEAD) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2741:5: error: 'zend_fcall_info' has no member named 'function_table' fci.function_table= EG(function_table); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2742:19: error: incompatible types when assigning to type 'zval' from type 'struct zval *' fci.function_name= zcall; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2743:5: error: 'zend_fcall_info' has no member named 'symbol_table' fci.symbol_table= NULL; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2744:5: error: 'zend_fcall_info' has no member named 'retval_ptr_ptr' fci.retval_ptr_ptr= &zret_ptr; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2745:12: warning: assignment from incompatible pointer type [enabled by default] fci.params= argv; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2752:5: error: 'zend_fcall_info' has no member named 'object_ptr' fci.object_ptr= NULL; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2764:18: error: lvalue required as left operand of assignment Z_TYPE_P(ztask)= IS_NULL; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2766:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(ztask) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2766:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(ztask) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2777:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zret_ptr); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2777:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zret_ptr); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2705:20: warning: unused variable 'new_obj' [-Wunused-variable] gearman_task_obj *new_obj; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_workload_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2856:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2860:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zworkload_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_created_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2887:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2891:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zcreated_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_data_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2918:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2922:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zdata_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_warning_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2949:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2953:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zwarning_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_status_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2980:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:2984:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zstatus_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_complete_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3011:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3015:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zcomplete_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_exception_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3042:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3046:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zexception_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_fail_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3073:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "z", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3077:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (! GEARMAN_IS_CALLABLE(zfail_fn, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_clear_fn': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3102:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3106:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zworkload_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3106:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zworkload_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3108:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zcreated_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3108:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zcreated_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3110:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zdata_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3110:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zdata_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3112:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zwarning_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3112:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zwarning_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3114:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zstatus_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3114:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zstatus_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3116:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zcomplete_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3116:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zcomplete_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3118:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zexception_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3118:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zexception_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3120:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zfail_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3120:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(obj->zfail_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_context': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3134:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3138:53: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL((char *)data, (long) sizeof(data), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3138:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL((char *)data, (long) sizeof(data), 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3132:17: warning: variable 'data' set but not used [-Wunused-but-set-variable] const uint8_t *data; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_set_context': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3151:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_client_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_client_run_tasks': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3165:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_client_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_return_code': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3190:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_create': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3200:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3202:8: warning: assignment makes pointer from integer without a cast [enabled by default] worker= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_clone': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3224:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3226:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3228:5: warning: assignment makes pointer from integer without a cast [enabled by default] new= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_error': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3248:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3252:35: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(error, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3252:13: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(error, 1); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_errno': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3265:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3277:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_set_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3290:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_worker_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_add_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3304:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_worker_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_remove_options': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3318:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_worker_ce, &options) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_timeout': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3331:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_set_timeout': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3344:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "l", &zobj, gearman_worker_ce, &timeout) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_set_id': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3359:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_worker_ce, &id, &id_len) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_add_server': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3378:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "|sl", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_add_servers': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3404:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "|sl", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_wait': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3428:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_register': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3454:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s|l", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_unregister': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3476:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_unregister_all': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3496:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_grab_job': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3516:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3518:24: error: lvalue required as left operand of assignment Z_TYPE_P(return_value)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3520:5: warning: assignment makes pointer from integer without a cast [enabled by default] job= zend_object_store_get_object(return_value TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function '_php_worker_function_callback': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3554:16: error: lvalue required as left operand of assignment Z_TYPE_P(zjob)= IS_OBJECT; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3556:6: warning: assignment makes pointer from integer without a cast [enabled by default] jobj= zend_object_store_get_object(zjob TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3568:5: error: 'zend_fcall_info' has no member named 'function_table' fci.function_table= EG(function_table); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3569:19: error: incompatible types when assigning to type 'zval' from type 'struct zval *' fci.function_name= worker_cb->zcall; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3570:5: error: 'zend_fcall_info' has no member named 'symbol_table' fci.symbol_table= NULL; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3571:5: error: 'zend_fcall_info' has no member named 'retval_ptr_ptr' fci.retval_ptr_ptr= &zret_ptr; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3572:12: warning: assignment from incompatible pointer type [enabled by default] fci.params= argv; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3577:5: error: 'zend_fcall_info' has no member named 'object_ptr' fci.object_ptr= NULL; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3585:35: error: request for member 'val' in something not a structure or union worker_cb->zcall->value.str.val ? ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3586:35: error: request for member 'val' in something not a structure or union worker_cb->zcall->value.str.val : "[undefined]"); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php72/root/usr/include/php/main/php.h:35, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_types.h:596:31: error: 'zend_object' has no member named 'value' #define Z_OBJ(zval) (zval).value.obj ^ /opt/rh/php72/root/usr/include/php/Zend/zend_types.h:608:27: note: in expansion of macro 'Z_OBJ' #define Z_OBJCE(zval) (Z_OBJ(zval)->ce) ^ /opt/rh/php72/root/usr/include/php/Zend/zend_types.h:609:29: note: in expansion of macro 'Z_OBJCE' #define Z_OBJCE_P(zval_p) Z_OBJCE(*(zval_p)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3594:32: note: in expansion of macro 'Z_OBJCE_P' message = zend_read_property(Z_OBJCE_P(EG(exception)), EG(exception), "message", sizeof("message") - 1, 1 TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3594:3: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [enabled by default] message = zend_read_property(Z_OBJCE_P(EG(exception)), EG(exception), "message", sizeof("message") - 1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:373:16: note: expected 'struct zval *' but argument is of type 'struct zend_object *' ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3594:3: error: too few arguments to function 'zend_read_property' message = zend_read_property(Z_OBJCE_P(EG(exception)), EG(exception), "message", sizeof("message") - 1, 1 TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:373:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3614:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zret_ptr); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3614:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zret_ptr); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3617:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zjob); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3617:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(zjob); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_add_function': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3637:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "zz|zl", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3648:2: warning: passing argument 3 of 'zend_is_callable' from incompatible pointer type [enabled by default] if (!GEARMAN_IS_CALLABLE(zcall, 0, &callable)) { ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:329:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3675:72: error: request for member 'val' in something not a structure or union obj->ret= gearman_worker_add_function(&(obj->worker), zname->value.str.val, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_work': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3695:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "", &zobj, gearman_worker_ce) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zif_gearman_worker_echo': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1068:6: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(zobj TSRMLS_CC); \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3722:2: note: in expansion of macro 'GEARMAN_ZPMP' GEARMAN_ZPMP(RETURN_NULL(), "s", &zobj, gearman_worker_ce, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zim_gearman_client___construct': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3744:5: warning: assignment makes pointer from integer without a cast [enabled by default] obj= zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_client_obj_free': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3765:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zworkload_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3765:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zworkload_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3766:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zcreated_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3766:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zcreated_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3767:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zdata_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3767:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zdata_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3768:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zwarning_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3768:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zwarning_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3769:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zstatus_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3769:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zstatus_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3770:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zcomplete_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3770:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zcomplete_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3771:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zexception_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3771:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zexception_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3772:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zfail_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3772:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(client->zfail_fn) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3779:1: error: unknown type name 'zend_object_value' gearman_client_obj_new_ex(zend_class_entry *class_type, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_client_obj_new_ex': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3783:2: error: unknown type name 'zend_object_value' zend_object_value value; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3805:7: error: request for member 'handle' in something not a structure or union value.handle= zend_objects_store_put(client, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3806:7: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3806:33: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3808:7: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: expected 'struct zend_object *' but argument is of type 'struct gearman_client_obj *' ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3808:7: error: too many arguments to function 'zend_objects_store_put' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3810:7: error: request for member 'handlers' in something not a structure or union value.handlers= &gearman_client_obj_handlers; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3815:1: error: unknown type name 'zend_object_value' gearman_client_obj_new(zend_class_entry *class_type TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zim_gearman_worker___construct': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3826:8: warning: assignment makes pointer from integer without a cast [enabled by default] worker= zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_worker_obj_free': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3848:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zname) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3848:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zname) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3849:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zcall) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3849:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zcall) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3850:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3850:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(worker->cb_list->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3860:1: error: unknown type name 'zend_object_value' gearman_worker_obj_new_ex(zend_class_entry *class_type, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_worker_obj_new_ex': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3863:2: error: unknown type name 'zend_object_value' zend_object_value value; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3885:7: error: request for member 'handle' in something not a structure or union value.handle= zend_objects_store_put(worker, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3886:7: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3886:33: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3888:7: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: expected 'struct zend_object *' but argument is of type 'struct gearman_worker_obj *' ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3888:7: error: too many arguments to function 'zend_objects_store_put' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3890:7: error: request for member 'handlers' in something not a structure or union value.handlers= &gearman_worker_obj_handlers; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3895:1: error: unknown type name 'zend_object_value' gearman_worker_obj_new(zend_class_entry *class_type TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_job_obj_free': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3910:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(job->worker) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3910:2: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(job->worker) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3924:1: error: unknown type name 'zend_object_value' gearman_job_obj_new_ex(zend_class_entry *class_type, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_job_obj_new_ex': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3927:2: error: unknown type name 'zend_object_value' zend_object_value value; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3949:7: error: request for member 'handle' in something not a structure or union value.handle= zend_objects_store_put(job, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3950:7: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3950:33: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3952:6: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: expected 'struct zend_object *' but argument is of type 'struct gearman_job_obj *' ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3952:6: error: too many arguments to function 'zend_objects_store_put' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3954:7: error: request for member 'handlers' in something not a structure or union value.handlers= &gearman_job_obj_handlers; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3960:1: error: unknown type name 'zend_object_value' gearman_job_obj_new(zend_class_entry *class_type TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_task_obj_free': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3975:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zclient) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3975:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zclient) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3982:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zworkload) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3982:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zworkload) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:42:7: error: 'zval' has no member named 'refcount' ((zv)->refcount == 1 && \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3983:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:44:59: error: request for member 'bucket' in something not a structure or union (EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj.refcount) == 1)) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:1073:9: note: in expansion of macro 'READY_TO_DESTROY' if (READY_TO_DESTROY(__zval)) { \ ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3983:3: note: in expansion of macro 'GEARMAN_ZVAL_DONE' GEARMAN_ZVAL_DONE(task->zdata) ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3989:1: error: unknown type name 'zend_object_value' gearman_task_obj_new_ex(zend_class_entry *class_type, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'gearman_task_obj_new_ex': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4013:13: error: request for member 'handle' in something not a structure or union task->value.handle= zend_objects_store_put(task, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4014:7: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4014:33: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4016:7: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: expected 'struct zend_object *' but argument is of type 'struct gearman_task_obj *' ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4016:7: error: too many arguments to function 'zend_objects_store_put' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/Zend/zend_globals.h:35:0, from /opt/rh/php72/root/usr/include/php/Zend/zend_compile.h:702, from /opt/rh/php72/root/usr/include/php/Zend/zend_modules.h:26, from /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:27, from /opt/rh/php72/root/usr/include/php/main/php.h:39, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_objects_API.h:59:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4018:13: error: request for member 'handlers' in something not a structure or union task->value.handlers= &gearman_task_obj_handlers; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4024:1: error: unknown type name 'zend_object_value' gearman_task_obj_new(zend_class_entry *class_type TSRMLS_DC) { ^ RPM build errors: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: In function 'zm_startup_gearman': /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4436:18: warning: assignment from incompatible pointer type [enabled by default] ce.create_object= gearman_client_obj_new; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4438:3: error: too many arguments to function 'zend_register_internal_class_ex' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:303:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4444:18: warning: assignment from incompatible pointer type [enabled by default] ce.create_object= gearman_task_obj_new; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4446:3: error: too many arguments to function 'zend_register_internal_class_ex' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:303:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4452:18: warning: assignment from incompatible pointer type [enabled by default] ce.create_object= gearman_worker_obj_new; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4454:3: error: too many arguments to function 'zend_register_internal_class_ex' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:303:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4460:18: warning: assignment from incompatible pointer type [enabled by default] ce.create_object= gearman_job_obj_new; ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4462:3: error: too many arguments to function 'zend_register_internal_class_ex' NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:303:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:4469:2: error: too many arguments to function 'zend_register_internal_class_ex' gearman_exception_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC); ^ In file included from /opt/rh/php72/root/usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:16: /opt/rh/php72/root/usr/include/php/Zend/zend_API.h:303:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c: At top level: /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3758:13: warning: 'gearman_client_obj_free' defined but not used [-Wunused-function] static void gearman_client_obj_free(void *object TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3838:13: warning: 'gearman_worker_obj_free' defined but not used [-Wunused-function] static void gearman_worker_obj_free(void *object TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3903:13: warning: 'gearman_job_obj_free' defined but not used [-Wunused-function] static void gearman_job_obj_free(void *object TSRMLS_DC) { ^ /builddir/build/BUILD/php72-php-pecl-gearman-1.1.2/NTS/php_gearman.c:3968:13: warning: 'gearman_task_obj_free' defined but not used [-Wunused-function] static void gearman_task_obj_free(void *object TSRMLS_DC) { ^ make: *** [php_gearman.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.YM0uAl (%build) Bad exit status from /var/tmp/rpm-tmp.YM0uAl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-gearman.spec