Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-xslcache.spec'], nspawn_args=[]shell=Falseuid=995env={'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-283f425ae4782d5ca0efc0485bd398c4af6b5a04/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-xslcache.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-xslcache-0.7.2-7.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-xslcache.spec"], nspawn_args=[]shell=Falseuid=995env={'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-283f425ae4782d5ca0efc0485bd398c4af6b5a04/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-xslcache.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.t8GJUP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-xslcache-0.7.2 + /usr/bin/mkdir -p php73-php-pecl-xslcache-0.7.2 + cd php73-php-pecl-xslcache-0.7.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/xslcache-0.7.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv xslcache-0.7.2 NTS + cd NTS + cp /builddir/build/SOURCES/3_01.txt LICENSE + find . -type f -exec chmod -x '{}' ';' ++ sed -n '/#define PHP_XSLCACHE_VERSION/{s/.* "//;s/".*$//;p}' php_xsl.h + extver=0.7.2 + test x0.7.2 '!=' x0.7.2 + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mDfGeH + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-xslcache-0.7.2 + cd NTS + /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-libdir=lib --with-php-config=/opt/rh/php73/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/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 for XSL support... yes, shared checking for EXSLT support... found 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-xslcache-0.7.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/include -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/main -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/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 -I/usr/include/libxml2 -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-xslcache-0.7.2/NTS/php_xsl.c -o php_xsl.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/include -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/main -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/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 -I/usr/include/libxml2 -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-xslcache-0.7.2/NTS/xsltcache.c -o xsltcache.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/include -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/main -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/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 -I/usr/include/libxml2 -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-xslcache-0.7.2/NTS/php_xsl.c -fPIC -DPIC -o .libs/php_xsl.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/include -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/main -I/builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/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 -I/usr/include/libxml2 -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-xslcache-0.7.2/NTS/xsltcache.c -fPIC -DPIC -o .libs/xsltcache.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-xslcache-0.7.2/NTS/xsltcache.c:26: /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 /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-xslcache-0.7.2/NTS/php_xsl.c:28: /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-xslcache-0.7.2/NTS/xsltcache.c:27:0: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h: At top level: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:68:2: error: unknown type name 'zend_object_handle' zend_object_handle handle; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'php_xslcache_xslt_make_params': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:142:52: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(parht, (void **)&value) == SUCCESS; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:142:3: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(parht, (void **)&value) == SUCCESS; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:142:3: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:145:64: error: macro "zend_hash_get_current_key" passed 4 arguments, but takes just 3 if (zend_hash_get_current_key(parht, &string_key, &num_key, 1) != HASH_KEY_IS_STRING) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:145:7: error: 'zend_hash_get_current_key' undeclared (first use in this function) if (zend_hash_get_current_key(parht, &string_key, &num_key, 1) != HASH_KEY_IS_STRING) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:150:4: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (Z_TYPE_PP(value) != IS_STRING) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:151:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(value); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:156:5: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] xpath_expr = php_xslcache_xslt_string_to_xpathexpr(Z_STRVAL_PP(value) TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:156:5: warning: passing argument 1 of 'php_xslcache_xslt_string_to_xpathexpr' makes pointer from integer without a cast [enabled by default] /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:101:14: note: expected 'const char *' but argument is of type 'int' static char *php_xslcache_xslt_string_to_xpathexpr(const char *str TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:158:5: warning: implicit declaration of function 'Z_STRLEN_PP' [-Wimplicit-function-declaration] xpath_expr = estrndup(Z_STRVAL_PP(value), Z_STRLEN_PP(value)); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:158:5: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:133:8: warning: unused variable 'num_key' [-Wunused-variable] ulong num_key; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'xsl_ext_function_php': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:231:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(args[i]); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:234:51: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(args[i], (char *)obj->stringval, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:234:5: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(args[i], (char *)obj->stringval, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:245:33: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(args[i], str, 1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:31:0: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h: At top level: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:68:2: error: unknown type name 'zend_object_handle' zend_object_handle handle; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:278:8: warning: passing argument 2 of 'php_dom_create_object' from incompatible pointer type [enabled by default] child = php_dom_create_object(node, &ret, child, domintern TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:48:0, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:27: /opt/rh/php73/root/usr/include/php/ext/dom/xml_common.h:58:26: note: expected 'struct zval *' but argument is of type 'int *' PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domobj); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:278:8: warning: passing argument 3 of 'php_dom_create_object' from incompatible pointer type [enabled by default] child = php_dom_create_object(node, &ret, child, domintern TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:48:0, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:27: /opt/rh/php73/root/usr/include/php/ext/dom/xml_common.h:58:26: note: expected 'struct dom_object *' but argument is of type 'struct zval *' PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domobj); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:278:8: error: too many arguments to function 'php_dom_create_object' child = php_dom_create_object(node, &ret, child, domintern TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:48:0, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:27: /opt/rh/php73/root/usr/include/php/ext/dom/xml_common.h:58:26: note: declared here PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domobj); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:278:14: warning: assignment makes pointer from integer without a cast [enabled by default] child = php_dom_create_object(node, &ret, child, domintern TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:286:61: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(args[i], (char *)xmlXPathCastToString(obj), 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:289:17: error: incompatible types when assigning to type 'zval' from type 'struct zval **' fci.params[i] = &args[i]; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:86:34: error: unknown type name 'zend_rsrc_list_entry' void pdestroy_stylesheet_wrapper(zend_rsrc_list_entry *rsrc TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:293:5: error: 'zend_fcall_info' has no member named 'function_table' fci.function_table = EG(function_table); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:301:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&args[i]); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'cached_sheet_stale': 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:129:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] rc = zend_hash_get_current_key_ex(xslp->sheet_paths, &key, &keylen, &idx, 0, 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-xslcache-0.7.2/NTS/php_xsl.c:28: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:129:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] rc = zend_hash_get_current_key_ex(xslp->sheet_paths, &key, &keylen, &idx, 0, NULL); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:308:2: warning: implicit declaration of function 'INIT_PZVAL' [-Wimplicit-function-declaration] INIT_PZVAL(&handler); ^ 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-xslcache-0.7.2/NTS/php_xsl.c:28: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'long unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:309:49: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(&handler, (char *)obj->stringval, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:129:3: error: too many arguments to function 'zend_hash_get_current_key_ex' rc = zend_hash_get_current_key_ex(xslp->sheet_paths, &key, &keylen, &idx, 0, NULL); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:312:20: error: incompatible types when assigning to type 'zval' from type 'struct zval *' fci.function_name = &handler; ^ 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-xslcache-0.7.2/NTS/php_xsl.c:28: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:313:5: error: 'zend_fcall_info' has no member named 'symbol_table' fci.symbol_table = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:315:5: error: 'zend_fcall_info' has no member named 'object_ptr' fci.object_ptr = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:319:5: error: 'zend_fcall_info' has no member named 'retval_ptr_ptr' fci.retval_ptr_ptr = &retval; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:322:2: warning: passing argument 2 of 'zend_make_callable' from incompatible pointer type [enabled by default] if (!zend_make_callable(&handler, &callable TSRMLS_CC)) { ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:312:20: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API zend_bool zend_make_callable(zval *callable, zend_string **callable_name); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:325:2: warning: passing argument 2 of 'zend_hash_exists' from incompatible pointer type [enabled by default] } else if ( intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable, strlen(callable) + 1) == 0) { ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:325:2: error: too many arguments to function 'zend_hash_exists' } else if ( intern->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable, strlen(callable) + 1) == 0) { ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:338:14: error: 'zval' has no member named 'type' if (retval->type == IS_OBJECT && instanceof_function( Z_OBJCE_P(retval), dom_node_class_entry TSRMLS_CC)) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:343:24: warning: operation on 'intern->node_list' may be undefined [-Wsequence-point] intern->node_list = ALLOC_HASHTABLE(intern->node_list); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:347:5: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref(&retval); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:348:5: warning: passing argument 2 of 'zend_hash_next_index_insert' from incompatible pointer type [enabled by default] zend_hash_next_index_insert(intern->node_list, &retval, sizeof(zval *), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:127:30: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:348:5: error: too many arguments to function 'zend_hash_next_index_insert' zend_hash_next_index_insert(intern->node_list, &retval, sizeof(zval *), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:127:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_next_index_insert(HashTable *ht, zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:349:5: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] obj = (dom_object *)zend_object_store_get_object(retval TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:352:21: error: 'zval' has no member named 'type' } else if (retval->type == IS_BOOL) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:352:31: error: 'IS_BOOL' undeclared (first use in this function) } else if (retval->type == IS_BOOL) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:354:21: error: 'zval' has no member named 'type' } else if (retval->type == IS_OBJECT) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:358:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&retval); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:358:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&retval); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:358:5: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(&retval); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:361:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&retval); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:368:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&args[i]); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'xslcache_objects_free_storage': 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:188:3: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] i = zend_hash_del(&EG(persistent_list), intern->xslp->persist_key, strlen(intern->xslp->persist_key)); ^ 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-xslcache-0.7.2/NTS/php_xsl.c:28: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:188:3: error: too many arguments to function 'zend_hash_del' i = zend_hash_del(&EG(persistent_list), intern->xslp->persist_key, strlen(intern->xslp->persist_key)); ^ 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-xslcache-0.7.2/NTS/php_xsl.c:28: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:164:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: At top level: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:195:1: error: unknown type name 'zend_object_value' zend_object_value xslcache_objects_new(zend_class_entry *class_type TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'xslcache_objects_new': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:197:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'php_xslcache_apply_stylesheet': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:430:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] std_hnd = zend_get_std_object_handlers(); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:433:37: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(member, "doXInclude", 0); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:433:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(member, "doXInclude", 0); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:437:2: error: too few arguments to function 'std_hnd->read_property' doXInclude = std_hnd->read_property(id, member, BP_VAR_IS, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_transform_to_doc': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:471:13: warning: unused variable 'rv' [-Wunused-variable] zval *id, *rv = NULL, *docp = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_transform_to_xml': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) xslcache_objects_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:581:54: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_STRINGL((char *)doc_txt_ptr, doc_txt_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) xslcache_objects_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:50: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:581:4: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL((char *)doc_txt_ptr, doc_txt_len, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:76: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) xslcache_objects_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:76: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, 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-xslcache-0.7.2/NTS/php_xsl.c:28: /opt/rh/php73/root/usr/include/php/Zend/zend_objects_API.h:61:29: note: expected 'struct zend_object *' but argument is of type 'struct xsl_object *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:221:76: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) xslcache_objects_free_storage, NULL TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, 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-xslcache-0.7.2/NTS/php_xsl.c:28: /opt/rh/php73/root/usr/include/php/Zend/zend_objects_API.h:61:29: note: declared here ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:222:25: error: request for member 'handle' in something not a structure or union intern->handle = retval.handle; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:223:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &xslcache_object_handlers; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:199:8: warning: unused variable 'tmp' [-Wunused-variable] zval *tmp; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_set_parameter': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:611:77: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:31:0: /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'zm_startup_xslcache': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:611:10: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.h:87:19: warning: assignment from incompatible pointer type [enabled by default] ce.create_object = xslcache_objects_new; \ ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:238:2: note: in expansion of macro 'REGISTER_XSLCACHE_CLASS' REGISTER_XSLCACHE_CLASS(ce, "XSLTCache", NULL, php_xslcache_xsltcache_class_functions, xsl_xsltcache_class_entry); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:238:2: error: too many arguments to function 'zend_register_internal_class_ex' In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:28: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:285:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:612:4: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(entry); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:266:58: error: 'pdestroy_stylesheet_wrapper' undeclared (first use in this function) le_stylesheet = zend_register_list_destructors_ex(NULL, pdestroy_stylesheet_wrapper, "Cached Stylesheets", module_number); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'php_xslcache_set_object': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:292:2: warning: implicit declaration of function 'zend_objects_get_address' [-Wimplicit-function-declaration] object = (xsl_object *)zend_objects_get_address(wrapper TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:290:14: warning: variable 'object' set but not used [-Wunused-but-set-variable] xsl_object *object; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: In function 'php_xslcache_create_object': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:313:4: warning: implicit declaration of function 'ALLOC_ZVAL' [-Wimplicit-function-declaration] ALLOC_ZVAL(wrapper); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:322:3: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref(&wrapper); ^ 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-xslcache-0.7.2/NTS/php_xsl.c:28: /opt/rh/php73/root/usr/include/php/Zend/zend_variables.h:89:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:613:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:613:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:613:4: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:615:4: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, NULL) != HASH_KEY_IS_STRING) { ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:615:4: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, NULL) != HASH_KEY_IS_STRING) { ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:615:4: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, NULL) != HASH_KEY_IS_STRING) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c: At top level: 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/php_xsl.c:281:13: warning: 'xslcache_object_set_data' defined but not used [-Wunused-function] static void xslcache_object_set_data(void *obj, zval *wrapper TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:620:4: warning: implicit declaration of function 'ALLOC_ZVAL' [-Wimplicit-function-declaration] ALLOC_ZVAL(new_string); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:622:4: warning: implicit declaration of function 'COPY_PZVAL_TO_ZVAL' [-Wimplicit-function-declaration] COPY_PZVAL_TO_ZVAL(*new_string, *entry); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:624:4: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:624:4: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'uint' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:624:4: error: too many arguments to function 'zend_hash_update' zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:634:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(new_string, value, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:634:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(new_string, value, 1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:636:3: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:636:3: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'uint' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:636:3: error: too many arguments to function 'zend_hash_update' zend_hash_update(intern->parameter, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_get_parameter': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:661:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ( zend_hash_find(intern->parameter, name, name_len + 1, (void**) &value) == 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:661:2: error: too many arguments to function 'zend_hash_find' if ( zend_hash_find(intern->parameter, name, name_len + 1, (void**) &value) == 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:662:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:662:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:662:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(value); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:663:37: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1 RETVAL_STRING(Z_STRVAL_PP(value),1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:663:3: error: 'RETVAL_STRING' undeclared (first use in this function) RETVAL_STRING(Z_STRVAL_PP(value),1); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_remove_parameter': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:685:2: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] if ( zend_hash_del(intern->parameter, name, name_len + 1) == 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:685:2: error: too many arguments to function 'zend_hash_del' if ( zend_hash_del(intern->parameter, name, name_len + 1) == 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_register_php_functions': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:709:77: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:709:10: error: 'zend_hash_get_current_data' undeclared (first use in this function) while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:1200:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:710:4: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(entry); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:711:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ make: *** [php_xsl.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:711:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:711:4: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(entry); ^ 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:716:4: warning: passing argument 2 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:716:4: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:716:4: error: too many arguments to function 'zend_hash_update' zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:727:3: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:727:3: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:727:3: error: too many arguments to function 'zend_hash_update' zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'save_stylesheet_paths': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:760:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] zend_hash_add(paths, (char *) sheetp->doc->URL, strlen((char *)sheetp->doc->URL) + 1, NULL, 0, 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:760:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] zend_hash_add(paths, (char *) sheetp->doc->URL, strlen((char *)sheetp->doc->URL) + 1, NULL, 0, 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:114:30: note: expected 'struct zval *' but argument is of type 'size_t' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:760:2: error: too many arguments to function 'zend_hash_add' zend_hash_add(paths, (char *) sheetp->doc->URL, strlen((char *)sheetp->doc->URL) + 1, NULL, 0, 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'find_cached_stylesheet': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:832:2: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry *existing_le; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:833:2: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry le; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:840:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void **) &existing_le) == 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:840:2: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void **) &existing_le) == SUCCESS ^ RPM build errors: 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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:841:17: error: request for member 'type' in something not a structure or union && existing_le->type == le_stylesheet) ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:845:42: error: request for member 'ptr' in something not a structure or union obj = (persist_xsl_object *)existing_le->ptr; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:849:4: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] zend_hash_del(&EG(persistent_list), (char *) hash_key, hash_key_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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:849:4: error: too many arguments to function 'zend_hash_del' zend_hash_del(&EG(persistent_list), (char *) hash_key, hash_key_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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:864:3: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [enabled by default] zend_hash_init(obj->sheet_paths, 4, NULL, null_dtor, 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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:93:29: note: expected 'dtor_func_t' but argument is of type 'void (*)(void *)' ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:870:5: error: request for member 'type' in something not a structure or union le.type = le_stylesheet; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:871:5: error: request for member 'ptr' in something not a structure or union le.ptr = obj; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:875:99: error: 'zend_rsrc_list_entry' undeclared (first use in this function) zend_hash_update(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void*) &le, sizeof(zend_rsrc_list_entry), NULL); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:875:3: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void*) &le, sizeof(zend_rsrc_list_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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:875:3: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void*) &le, sizeof(zend_rsrc_list_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-xslcache-0.7.2/NTS/xsltcache.c:26: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:875:3: error: too many arguments to function 'zend_hash_update' zend_hash_update(&EG(persistent_list), (char *) hash_key, hash_key_len + 1, (void*) &le, sizeof(zend_rsrc_list_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-xslcache-0.7.2/NTS/xsltcache.c:26: /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); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:823:20: warning: unused variable 'sheetp' [-Wunused-variable] xsltStylesheetPtr sheetp = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:822:11: warning: unused variable 'nodep' [-Wunused-variable] xmlNode *nodep = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:821:23: warning: unused variable 'newdoc' [-Wunused-variable] xmlDoc *doc = NULL, *newdoc = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:821:10: warning: unused variable 'doc' [-Wunused-variable] xmlDoc *doc = NULL, *newdoc = NULL; ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c: In function 'zif_xsl_xsltcache_import_stylesheet': /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:908:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] std_hnd = zend_get_std_object_handlers(); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:911:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(member, "cloneDocument", 0); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:911:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(member, "cloneDocument", 0); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:916:2: error: too few arguments to function 'std_hnd->read_property' cloneDocu = std_hnd->read_property(id, member, BP_VAR_IS, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-xslcache-0.7.2/NTS/xsltcache.c:890:13: warning: unused variable 'docp' [-Wunused-variable] zval *id, *docp = NULL; ^ make: *** [xsltcache.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.mDfGeH (%build) Bad exit status from /var/tmp/rpm-tmp.mDfGeH (%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-xslcache.spec