Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-phk.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_php73-armhfp-787726e14ee72c5720e82e2ab57bb104bb5ea568/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-phk.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/php73-php-pecl-phk-3.0.1-3.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-phk.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_php73-armhfp-787726e14ee72c5720e82e2ab57bb104bb5ea568/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-phk.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.S7rLOc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-phk-3.0.1 + /usr/bin/mkdir -p php73-php-pecl-phk-3.0.1 + cd php73-php-pecl-phk-3.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/phk-3.0.1.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv phk-3.0.1 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_PHK_VERSION/{s/.* "//;s/".*$//;p}' php_phk.h + extver=3.0.1 + test x3.0.1 '!=' x3.0.1 + cd .. + cat + tee 40-phk.ini ; Enable 'Accelerator for Automap and PHK' extension module extension=phk.so Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rIAKPc + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-phk-3.0.1 + cd NTS + peclbuild php + /opt/rh/php73/root/usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + 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/php73/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/php73/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/php73/root/usr --exec-prefix=/opt/rh/php73/root/usr --bindir=/opt/rh/php73/root/usr/bin --sbindir=/opt/rh/php73/root/usr/sbin --sysconfdir=/etc/opt/rh/php73 --datadir=/opt/rh/php73/root/usr/share --includedir=/opt/rh/php73/root/usr/include --libdir=/opt/rh/php73/root/usr/lib --libexecdir=/opt/rh/php73/root/usr/libexec --localstatedir=/var/opt/rh/php73 --sharedstatedir=/var/opt/rh/php73/lib --mandir=/opt/rh/php73/root/usr/share/man --infodir=/opt/rh/php73/root/usr/share/info --with-php-config=/opt/rh/php73/root/usr/bin/php-config --with-libdir=lib --enable-phk 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/php73/root/usr checking for PHP includes... -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php73/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php73/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no checking for gawk... gawk configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking whether to enable the PHK accelerator... yes, shared 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/php73-php-pecl-phk-3.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/include -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/main -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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 -c /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c -o php_phk.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/include -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/main -I/builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/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 -c /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c -fPIC -DPIC -o .libs/php_phk.o In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498: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/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_decref': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:67:37: error: 'zval' has no member named 'is_ref' #define Z_UNSET_ISREF_P(_zp) { (_zp)->is_ref=0; } ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:257:27: note: in expansion of macro 'Z_UNSET_ISREF_P' if (Z_REFCOUNT_P(zp)<=1) Z_UNSET_ISREF_P(zp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_pezval_dtor': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:99:33: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function) #define IS_CONSTANT_TYPE_MASK (~IS_CONSTANT_INDEX) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:266:26: note: in expansion of macro 'IS_CONSTANT_TYPE_MASK' switch (Z_TYPE_P(zp) & IS_CONSTANT_TYPE_MASK) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:99:33: note: each undeclared identifier is reported only once for each function it appears in #define IS_CONSTANT_TYPE_MASK (~IS_CONSTANT_INDEX) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:266:26: note: in expansion of macro 'IS_CONSTANT_TYPE_MASK' switch (Z_TYPE_P(zp) & IS_CONSTANT_TYPE_MASK) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:268:10: error: 'IS_CONSTANT' undeclared (first use in this function) case IS_CONSTANT: ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:281:2: warning: implicit declaration of function 'INIT_ZVAL' [-Wimplicit-function-declaration] INIT_ZVAL(*zp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_pezval_ptr_dtor': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:299:4: warning: implicit declaration of function 'Z_REFCOUNT_PP' [-Wimplicit-function-declaration] if (Z_REFCOUNT_PP(zpp) == 0) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:305:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(zpp); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:35:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_persistent_array_init': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:324:2: warning: implicit declaration of function 'INIT_PZVAL' [-Wimplicit-function-declaration] INIT_PZVAL(zp); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:278:14: error: lvalue required as left operand of assignment Z_TYPE_P(zp)=IS_ARRAY; \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:325:2: note: in expansion of macro 'ZVAL_ARRAY' ZVAL_ARRAY(zp, htp); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_persist_zval': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:350:9: error: 'IS_CONSTANT' undeclared (first use in this function) case IS_CONSTANT: ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:353:32: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ztp, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:353:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ztp, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:361:8: error: too many arguments to function 'zend_hash_copy' NULL, sizeof(zval *)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:241:30: note: declared here ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:362:19: error: lvalue required as left operand of assignment Z_TYPE_P(ztp) = type; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:342:8: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_new_instance': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:388:8: warning: passing argument 1 of 'zend_lookup_class_ex' from incompatible pointer type [enabled by default] , 1, &ce TSRMLS_CC) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_execute.h:44:28: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, const zval *key, int use_autoload); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:388:8: warning: passing argument 2 of 'zend_lookup_class_ex' makes pointer from integer without a cast [enabled by default] , 1, &ce TSRMLS_CC) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_execute.h:44:28: note: expected 'const struct zval *' but argument is of type 'int' ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, const zval *key, int use_autoload); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:388:8: warning: passing argument 3 of 'zend_lookup_class_ex' makes integer from pointer without a cast [enabled by default] , 1, &ce TSRMLS_CC) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_execute.h:44:28: note: expected 'int' but argument is of type 'void *' ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, const zval *key, int use_autoload); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:388:8: error: too many arguments to function 'zend_lookup_class_ex' , 1, &ce TSRMLS_CC) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_execute.h:44:28: note: declared here ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, const zval *key, int use_autoload); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:388:28: warning: comparison between pointer and integer [enabled by default] , 1, &ce TSRMLS_CC) == FAILURE) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:392:2: warning: implicit declaration of function 'ALLOC_INIT_ZVAL' [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(instance); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_call_user_function': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:516:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(func_zp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:517:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(func_zp,func,func_len,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:517:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(func_zp,func,func_len,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:520:2: warning: passing argument 1 of '_call_user_function_ex' from incompatible pointer type [enabled by default] status=call_user_function(EG(function_table), &obj_zp, func_zp, ret, nb_args, ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:469:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:520:2: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] status=call_user_function(EG(function_table), &obj_zp, func_zp, ret, nb_args, ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:469:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_extension_loaded': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:541:2: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default] status=zend_hash_exists(&module_registry, name, len + 1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:541:2: error: too many arguments to function 'zend_hash_exists' status=zend_hash_exists(&module_registry, name, len + 1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: declared here ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_loadExtension': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:572:20: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zp,p,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:572:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zp,p,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_loadExtensions': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:595:2: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] while (zend_hash_get_current_data_ex(ht, (void **) (&zpp), &pos) == ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:595:2: error: too many arguments to function 'zend_hash_get_current_data_ex' while (zend_hash_get_current_data_ex(ht, (void **) (&zpp), &pos) == ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:598:4: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] ut_loadExtension(Z_STRVAL_PP(zpp),Z_STRLEN_PP(zpp) TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:598:4: warning: implicit declaration of function 'Z_STRLEN_PP' [-Wimplicit-function-declaration] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:598:4: warning: passing argument 1 of 'ut_loadExtension' makes pointer from integer without a cast [enabled by default] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:563:16: note: expected 'char *' but argument is of type 'int' UT_SYMBOL void ut_loadExtension(char *name, int len TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function '_ut_SERVER_element': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:679:2: warning: implicit declaration of function 'zend_hash_quick_find' [-Wimplicit-function-declaration] status=FIND_HKEY(&EG(symbol_table), _SERVER, &array); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:687:2: warning: implicit declaration of function 'Z_ARRVAL_PP' [-Wimplicit-function-declaration] status=zend_hash_quick_find(Z_ARRVAL_PP(array), hkey->string, hkey->len ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_fileSuffix': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:831:29: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:831:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret, "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:846:29: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:848:41: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, p + 1, suffix_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_unserialize_zval': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:868:2: warning: passing argument 1 of 'php_var_unserialize' from incompatible pointer type [enabled by default] if (!php_var_unserialize(&ret,&buffer,buffer+len,&var_hash TSRMLS_CC)) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:46:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35: /opt/rh/php73/root/usr/include/php/ext/standard/php_var.h:43:12: note: expected 'struct zval *' but argument is of type 'struct zval **' PHPAPI int php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_file_get_contents': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:887:67: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3 len=php_stream_copy_to_mem(stream,&contents,PHP_STREAM_COPY_ALL,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:887:6: error: 'php_stream_copy_to_mem' undeclared (first use in this function) len=php_stream_copy_to_mem(stream,&contents,PHP_STREAM_COPY_ALL,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:893:33: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret,contents,len,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:893:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,contents,len,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:881:8: warning: unused variable 'contents' [-Wunused-variable] char *contents; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_htmlspecialchars': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:906:3: warning: passing argument 3 of 'php_escape_html_entities' makes integer from pointer without a cast [enabled by default] ,ENT_COMPAT,NULL TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:47:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35: /opt/rh/php73/root/usr/include/php/ext/standard/html.h:55:21: note: expected 'int' but argument is of type 'PHP_ESCAPE_HTML_ENTITIES_SIZE *' PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:906:3: warning: passing argument 5 of 'php_escape_html_entities' makes pointer from integer without a cast [enabled by default] ,ENT_COMPAT,NULL TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:47:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35: /opt/rh/php73/root/usr/include/php/ext/standard/html.h:55:21: note: expected 'char *' but argument is of type 'int' PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:906:3: error: too many arguments to function 'php_escape_html_entities' ,ENT_COMPAT,NULL TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:47:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35: /opt/rh/php73/root/usr/include/php/ext/standard/html.h:55:21: note: declared here PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags, char *hint_charset); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:905:2: warning: return from incompatible pointer type [enabled by default] return php_escape_html_entities((unsigned char *)src,srclen,retlen,0 ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'ut_pathUniqueID': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1129:4: warning: implicit declaration of function 'zend_get_hash_value' [-Wimplicit-function-declaration] hash=zend_get_hash_value(resolved_path_buff,rlen); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1136:5: warning: implicit declaration of function 'zend_hash_quick_add' [-Wimplicit-function-declaration] zend_hash_quick_add(&_ut_simul_inodes,resolved_path_buff ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1144:27: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING((*mnt), p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1144:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING((*mnt), p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c: In function 'RINIT_utils': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1201:2: warning: passing argument 1 of 'zend_is_auto_global' from incompatible pointer type [enabled by default] (void)zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:828:20: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_bool zend_is_auto_global(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1201:2: error: too many arguments to function 'zend_is_auto_global' (void)zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:828:20: note: declared here ZEND_API zend_bool zend_is_auto_global(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1202:2: warning: passing argument 1 of 'zend_is_auto_global' from incompatible pointer type [enabled by default] (void)zend_is_auto_global("_REQUEST", sizeof("_REQUEST")-1 TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:828:20: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_bool zend_is_auto_global(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1202:2: error: too many arguments to function 'zend_is_auto_global' (void)zend_is_auto_global("_REQUEST", sizeof("_REQUEST")-1 TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:828:20: note: declared here ZEND_API zend_bool zend_is_auto_global(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:37:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Handlers.c: In function 'Automap_callFailureHandlers': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Handlers.c:49:29: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ztype,str,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Handlers.c:49:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ztype,str,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Handlers.c:51:37: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zsymbol,symbol,slen,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Handlers.c:42:7: warning: variable 'str' set but not used [-Wunused-but-set-variable] char str[2]; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c: In function 'zim_Automap_map': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:78:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(map_object); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:64:15: warning: variable 'mp' set but not used [-Wunused-but-set-variable] Automap_Mnt *mp; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c: In function 'Automap_Class_set_constants': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:142:58: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_FUNCTION,"T_FUNCTION"); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:346:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zp,p,1,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:142:2: note: in expansion of macro 'UT_DECLARE_CHAR_CONSTANT' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_FUNCTION,"T_FUNCTION"); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:142:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:142:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_FUNCTION,"T_FUNCTION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:142:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_FUNCTION,"T_FUNCTION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:143:58: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CONSTANT,"T_CONSTANT"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:143:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CONSTANT,"T_CONSTANT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:143:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CONSTANT,"T_CONSTANT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:143:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CONSTANT,"T_CONSTANT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:144:52: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CLASS,"T_CLASS"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:144:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CLASS,"T_CLASS"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:144:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CLASS,"T_CLASS"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:144:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_CLASS,"T_CLASS"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:145:60: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_EXTENSION,"T_EXTENSION"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:145:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_EXTENSION,"T_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:145:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_EXTENSION,"T_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:145:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_T_EXTENSION,"T_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:147:54: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_SCRIPT,"F_SCRIPT"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:147:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_SCRIPT,"F_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:147:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_SCRIPT,"F_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:147:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_SCRIPT,"F_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:148:60: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_EXTENSION,"F_EXTENSION"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:148:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_EXTENSION,"F_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:148:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_EXTENSION,"F_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:148:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_EXTENSION,"F_EXTENSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:149:56: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_PACKAGE,"F_PACKAGE"); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:149:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_PACKAGE,"F_PACKAGE"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:149:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_PACKAGE,"F_PACKAGE"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:149:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_CHAR_CONSTANT(AUTOMAP_F_PACKAGE,"F_PACKAGE"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:151:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_NO_AUTOLOAD,"NO_AUTOLOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:151:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_NO_AUTOLOAD,"NO_AUTOLOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:151:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_NO_AUTOLOAD,"NO_AUTOLOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:152:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:152:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:152:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:153:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_PECL_LOAD,"PECL_LOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:153:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_PECL_LOAD,"PECL_LOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:38:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Class.c:153:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(AUTOMAP_FLAG_PECL_LOAD,"PECL_LOAD"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:39:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Key.c: In function 'Automap_key': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Key.c:38:28: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret,p,len+1,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Key.c:38:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,p,len+1,0); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:40:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Loader.c: In function 'Automap_Loader_register_hook': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Loader.c:49:51: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zp,"Automap\\Mgr::autoloadHook",25,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Loader.c:49:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zp,"Automap\\Mgr::autoloadHook",25,1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:41:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c: In function 'Automap_Mnt_load_extended': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c:110:64: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(mp->zpath,Z_STRVAL_P(zpathp),Z_STRLEN_P(zpathp),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c:110:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(mp->zpath,Z_STRVAL_P(zpathp),Z_STRLEN_P(zpathp),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c: In function 'Automap_Mnt_load': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c:136:33: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zapathp, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c:136:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zapathp, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Mnt.c:123:8: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c: In function 'Automap_Pmap_create_entry': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:55:3: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] EXCEPTION_ABORT_RET_1(ZEND_HASH_APPLY_STOP,"Automap_Pmap_create_entry: Invalid entry (should be an array) %d",Z_TYPE_PP(zpp)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:62:5: warning: assignment makes pointer from integer without a cast [enabled by default] htp=Z_ARRVAL_PP(zpp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:63:2: error: too many arguments to function 'zend_hash_index_find' zend_hash_index_find(htp,0,(void **)(&zitem)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:64:36: error: subscripted value is neither array nor pointer nor vector tmp_entry.stype=Z_STRVAL_PP(zitem)[0]; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:69:50: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(htp,(void **)(&zitem)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:69:2: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(htp,(void **)(&zitem)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:70:2: warning: passing argument 1 of 'ut_duplicate' makes pointer from integer without a cast [enabled by default] p=ut_pduplicate(Z_STRVAL_PP(zitem),Z_STRLEN_PP(zitem)+1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:182:14: note: expected 'void *' but argument is of type 'int' static void *ut_duplicate(void *ptr, size_t size, int persistent) ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:71:57: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(&(tmp_entry.zsname),p,Z_STRLEN_PP(zitem),0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:71:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(&(tmp_entry.zsname),p,Z_STRLEN_PP(zitem),0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:76:50: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(htp,(void **)(&zitem)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:77:36: error: subscripted value is neither array nor pointer nor vector tmp_entry.ftype=Z_STRVAL_PP(zitem)[0]; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:82:50: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(htp,(void **)(&zitem)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:83:2: warning: passing argument 1 of 'ut_duplicate' makes pointer from integer without a cast [enabled by default] p=ut_pduplicate(Z_STRVAL_PP(zitem),Z_STRLEN_PP(zitem)+1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:182:14: note: expected 'void *' but argument is of type 'int' static void *ut_duplicate(void *ptr, size_t size, int persistent) ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:84:58: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(&(tmp_entry.zfapath),p,Z_STRLEN_PP(zitem),0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:91:5: warning: passing argument 1 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] ,Z_STRLEN(zkey)+1,&tmp_entry,sizeof(tmp_entry),NULL); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:91:5: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] ,Z_STRLEN(zkey)+1,&tmp_entry,sizeof(tmp_entry),NULL); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:91:5: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] ,Z_STRLEN(zkey)+1,&tmp_entry,sizeof(tmp_entry),NULL); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:91:5: error: too many arguments to function 'zend_hash_update' ,Z_STRLEN(zkey)+1,&tmp_entry,sizeof(tmp_entry),NULL); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:52:8: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c: In function 'Automap_Pmap_get_or_create_extended': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:278:14: error: lvalue required as left operand of assignment Z_TYPE_P(zp)=IS_ARRAY; \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:223:2: note: in expansion of macro 'ZVAL_ARRAY' ZVAL_ARRAY(tmp_map.zsymbols,htp); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:42:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:231:2: warning: implicit declaration of function 'zend_hash_quick_update' [-Wimplicit-function-declaration] zend_hash_quick_update(&pmap_array, Z_STRVAL_P(zufidp), Z_STRLEN_P(zufidp) + 1 ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c: In function 'Automap_Pmap_exportEntry': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:279:38: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(zp,"stype",str,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:279:2: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(zp,"stype",str,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:280:77: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(zp,"symbol",Z_STRVAL(pep->zsname),Z_STRLEN(pep->zsname),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:282:38: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(zp,"ptype",str,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:283:77: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(zp,"path",Z_STRVAL(pep->zfapath),Z_STRLEN(pep->zfapath),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Pmap.c:273:7: warning: variable 'str' set but not used [-Wunused-but-set-variable] char str[2]; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:43:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c: In function 'zim_Automap_typeToString': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c:45:19: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(p,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c:45:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(p,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c: In function 'zim_Automap_stringToType': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c:76:22: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(c,1,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Type.c:76:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(c,1,1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c: In function 'Automap_symbolIsDefined': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:44:4: warning: passing argument 1 of 'zend_get_constant' from incompatible pointer type [enabled by default] status=zend_get_constant(symbol,slen,&dummy_zp TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:468:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_constants.h:79:16: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval *zend_get_constant(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:44:4: error: too many arguments to function 'zend_get_constant' status=zend_get_constant(symbol,slen,&dummy_zp TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:468:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_constants.h:79:16: note: declared here ZEND_API zval *zend_get_constant(zend_string *name); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:44:10: warning: assignment makes integer from pointer without a cast [enabled by default] status=zend_get_constant(symbol,slen,&dummy_zp TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:49:4: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default] status=zend_hash_exists(EG(function_table),p,slen+1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:49:4: error: too many arguments to function 'zend_hash_exists' status=zend_hash_exists(EG(function_table),p,slen+1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: declared here ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:53:4: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default] status=zend_hash_exists(EG(class_table),p,slen+1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:44:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Util.c:53:4: error: too many arguments to function 'zend_hash_exists' status=zend_hash_exists(EG(class_table),p,slen+1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:203:34: note: declared here ZEND_API zend_bool ZEND_FASTCALL zend_hash_exists(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:45:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c: In function 'Automap_Ext_file_get_contents': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:42:33: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_STRINGL(buf,st.st_size,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:42:2: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(buf,st.st_size,0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c: In function 'Automap_Parser_addSymbol': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:82:2: error: too many arguments to function 'add_next_index_stringl' add_next_index_stringl(arr,key,slen,0); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:431:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:45:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c: In function 'Automap_parseTokens': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:137:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(ht_tokens,(void **)(&ztoken)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:137:3: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(ht_tokens,(void **)(&ztoken)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:140:10: warning: assignment makes pointer from integer without a cast [enabled by default] tvalue=Z_STRVAL_PP(ztoken); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:145:6: warning: assignment makes pointer from integer without a cast [enabled by default] ht=Z_ARRVAL_PP(ztoken); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:147:49: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(ht,(void **)(&zpp)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:148:4: warning: implicit declaration of function 'Z_LVAL_PP' [-Wimplicit-function-declaration] tnum=Z_LVAL_PP(zpp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:150:49: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(ht,(void **)(&zpp)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:151:10: warning: assignment makes pointer from integer without a cast [enabled by default] tvalue=Z_STRVAL_PP(zpp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/Automap_Parser.c:112:18: warning: variable 'nalen' set but not used [-Wunused-but-set-variable] int block_level,nalen,nslen,tnum,tvlen; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:47:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c: In function 'PHK_Cache_eaccelerator_init': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:49:2: warning: implicit declaration of function 'zend_hash_quick_exists' [-Wimplicit-function-declaration] if (!HKEY_EXISTS(EG(function_table),eaccelerator_get)) return 0; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c: In function 'zim_PHK_Cache_cacheName': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:91:48: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1 RETVAL_STRING(PHK_Cache_cacheName(TSRMLS_C), 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:91:2: error: 'RETVAL_STRING' undeclared (first use in this function) RETVAL_STRING(PHK_Cache_cacheName(TSRMLS_C), 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c: In function 'PHK_Cache_cacheID': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:118:33: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_ret_p, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:118:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(z_ret_p, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c: In function 'PHK_Cache_get': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:173:28: error: 'IS_BOOL' undeclared (first use in this function) if ((Z_TYPE_P(z_ret_p) == IS_BOOL) && (!Z_BVAL_P(z_ret_p))) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:173:2: warning: implicit declaration of function 'Z_BVAL_P' [-Wimplicit-function-declaration] if ((Z_TYPE_P(z_ret_p) == IS_BOOL) && (!Z_BVAL_P(z_ret_p))) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c: In function 'MINIT_PHK_Cache': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Cache.c:269:24: warning: variable 'entry' set but not used [-Wunused-but-set-variable] zend_class_entry ce, *entry; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:48:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'PHK_Stream_getFile': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:154:50: error: 'IS_BOOL' undeclared (first use in this function) do_cache = (cache_p && (Z_TYPE_P(cache_p) == IS_BOOL)) ? ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:48:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'do_stat': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:328:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_uri, uri, uri_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:328:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(z_uri, uri, uri_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:418:50: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_ssb, ((char *) tssb), ssb_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'PHK_Stream_readdir': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:467:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 if (zend_hash_get_current_data(ht, (void **) (&z_tmp_pp)) == FAILURE) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:467:6: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (zend_hash_get_current_data(ht, (void **) (&z_tmp_pp)) == FAILURE) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:473:2: warning: passing argument 2 of 'memmove' makes pointer from integer without a cast [enabled by default] memmove(ent->d_name, Z_STRVAL_PP(z_tmp_pp), count + 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:39, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /usr/include/bits/string3.h:55:1: note: expected 'const void *' but argument is of type 'int' __NTH (memmove (void *__dest, const void *__src, size_t __len)) ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:48:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: At top level: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:508:2: warning: initialization from incompatible pointer type [enabled by default] PHK_Stream_seek, ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:508:2: warning: (near initialization for 'phk_ops.seek') [enabled by default] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:520:2: warning: initialization from incompatible pointer type [enabled by default] PHK_Stream_seekdir, ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:520:2: warning: (near initialization for 'phk_dirops.seek') [enabled by default] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'PHK_Stream_generic_open': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:566:37: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_uri, uri, uri_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:566:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(z_uri, uri, uri_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:558:6: warning: variable 'uri_len' set but not used [-Wunused-but-set-variable] int uri_len; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'PHK_Stream_parseURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:769:44: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_command, cmdp, cmd_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:769:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(z_command, cmdp, cmd_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:780:40: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_mnt, urip, mnt_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:791:42: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(z_path, path, path_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:677:22: warning: variable 'path' set but not used [-Wunused-but-set-variable] char *cmdp, *ampp, *path, *p, *res, *urip; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: In function 'PHK_Stream_cache_key': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:829:53: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(mnt, mnt_start, mnt_end - mnt_start, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:829:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(mnt, mnt_start, mnt_end - mnt_start, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:812:12: warning: variable 'mnt_start' set but not used [-Wunused-but-set-variable] char *p, *mnt_start, *mnt_end; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c: At top level: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:845:2: warning: initialization from incompatible pointer type [enabled by default] PHK_Stream_openfile, /* open */ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:845:2: warning: (near initialization for 'phk_stream_wops.stream_opener') [enabled by default] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:849:2: warning: initialization from incompatible pointer type [enabled by default] PHK_Stream_opendir, /* opendir */ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:849:2: warning: (near initialization for 'phk_stream_wops.dir_opener') [enabled by default] In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_mnt_dtor': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:58:4: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] ,sizeof(PHK_MP_PROPERTY_NAME)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:58:4: error: too many arguments to function 'zend_hash_del' ,sizeof(PHK_MP_PROPERTY_NAME)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_remove_mnt': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:94:3: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] (void) zend_hash_del(PHK_G(mtab), Z_STRVAL_P(mp->mnt), Z_STRLEN_P(mp->mnt) + 1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:94:3: error: too many arguments to function 'zend_hash_del' (void) zend_hash_del(PHK_G(mtab), Z_STRVAL_P(mp->mnt), Z_STRLEN_P(mp->mnt) + 1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'zim_PHK_Mgr_instance': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:300:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(instance); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'zim_PHK_Mgr_proxy': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:347:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(proxy); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_mntList': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:365:4: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] , &dummy, 0, &pos) != HASH_KEY_NON_EXISTANT) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:365:4: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] , &dummy, 0, &pos) != HASH_KEY_NON_EXISTANT) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:365:4: error: too many arguments to function 'zend_hash_get_current_key_ex' , &dummy, 0, &pos) != HASH_KEY_NON_EXISTANT) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:365:26: error: 'HASH_KEY_NON_EXISTANT' undeclared (first use in this function) , &dummy, 0, &pos) != HASH_KEY_NON_EXISTANT) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:366:4: error: too many arguments to function 'add_next_index_stringl' add_next_index_stringl(ret, mnt_p, mnt_len - 1, 1); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:431:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_uri': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:453:51: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + tlen + 7); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:440:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,(_currentp=ut_eallocate(NULL,len+1)),len,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:453:2: note: in expansion of macro 'PHK_ZSTR_ALLOC_ZSTRING' PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + tlen + 7); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_commandURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:483:66: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + Z_STRLEN_P(command) + 8); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:440:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,(_currentp=ut_eallocate(NULL,len+1)),len,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:483:2: note: in expansion of macro 'PHK_ZSTR_ALLOC_ZSTRING' PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + Z_STRLEN_P(command) + 8); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_sectionURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:513:67: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + Z_STRLEN_P(section) + 21); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:440:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,(_currentp=ut_eallocate(NULL,len+1)),len,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:513:2: note: in expansion of macro 'PHK_ZSTR_ALLOC_ZSTRING' PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + Z_STRLEN_P(section) + 21); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'compute_automapURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:575:45: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + 28); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:440:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,(_currentp=ut_eallocate(NULL,len+1)),len,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:575:2: note: in expansion of macro 'PHK_ZSTR_ALLOC_ZSTRING' PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + 28); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'zim_PHK_Mgr_automapURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:598:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(mp->automapURI); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'compute_baseURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:608:44: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + 7); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:440:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,(_currentp=ut_eallocate(NULL,len+1)),len,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:608:2: note: in expansion of macro 'PHK_ZSTR_ALLOC_ZSTRING' PHK_ZSTR_ALLOC_ZSTRING(Z_STRLEN_P(mnt) + 7); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'zim_PHK_Mgr_baseURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:630:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(mp->baseURI); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_uriToMnt': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:651:30: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, bp, len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:651:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret, bp, len, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:639:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_topLevelPath': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:689:56: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret,Z_STRVAL_P(zpath),Z_STRLEN_P(zpath),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:689:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,Z_STRVAL_P(zpath),Z_STRLEN_P(zpath),1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_setCache': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:728:52: error: 'IS_BOOL' undeclared (first use in this function) if ((Z_TYPE_P(zp) != IS_NULL) && (Z_TYPE_P(zp) != IS_BOOL)) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_cacheEnabled': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:758:2: warning: implicit declaration of function 'Z_BVAL' [-Wimplicit-function-declaration] if (Z_TYPE(PHK_G(caching)) != IS_NULL) return Z_BVAL(PHK_G(caching)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_computeMnt': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:863:34: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL((*mnt), p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:863:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL((*mnt), p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_mount': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:953:24: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(mnt, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:953:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(mnt, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:970:42: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL((mp->minVersion), "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:970:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL((mp->minVersion), "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1001:35: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(mp->path, p, len, 0); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'zim_PHK_Mgr_mount': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1046:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(mp->mnt); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_get_or_create_pdata': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1165:3: warning: passing argument 2 of 'php_version_compare' makes pointer from integer without a cast [enabled by default] if (php_version_compare(PHP_VERSION,Z_STRVAL_PP(zpp)) < 0) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:75:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/ext/standard/php_versioning.h:25:12: note: expected 'const char *' but argument is of type 'int' PHPAPI int php_version_compare(const char *, const char *); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1166:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] THROW_EXCEPTION_1("PHP minimum supported version: %s",Z_STRVAL_PP(zpp)); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1173:3: warning: passing argument 2 of 'php_version_compare' makes pointer from integer without a cast [enabled by default] if (php_version_compare(PHP_VERSION,Z_STRVAL_PP(zpp)) > 0) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:75:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/ext/standard/php_versioning.h:25:12: note: expected 'const char *' but argument is of type 'int' PHPAPI int php_version_compare(const char *, const char *); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1174:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] THROW_EXCEPTION_1("PHP maximum supported version: %s",Z_STRVAL_PP(zpp)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:296:43: error: 'IS_BOOL' undeclared (first use in this function) #define ZVAL_IS_BOOL(zp) (Z_TYPE_P((zp))==IS_BOOL) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1201:7: note: in expansion of macro 'ZVAL_IS_BOOL' && (ZVAL_IS_BOOL(*zpp))) ? Z_BVAL_PP(zpp) : 0 ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1203:2: note: in expansion of macro 'PHK_GPD_BOOL_SHORTCUT' PHK_GPD_BOOL_SHORTCUT(no_cache); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:49:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1203:2: warning: implicit declaration of function 'Z_BVAL_PP' [-Wimplicit-function-declaration] /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1219:2: warning: implicit declaration of function 'Z_ADDREF_PP' [-Wimplicit-function-declaration] PHK_GPD_ARRAY_SHORTCUT(mime_types); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1280:26: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(ztmp2, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1280:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(ztmp2, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c: In function 'PHK_Mgr_populate_pdata': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Mgr.c:1316:2: warning: implicit declaration of function 'ALLOC_ZVAL' [-Wimplicit-function-declaration] PHK_MGR_PPD_COPY_PZVAL(minVersion); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'PHK_needPhpRuntime': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:58:57: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3 if ((len = php_stream_copy_to_mem(stream, &buf1, 241, 0)) != 241) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:58:13: error: 'php_stream_copy_to_mem' undeclared (first use in this function) if ((len = php_stream_copy_to_mem(stream, &buf1, 241, 0)) != 241) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:74:57: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3 if ((len = php_stream_copy_to_mem(stream, &buf, size, 0)) != size) { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:34:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] long len; ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_mnt': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:243:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(mnt) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_path': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:247:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(path) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_flags': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:251:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(flags) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_mtime': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:255:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(mtime) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_options': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:259:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(options) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_baseURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:263:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(baseURI) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_automapURI': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:267:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(automapURI) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_plugin': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:239:19: note: in expansion of macro 'RETVAL_BY_REF' if (mp->_field) RETVAL_BY_REF(mp->_field); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:271:1: note: in expansion of macro 'PHK_GET_PROPERTY_METHOD_OR_NULL' PHK_GET_PROPERTY_METHOD_OR_NULL(plugin) ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_option': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:349:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] (void **)(&zpp)) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:349:3: error: too many arguments to function 'zend_hash_find' (void **)(&zpp)) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:350:3: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(*zpp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_parentMnt': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:362:18: note: in expansion of macro 'RETVAL_BY_REF' if (mp->parent) RETVAL_BY_REF(mp->parent->mnt); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'webAccessAllowed': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:398:8: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] (ht, (void **) (&apath_pp), &pos) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ RPM build errors: In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:398:8: error: too many arguments to function 'zend_hash_get_current_data_ex' (ht, (void **) (&apath_pp), &pos) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'webTunnel': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:524:29: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(tpath, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:524:6: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(tpath, p, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_webTunnel': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:578:57: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1 RETVAL_STRING(webTunnel(mp, path, webinfo TSRMLS_CC), 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:578:2: error: 'RETVAL_STRING' undeclared (first use in this function) RETVAL_STRING(webTunnel(mp, path, webinfo TSRMLS_CC), 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'PHK_mimeType': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:634:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] , (void **) (zpp)) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:634:3: error: too many arguments to function 'zend_hash_find' , (void **) (zpp)) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:641:4: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] (void **) (&zpp)) == SUCCESS) { /* Copy val to dynamic storage */ ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:641:4: error: too many arguments to function 'zend_hash_find' (void **) (&zpp)) == SUCCESS) { /* Copy val to dynamic storage */ ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:646:52: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret,"application/x-httpd-php",23,1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:646:5: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret,"application/x-httpd-php",23,1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_proxy': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:718:2: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(zp); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_buildInfo': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:327:20: error: 'return_value_ptr' undeclared (first use in this function) ut_ezval_ptr_dtor(return_value_ptr); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:767:3: note: in expansion of macro 'RETVAL_BY_REF' RETVAL_BY_REF(mp->buildInfo); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:774:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] (void **) &zpp) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:774:9: error: too many arguments to function 'zend_hash_find' (void **) &zpp) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'PHK_setSubpath': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:817:30: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:817:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret, "", 0, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:831:29: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, p, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:806:11: warning: variable 'decode' set but not used [-Wunused-but-set-variable] int len, decode, s1; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:806:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, decode, s1; ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'zim_PHK_prolog': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:919:3: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] ,sizeof("__COMPILER_HALT_OFFSET__")); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:919:3: error: too many arguments to function 'zend_hash_del' ,sizeof("__COMPILER_HALT_OFFSET__")); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:158:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:939:10: warning: passing argument 1 of 'zend_alter_ini_entry' from incompatible pointer type [enabled by default] PHP_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:939:10: warning: passing argument 2 of 'zend_alter_ini_entry' makes pointer from integer without a cast [enabled by default] PHP_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'unsigned int' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:939:10: warning: passing argument 3 of 'zend_alter_ini_entry' makes integer from pointer without a cast [enabled by default] PHP_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'int' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:939:10: error: too many arguments to function 'zend_alter_ini_entry' PHP_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: declared here ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:946:11: warning: passing argument 1 of 'zend_alter_ini_entry' from incompatible pointer type [enabled by default] PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:946:11: warning: passing argument 2 of 'zend_alter_ini_entry' makes pointer from integer without a cast [enabled by default] PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'unsigned int' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:946:11: warning: passing argument 3 of 'zend_alter_ini_entry' makes integer from pointer without a cast [enabled by default] PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'int' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:946:11: error: too many arguments to function 'zend_alter_ini_entry' PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: declared here ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:967:65: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(ret, Z_STRVAL_P(mp->mnt), Z_STRLEN_P(mp->mnt), 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:967:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(ret, Z_STRVAL_P(mp->mnt), Z_STRLEN_P(mp->mnt), 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:977:10: error: too many arguments to function 'zend_hash_index_find' (ulong) 1, (void **) &argv1_pp); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_index_find(const HashTable *ht, zend_ulong h); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:978:29: error: subscripted value is neither array nor pointer nor vector if (Z_STRVAL_PP(argv1_pp)[0] == '@') { ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:989:44: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 , Z_STRLEN_P(mp->cli_run_command), 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1007:54: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(cmd, webTunnel(mp, NULL, 0 TSRMLS_CC), 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1007:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(cmd, webTunnel(mp, NULL, 0 TSRMLS_CC), 0); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'init_mimeTable': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1081:68: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(PHK_G(mimeTable), mip->suffix, mip->mime_type, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1081:3: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(PHK_G(mimeTable), mip->suffix, mip->mime_type, 1); ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c: In function 'set_constants': /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1097:62: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 UT_DECLARE_STRING_CONSTANT(PHP_PHK_VERSION,"RUNTIME_VERSION"); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:93:0, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.h:358:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zp,p,sizeof(_def)-1,0); \ ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1097:2: note: in expansion of macro 'UT_DECLARE_STRING_CONSTANT' UT_DECLARE_STRING_CONSTANT(PHP_PHK_VERSION,"RUNTIME_VERSION"); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1097:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1097:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_STRING_CONSTANT(PHP_PHK_VERSION,"RUNTIME_VERSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1097:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_STRING_CONSTANT(PHP_PHK_VERSION,"RUNTIME_VERSION"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1099:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1099:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1099:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(PHK_FLAG_CRC_CHECK,"CRC_CHECK"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1100:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_NO_MOUNT_SCRIPT,"NO_MOUNT_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1100:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_NO_MOUNT_SCRIPT,"NO_MOUNT_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1100:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(PHK_FLAG_NO_MOUNT_SCRIPT,"NO_MOUNT_SCRIPT"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1101:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_IS_CREATOR,"IS_CREATOR"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1101:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] UT_DECLARE_LONG_CONSTANT(PHK_FLAG_IS_CREATOR,"IS_CREATOR"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:1101:2: error: too many arguments to function 'zend_hash_add' UT_DECLARE_LONG_CONSTANT(PHK_FLAG_IS_CREATOR,"IS_CREATOR"); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.h:69, from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:21: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:35:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c: At top level: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:855:16: warning: 'ut_unserialize_zval' defined but not used [-Wunused-function] UT_SYMBOL void ut_unserialize_zval(const unsigned char *buffer ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:878:16: warning: 'ut_file_get_contents' defined but not used [-Wunused-function] UT_SYMBOL void ut_file_get_contents(char *path, zval *ret TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:898:17: warning: 'ut_htmlspecialchars' defined but not used [-Wunused-function] UT_SYMBOL char *ut_htmlspecialchars(char *src, int srclen ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:911:17: warning: 'ut_ucfirst' defined but not used [-Wunused-function] UT_SYMBOL char *ut_ucfirst(char *ptr, int len TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:926:16: warning: 'ut_repeat_printf' defined but not used [-Wunused-function] UT_SYMBOL void ut_repeat_printf(char c, int count TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:940:16: warning: 'ut_printf_pad_right' defined but not used [-Wunused-function] UT_SYMBOL void ut_printf_pad_right(char *str, int len, int size TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:958:16: warning: 'ut_printf_pad_both' defined but not used [-Wunused-function] UT_SYMBOL void ut_printf_pad_both(char *str, int len, int size TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:978:17: warning: 'ut_absolute_dirname' defined but not used [-Wunused-function] UT_SYMBOL char *ut_absolute_dirname(char *path, int len, int *reslen, int separ TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1083:15: warning: 'ut_cut_at_space' defined but not used [-Wunused-function] UT_SYMBOL int ut_cut_at_space(char *p) ^ /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/utils.c:1154:16: warning: 'ut_compute_crc32' defined but not used [-Wunused-function] UT_SYMBOL void ut_compute_crc32(const unsigned char *input, size_t input_len ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:48:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK_Stream.c:808:14: warning: 'PHK_Stream_cache_key' defined but not used [-Wunused-function] static char *PHK_Stream_cache_key(php_stream_wrapper * wrapper, ^ In file included from /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/php_phk.c:50:0: /builddir/build/BUILD/php73-php-pecl-phk-3.0.1/NTS/PHK.c:457:14: warning: 'webTunnel' defined but not used [-Wunused-function] static char *webTunnel(PHK_Mnt * mp, zval * path, ^ make: *** [php_phk.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.rIAKPc (%build) Bad exit status from /var/tmp/rpm-tmp.rIAKPc (%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-phk.spec