Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-parsekit.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_php74-armhfp-fa236e451790f56c860cd66433848fe070859f5e/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-parsekit.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/php74-php-pecl-parsekit-1.3.0-9.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-parsekit.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_php74-armhfp-fa236e451790f56c860cd66433848fe070859f5e/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-parsekit.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.KEVhZc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-parsekit-1.3.0 + /usr/bin/mkdir -p php74-php-pecl-parsekit-1.3.0 + cd php74-php-pecl-parsekit-1.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/parsekit-1.3.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd parsekit-1.3.0 + echo 'Patch #1 (php-pecl-parsekit-1.3-php-5.4.patch):' Patch #1 (php-pecl-parsekit-1.3-php-5.4.patch): + /usr/bin/cat /builddir/build/SOURCES/php-pecl-parsekit-1.3-php-5.4.patch + /usr/bin/patch -p2 -b --suffix .php54 --fuzz=0 patching file parsekit.c Patch #2 (php-pecl-parsekit-1.3-php56-variadic-fix.patch): + echo 'Patch #2 (php-pecl-parsekit-1.3-php56-variadic-fix.patch):' + /usr/bin/cat /builddir/build/SOURCES/php-pecl-parsekit-1.3-php56-variadic-fix.patch + /usr/bin/patch -p2 -b --suffix .php56 --fuzz=0 patching file parsekit.c + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Vjnpge + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-parsekit-1.3.0 + cd parsekit-1.3.0 + /opt/rh/php74/root/usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + 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/php74/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/php74/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 ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php74/root/usr --exec-prefix=/opt/rh/php74/root/usr --bindir=/opt/rh/php74/root/usr/bin --sbindir=/opt/rh/php74/root/usr/sbin --sysconfdir=/etc/opt/rh/php74 --datadir=/opt/rh/php74/root/usr/share --includedir=/opt/rh/php74/root/usr/include --libdir=/opt/rh/php74/root/usr/lib --libexecdir=/opt/rh/php74/root/usr/libexec --localstatedir=/var/opt/rh/php74 --sharedstatedir=/var/opt/rh/php74/lib --mandir=/opt/rh/php74/root/usr/share/man --infodir=/opt/rh/php74/root/usr/share/info --with-parsekit --with-php-config=/opt/rh/php74/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-parsekit 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-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes 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 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/php74/root/usr checking for PHP includes... -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php74/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable parsekit support... 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: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-parsekit + make -j4 /bin/sh /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/include -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/main -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0 -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c -o parsekit.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/include -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/main -I/builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0 -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c -fPIC -DPIC -o .libs/parsekit.o In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:356:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:548: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/php74/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:611: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:28:0: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h: At top level: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:198:4: error: 'ZEND_ASSIGN_ADD' undeclared here (not in a function) { ZEND_ASSIGN_ADD, "ZEND_ASSIGN_ADD", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:199:4: error: 'ZEND_ASSIGN_SUB' undeclared here (not in a function) { ZEND_ASSIGN_SUB, "ZEND_ASSIGN_SUB", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:200:4: error: 'ZEND_ASSIGN_MUL' undeclared here (not in a function) { ZEND_ASSIGN_MUL, "ZEND_ASSIGN_MUL", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:201:4: error: 'ZEND_ASSIGN_DIV' undeclared here (not in a function) { ZEND_ASSIGN_DIV, "ZEND_ASSIGN_DIV", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:202:4: error: 'ZEND_ASSIGN_MOD' undeclared here (not in a function) { ZEND_ASSIGN_MOD, "ZEND_ASSIGN_MOD", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:203:4: error: 'ZEND_ASSIGN_SL' undeclared here (not in a function) { ZEND_ASSIGN_SL, "ZEND_ASSIGN_SL", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:204:4: error: 'ZEND_ASSIGN_SR' undeclared here (not in a function) { ZEND_ASSIGN_SR, "ZEND_ASSIGN_SR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:205:4: error: 'ZEND_ASSIGN_CONCAT' undeclared here (not in a function) { ZEND_ASSIGN_CONCAT, "ZEND_ASSIGN_CONCAT", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:206:4: error: 'ZEND_ASSIGN_BW_OR' undeclared here (not in a function) { ZEND_ASSIGN_BW_OR, "ZEND_ASSIGN_BW_OR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:207:4: error: 'ZEND_ASSIGN_BW_AND' undeclared here (not in a function) { ZEND_ASSIGN_BW_AND, "ZEND_ASSIGN_BW_AND", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:208:4: error: 'ZEND_ASSIGN_BW_XOR' undeclared here (not in a function) { ZEND_ASSIGN_BW_XOR, "ZEND_ASSIGN_BW_XOR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:216:4: error: 'ZEND_PRINT' undeclared here (not in a function) { ZEND_PRINT, "ZEND_PRINT", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:224:4: error: 'ZEND_SWITCH_FREE' undeclared here (not in a function) { ZEND_SWITCH_FREE, "ZEND_SWITCH_FREE", PHP_PARSEKIT_OP1_VAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:228:4: error: 'ZEND_INIT_STRING' undeclared here (not in a function) { ZEND_INIT_STRING, "ZEND_INIT_STRING", PHP_PARSEKIT_RESULT_VAR }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:229:4: error: 'ZEND_ADD_CHAR' undeclared here (not in a function) { ZEND_ADD_CHAR, "ZEND_ADD_CHAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_CONST }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:230:4: error: 'ZEND_ADD_STRING' undeclared here (not in a function) { ZEND_ADD_STRING, "ZEND_ADD_STRING", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_CONST }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:231:4: error: 'ZEND_ADD_VAR' undeclared here (not in a function) { ZEND_ADD_VAR, "ZEND_ADD_VAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:261:4: error: 'ZEND_FE_RESET' undeclared here (not in a function) { ZEND_FE_RESET, "ZEND_FE_RESET", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_OPLINE | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:262:4: error: 'ZEND_FE_FETCH' undeclared here (not in a function) { ZEND_FE_FETCH, "ZEND_FE_FETCH", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_OPLINE | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:282:4: error: 'ZEND_FETCH_DIM_TMP_VAR' undeclared here (not in a function) { ZEND_FETCH_DIM_TMP_VAR, "ZEND_FETCH_DIM_TMP_VAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:320:4: error: 'ZEND_DECLARE_INHERITED_CLASS' undeclared here (not in a function) { ZEND_DECLARE_INHERITED_CLASS, "ZEND_DECLARE_INHERITED_CLASS", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_CONST | PHP_PARSEKIT_OP2_CONST }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:322:4: error: 'ZEND_RAISE_ABSTRACT_ERROR' undeclared here (not in a function) { ZEND_RAISE_ABSTRACT_ERROR, "ZEND_RAISE_ABSTRACT_ERROR", PHP_PARSEKIT_USAGE_UNKNOWN }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:323:4: error: 'ZEND_ADD_INTERFACE' undeclared here (not in a function) { ZEND_ADD_INTERFACE, "ZEND_ADD_INTERFACE", PHP_PARSEKIT_OP1_VAR | PHP_PARSEKIT_OP2_VAR | PHP_PARSEKIT_EXTENDED_VALUE }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:324:4: error: 'ZEND_VERIFY_ABSTRACT_CLASS' undeclared here (not in a function) { ZEND_VERIFY_ABSTRACT_CLASS, "ZEND_VERIFY_ABSTRACT_CLASS", PHP_PARSEKIT_OP1_VAR }, ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_node': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:148: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "type_name", php_parsekit_define_name(node->op_type, php_parsekit_nodetype_names, PHP_PARSEKIT_NODETYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "type_name", php_parsekit_define_name(node->op_type, php_parsekit_nodetype_names, PHP_PARSEKIT_NODETYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:73:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(tmpzval); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:125: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(return_value, "varname", op_array->vars[node->u.op.var].name, op_array->vars[node->u.op.var].name_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:3: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(return_value, "varname", op_array->vars[node->u.op.var].name, op_array->vars[node->u.op.var].name_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:3: warning: statement with no effect [-Wunused-value] In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:64: error: 'temp_variable' undeclared (first use in this function) add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:55: error: invalid operands to binary / (have 'uint32_t' and 'struct php_parsekit_define_list *') add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:4: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:99:55: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "opline_num", sop, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:99:4: warning: statement with no effect [-Wunused-value] add_assoc_string(return_value, "opline_num", sop, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:106:53: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "op_array", sop, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:106:4: warning: statement with no effect [-Wunused-value] add_assoc_string(return_value, "op_array", sop, 1); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:126:43: error: 'znode' has no member named 'EA' add_assoc_long(return_value, "EA", node->EA); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:126:4: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(return_value, "EA", node->EA); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:155: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "opcode_name", php_parsekit_define_name_ex(op->opcode, php_parsekit_opcode_names, &flags, PHP_PARSEKIT_OPCODE_UNKNOWN) , 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "opcode_name", php_parsekit_define_name_ex(op->opcode, php_parsekit_opcode_names, &flags, PHP_PARSEKIT_OPCODE_UNKNOWN) , 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:152:3: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [enabled by default] php_parsekit_parse_node(result, op_array, &(op->result), flags & PHP_PARSEKIT_RESULT_USED, options TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'struct znode *' but argument is of type 'union znode_op *' static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:161:3: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [enabled by default] php_parsekit_parse_node(op1, op_array, &(op->op1), flags & PHP_PARSEKIT_OP1_USED, options TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'struct znode *' but argument is of type 'union znode_op *' static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:170:3: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [enabled by default] php_parsekit_parse_node(op2, op_array, &(op->op2), flags & PHP_PARSEKIT_OP2_USED, options TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'struct znode *' but argument is of type 'union znode_op *' static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_derive_arginfo': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:225:25: error: 'zend_op_array' has no member named 'arg_types' for(i = 0; i < op_array->arg_types[0]; i++) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:225:15: error: invalid operands to binary < (have 'int' and 'php_parsekit_define_list') for(i = 0; i < op_array->arg_types[0]; i++) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:227:20: error: 'znode_op' has no member named 'op_type' opcodes[i*2].op1.op_type == IS_CONST && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:227:29: warning: comparison between pointer and integer [enabled by default] opcodes[i*2].op1.op_type == IS_CONST && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:20: error: 'znode_op' has no member named 'u' opcodes[i*2].op1.u.constant.type == IS_STRING && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:22: error: request for member 'constant' in something not a structure or union opcodes[i*2].op1.u.constant.type == IS_STRING && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:31: error: request for member 'type' in something not a structure or union opcodes[i*2].op1.u.constant.type == IS_STRING && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:37: warning: comparison between pointer and integer [enabled by default] opcodes[i*2].op1.u.constant.type == IS_STRING && ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:126: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(tmpzval, "name", opcodes[i*2].op1.u.constant.value.str.val, opcodes[i*2].op1.u.constant.value.str.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:4: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(tmpzval, "name", opcodes[i*2].op1.u.constant.value.str.val, opcodes[i*2].op1.u.constant.value.str.len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:4: warning: statement with no effect [-Wunused-value] In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:57: error: 'zend_op_array' has no member named 'arg_types' add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:404:90: note: in definition of macro 'add_assoc_bool' #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:4: error: incompatible type for argument 4 of 'add_assoc_bool_ex' add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:394:14: note: expected 'int' but argument is of type 'php_parsekit_define_list' ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:404:43: warning: statement with no effect [-Wunused-value] #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:4: note: in expansion of macro 'add_assoc_bool' add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:238:25: error: 'znode_op' has no member named 'op_type' opcodes[(i*2)+1].op2.op_type == IS_CONST) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:238:34: warning: comparison between pointer and integer [enabled by default] opcodes[(i*2)+1].op2.op_type == IS_CONST) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:32: error: 'znode_op' has no member named 'u' *def = opcodes[(i*2)+1].op2.u.constant; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:34: error: request for member 'constant' in something not a structure or union *def = opcodes[(i*2)+1].op2.u.constant; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:10: error: incompatible types when assigning to type 'zval' from type 'struct php_parsekit_define_list *' *def = opcodes[(i*2)+1].op2.u.constant; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:5: warning: statement with no effect [-Wunused-value] *def = opcodes[(i*2)+1].op2.u.constant; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op_array': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:144: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "type_name", php_parsekit_define_name(ops->type, php_parsekit_function_types, PHP_PARSEKIT_FUNCTYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "type_name", php_parsekit_define_name(ops->type, php_parsekit_function_types, PHP_PARSEKIT_FUNCTYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:269:72: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "function_name", ops->function_name, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:269:3: warning: statement with no effect [-Wunused-value] add_assoc_string(return_value, "function_name", ops->function_name, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:346:9: error: 'zend_op_array' has no member named 'arg_types' if (ops->arg_types) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:347:30: error: 'zend_op_array' has no member named 'arg_types' zend_uchar *arg_types = ops->arg_types; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:347:27: warning: initialization from incompatible pointer type [enabled by default] zend_uchar *arg_types = ops->arg_types; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:348:22: error: 'zend_op_array' has no member named 'arg_types' int numargs = *(ops->arg_types); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:348:17: error: incompatible types when initializing type 'int' using type 'php_parsekit_define_list' int numargs = *(ops->arg_types); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:373:49: error: 'zend_op_array' has no member named 'uses_globals' add_assoc_bool(return_value, "uses_global", ops->uses_globals); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:404:90: note: in definition of macro 'add_assoc_bool' #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:373:2: warning: passing argument 4 of 'add_assoc_bool_ex' makes integer from pointer without a cast [enabled by default] add_assoc_bool(return_value, "uses_global", ops->uses_globals); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:394:14: note: expected 'int' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:382:51: error: 'zend_op_array' has no member named 'last_brk_cont' add_assoc_long(return_value, "last_brk_cont", ops->last_brk_cont); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:382:2: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(return_value, "last_brk_cont", ops->last_brk_cont); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:384:61: error: 'zend_oparray_context' has no member named 'backpatch_count' add_assoc_long(return_value, "backpatch_count", CG(context).backpatch_count); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:384:2: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(return_value, "backpatch_count", CG(context).backpatch_count); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:387:9: error: 'zend_op_array' has no member named 'last_brk_cont' if (ops->last_brk_cont > 0) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:390:21: error: 'zend_op_array' has no member named 'last_brk_cont' for(i = 0; i < ops->last_brk_cont; i++) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:390:16: warning: comparison between pointer and integer [enabled by default] for(i = 0; i < ops->last_brk_cont; i++) { ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:40: error: 'zend_op_array' has no member named 'brk_cont_array' add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:59: error: 'php_parsekit_define_list' has no member named 'cont' add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:4: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:39: error: 'zend_op_array' has no member named 'brk_cont_array' add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:58: error: 'php_parsekit_define_list' has no member named 'brk' add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:4: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:42: error: 'zend_op_array' has no member named 'brk_cont_array' add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:61: error: 'php_parsekit_define_list' has no member named 'parent' add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:4: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:410:3: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(HASH_OF(tmpzval), ops->static_variables, (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:261: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 /opt/rh/php74/root/usr/include/php/Zend/zend_globals.h:26:0, from /opt/rh/php74/root/usr/include/php/Zend/zend_compile.h:711, from /opt/rh/php74/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php74/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' has no member named 'start_op' # define EG(v) (executor_globals.v) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:416:6: note: in expansion of macro 'EG' if (EG(start_op)) { ^ /opt/rh/php74/root/usr/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' has no member named 'start_op' # define EG(v) (executor_globals.v) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:419:50: note: in expansion of macro 'EG' snprintf(sop, sizeof(sop), "%X", (unsigned int)EG(start_op)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:420:52: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "start_op", sop, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:420:3: warning: statement with no effect [-Wunused-value] add_assoc_string(return_value, "start_op", sop, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:426:62: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "filename", ops->filename, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:426:3: warning: statement with no effect [-Wunused-value] add_assoc_string(return_value, "filename", ops->filename, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_node_simple': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:469:27: error: 'zval' has no member named 'type' switch (node->u.constant.type) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:474:9: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:483:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'zend_long' [-Wformat=] spprintf(pret, 0, "%ld", node->u.constant.value.lval); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:491:35: error: request for member 'len' in something not a structure or union if (node->u.constant.value.str.len > 15) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:491:40: warning: comparison between pointer and integer [enabled by default] if (node->u.constant.value.str.len > 15) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:492:63: error: request for member 'val' in something not a structure or union spprintf(pret, 0, "'%12s...'", node->u.constant.value.str.val); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:492:6: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct php_parsekit_define_list *' [-Wformat=] spprintf(pret, 0, "'%12s...'", node->u.constant.value.str.val); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:494:58: error: request for member 'val' in something not a structure or union spprintf(pret, 0, "'%s'", node->u.constant.value.str.val); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:494:6: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct php_parsekit_define_list *' [-Wformat=] spprintf(pret, 0, "'%s'", node->u.constant.value.str.val); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:500:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'zend_long' [-Wformat=] spprintf(pret, 0, "Resource ID#%ld", node->u.constant.value.lval); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:517:53: error: 'temp_variable' undeclared (first use in this function) spprintf(pret, 0, "T(%d)", node->u.op.var / sizeof(temp_variable)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:517:44: error: invalid operands to binary / (have 'uint32_t' and 'struct php_parsekit_define_list *') spprintf(pret, 0, "T(%d)", node->u.op.var / sizeof(temp_variable)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:517:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'struct php_parsekit_define_list *' [-Wformat=] spprintf(pret, 0, "T(%d)", node->u.op.var / sizeof(temp_variable)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op_array_simple': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:535:3: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [enabled by default] if (php_parsekit_parse_node_simple(&result, ops, &(op->result), ops TSRMLS_CC)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'struct znode *' but argument is of type 'union znode_op *' static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:538:3: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [enabled by default] if (php_parsekit_parse_node_simple(&op1, ops, &(op->op1), ops TSRMLS_CC)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'struct znode *' but argument is of type 'union znode_op *' static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:541:3: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [enabled by default] if (php_parsekit_parse_node_simple(&op2, ops, &(op->op2), ops TSRMLS_CC)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'struct znode *' but argument is of type 'union znode_op *' static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:553:3: error: too many arguments to function 'add_next_index_stringl' add_next_index_stringl(return_value, opline, opline_len, 0); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:433:14: note: declared here ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_pop_functions': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:3: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237: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); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:3: error: too many arguments to function 'zend_hash_get_current_data_ex' if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:237:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:79: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:585:62: warning: pointer type mismatch in conditional expression [enabled by default] function->common.scope ? function->common.scope->name : "", ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:588:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] php_parsekit_define_name(function->type, php_parsekit_function_types, PHP_PARSEKIT_FUNCTYPE_UNKNOWN)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:588:8: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'struct zend_string *' [-Wformat=] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:597:3: warning: passing argument 1 of 'strlen' from incompatible pointer type [enabled by default] add_assoc_zval(return_value, function->common.function_name, function_ops); ^ In file included from /opt/rh/php74/root/usr/include/php/main/../main/php_config.h:2348:0, from /opt/rh/php74/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php74/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'struct zend_string *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:597:3: warning: passing argument 2 of 'add_assoc_zval_ex' from incompatible pointer type [enabled by default] add_assoc_zval(return_value, function->common.function_name, function_ops); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:400:14: note: expected 'const char *' but argument is of type 'struct zend_string *' ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:3: 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(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:3: 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(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234:30: note: expected 'HashPosition *' but argument is of type 'long 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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:3: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:603:4: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] if (zend_hash_del(function_table, func_name, func_name_len) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:167: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:603:4: error: too many arguments to function 'zend_hash_del' if (zend_hash_del(function_table, func_name, func_name_len) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:167:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_class_entry': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:141: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "type_name", php_parsekit_define_name(ce->type, php_parsekit_class_types, PHP_PARSEKIT_CLASSTYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "type_name", php_parsekit_define_name(ce->type, php_parsekit_class_types, PHP_PARSEKIT_CLASSTYPE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:70: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(return_value, "name", ce->name, ce->name_length, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:2: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(return_value, "name", ce->name, ce->name_length, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:632:89: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(return_value, "parent", ce->parent->name, ce->parent->name_length, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:632:3: warning: statement with no effect [-Wunused-value] add_assoc_stringl(return_value, "parent", ce->parent->name, ce->parent->name_length, 1); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:741:44: error: invalid type argument of unary '*' (have 'int') add_assoc_long(return_value, "refcount", *(ce->refcount)); ^ /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:402:90: note: in definition of macro 'add_assoc_long' #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:741:3: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [enabled by default] add_assoc_long(return_value, "refcount", *(ce->refcount)); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:392:14: note: expected 'zend_long' but argument is of type 'struct php_parsekit_define_list *' ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:752:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct zend_string *' [-Wformat=] php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to cleanup class %s: Error scrubbing function_table", ce->name); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:275:6: error: request for member 'nNumOfElements' in something not a structure or union (ht)->nNumOfElements ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:760:6: note: in expansion of macro 'zend_hash_num_elements' if (zend_hash_num_elements(&(ce->default_properties_table)) > 0) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:765:3: warning: passing argument 2 of 'zend_hash_copy' from incompatible pointer type [enabled by default] zend_hash_copy(HASH_OF(tmpzval), &(ce->default_properties_table), (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:261:30: note: expected 'struct HashTable *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:765:3: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(HASH_OF(tmpzval), &(ce->default_properties_table), (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:261:30: note: declared here ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_pop_classes': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:60: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:7: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:62: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:800:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct zend_string *' [-Wformat=] php_parsekit_define_name(class_entry->type, php_parsekit_class_types, PHP_PARSEKIT_CLASSTYPE_UNKNOWN)); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:807:3: warning: passing argument 1 of 'strlen' from incompatible pointer type [enabled by default] add_assoc_zval(return_value, class_entry->name, class_data); ^ In file included from /opt/rh/php74/root/usr/include/php/main/../main/php_config.h:2348:0, from /opt/rh/php74/root/usr/include/php/Zend/zend_config.h:1, from /opt/rh/php74/root/usr/include/php/Zend/zend_portability.h:43, from /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:25, from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'struct zend_string *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:807:3: warning: passing argument 2 of 'add_assoc_zval_ex' from incompatible pointer type [enabled by default] add_assoc_zval(return_value, class_entry->name, class_data); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:400:14: note: expected 'const char *' but argument is of type 'struct zend_string *' ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value); ^ RPM build errors: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:3: 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(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:3: 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(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234:30: note: expected 'HashPosition *' but argument is of type 'long 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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:3: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:234: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:811:4: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] if (zend_hash_del(class_table, class_name, class_name_len) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:167: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:811:4: error: too many arguments to function 'zend_hash_del' if (zend_hash_del(class_table, class_name, class_name_len) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:167:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'zif_parsekit_opcode_name': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:107: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(php_parsekit_define_name(opcode, php_parsekit_opcode_names, PHP_PARSEKIT_OPCODE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(php_parsekit_define_name(opcode, php_parsekit_opcode_names, PHP_PARSEKIT_OPCODE_UNKNOWN), 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'zif_parsekit_func_arginfo': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:73: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:8: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:75: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1040:4: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (!classname || !*classname || (Z_TYPE_PP(classname) != IS_STRING && Z_TYPE_PP(classname) != IS_OBJECT)) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1045:5: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] class = Z_STRVAL_PP(classname); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1045:11: warning: assignment makes pointer from integer without a cast [enabled by default] class = Z_STRVAL_PP(classname); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1046:5: warning: implicit declaration of function 'Z_STRLEN_PP' [-Wimplicit-function-declaration] class_len = Z_STRLEN_PP(classname); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:5: warning: implicit declaration of function 'Z_OBJCE_PP' [-Wimplicit-function-declaration] class = Z_OBJCE_PP(classname)->name; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:34: error: invalid type argument of '->' (have 'int') class = Z_OBJCE_PP(classname)->name; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:34: error: request for member 'name' in something not a structure or union /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:11: warning: assignment from incompatible pointer type [enabled by default] class = Z_OBJCE_PP(classname)->name; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:38: error: invalid type argument of '->' (have 'int') class_len = Z_OBJCE_PP(classname)->name_length; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:38: error: request for member 'name_length' in something not a structure or union /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:15: warning: assignment makes integer from pointer without a cast [enabled by default] class_len = Z_OBJCE_PP(classname)->name_length; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:45: error: invalid type argument of '->' (have 'int') function_table = &(Z_OBJCE_PP(classname)->function_table); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:45: error: request for member 'function_table' in something not a structure or union /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:20: warning: assignment from incompatible pointer type [enabled by default] function_table = &(Z_OBJCE_PP(classname)->function_table); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1058:72: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 if (zend_hash_get_current_data(HASH_OF(function), (void **)&funcname) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1058:74: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data(HASH_OF(function), (void **)&funcname) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1066:10: warning: assignment makes pointer from integer without a cast [enabled by default] fname = Z_STRVAL_PP(funcname); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:3: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:74: warning: comparison between pointer and integer [enabled by default] if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175: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/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:2: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:33:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:73: warning: comparison between pointer and integer [enabled by default] if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: At top level: /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: error: 'BYREF_NONE' undeclared here (not in a function) static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:1: error: initializer element is not constant static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:1: error: (near initialization for 'php_parsekit_second_arg_force_ref[1]') /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: error: 'BYREF_FORCE' undeclared here (not in a function) static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:1: error: initializer element is not constant static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:1: error: (near initialization for 'php_parsekit_second_arg_force_ref[2]') /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(parsekit_compile_string, php_parsekit_second_arg_force_ref) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:2: warning: (near initialization for 'parsekit_functions[0].arg_info') [enabled by default] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(parsekit_compile_file, php_parsekit_second_arg_force_ref) ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:2: warning: (near initialization for 'parsekit_functions[1].arg_info') [enabled by default] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_error_cb': /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:65: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(tmpzval, "filename", (char *)error_filename, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(tmpzval, "filename", (char *)error_filename, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:60: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(tmpzval, "errstr", buffer, buffer_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:2: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(tmpzval, "errstr", buffer, buffer_len, 1); ^ /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:2: warning: statement with no effect [-Wunused-value] /builddir/build/BUILD/php74-php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1173:6: warning: variable 'buffer_len' set but not used [-Wunused-but-set-variable] int buffer_len; ^ make: *** [parsekit.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Vjnpge (%build) Bad exit status from /var/tmp/rpm-tmp.Vjnpge (%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-parsekit.spec