Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-ircclient.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-c4ad516331efde76baea5cd125e41a9388897a33/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-ircclient.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-ircclient-0.3.0-6.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-ircclient.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-c4ad516331efde76baea5cd125e41a9388897a33/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-ircclient.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.mBAgQh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-ircclient-0.3.0 + /usr/bin/mkdir -p php74-php-pecl-ircclient-0.3.0 + cd php74-php-pecl-ircclient-0.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ircclient-0.3.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ircclient-0.3.0 NTS + sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml Patch #0 (ircclient-upstream.patch): + cd NTS + echo 'Patch #0 (ircclient-upstream.patch):' + /usr/bin/cat /builddir/build/SOURCES/ircclient-upstream.patch + /usr/bin/patch -p1 -b --suffix .upstream --fuzz=0 patching file config.m4 patching file php_ircclient.c patching file php_ircclient.c patching file php_ircclient.c patching file php_ircclient.c patching file php_ircclient.c patching file php_ircclient.c patching file config.m4 patching file php_ircclient.c Hunk #1 succeeded at 1422 (offset 1 line). patching file php_ircclient.c patching file config.m4 + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DGMT5s + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-ircclient-0.3.0 + cd NTS + /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-php-config=/opt/rh/php74/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-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 for ircclient support... yes, shared checking for grep... (cached) /usr/bin/grep checking for sed... (cached) /usr/bin/sed checking for libircclient.h... found in /usr checking libircclient version... unkown checking for irc_callbacks_t.event_channel_notice... yes checking for irc_create_session in -lircclient... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: 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 + make -j4 /bin/sh /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS -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-ircclient-0.3.0/NTS/php_ircclient.c -o php_ircclient.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/include -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/main -I/builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS -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-ircclient-0.3.0/NTS/php_ircclient.c -fPIC -DPIC -o .libs/php_ircclient.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-ircclient-0.3.0/NTS/php_ircclient.c:17: /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))) { ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zif_parse_origin': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:48:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(znick); ZVAL_NULL(znick); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:56:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(znick, ptr, siz, 1); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:56:7: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(znick, ptr, siz, 1); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:56:7: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:59:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zuser, ptr, siz, 1); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:62:38: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zhost, ptr, siz, 1); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: At top level: /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:144:2: error: unknown type name 'zend_object_value' zend_object_value ov; ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_session_callback_dtor': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:173:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&cb->zfn); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: At top level: /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:176:1: error: unknown type name 'zend_object_value' zend_object_value php_ircclient_session_object_create(zend_class_entry *ce TSRMLS_DC) ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_session_object_create': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:193:2: warning: passing argument 3 of '_zend_hash_init' from incompatible pointer type [enabled by default] zend_hash_init(&obj->cbc, 10, NULL, php_ircclient_session_callback_dtor, 0); ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:100: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:196:9: error: request for member 'handle' in something not a structure or union obj->ov.handle = zend_objects_store_put(obj, NULL, php_ircclient_session_object_free, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:196:2: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] obj->ov.handle = zend_objects_store_put(obj, NULL, php_ircclient_session_object_free, NULL TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_globals.h:33: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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_objects_API.h:61:29: note: expected 'struct zend_object *' but argument is of type 'struct php_ircclient_session_object_t *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:196:2: error: too many arguments to function 'zend_objects_store_put' obj->ov.handle = zend_objects_store_put(obj, NULL, php_ircclient_session_object_free, NULL TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_globals.h:33: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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:197:9: error: request for member 'handlers' in something not a structure or union obj->ov.handlers = zend_get_std_object_handlers(); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_session_get_callback': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:208:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (SUCCESS == zend_hash_find(&obj->cbc, fn_str, fn_len + 1, (void *) &cbp)) { ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:175:30: note: expected 'struct zend_string *' but argument is of type 'const char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:208:2: error: too many arguments to function 'zend_hash_find' if (SUCCESS == zend_hash_find(&obj->cbc, fn_str, fn_len + 1, (void *) &cbp)) { ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /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-ircclient-0.3.0/NTS/php_ircclient.c:213:15: error: lvalue required as left operand of assignment Z_TYPE_P(zo) = IS_OBJECT; ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:214:16: warning: assignment makes pointer from integer without a cast [enabled by default] zo->value.obj = obj->ov; ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:215:2: warning: implicit declaration of function 'zend_objects_store_add_ref' [-Wimplicit-function-declaration] zend_objects_store_add_ref(zo TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:218:54: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(zm, estrndup(fn_str, fn_len), fn_len, 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:218:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(zm, estrndup(fn_str, fn_len), fn_len, 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:226:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&cb.zfn); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:230:2: warning: passing argument 2 of 'zend_hash_add' from incompatible pointer type [enabled by default] if (SUCCESS != zend_hash_add(&obj->cbc, fn_str, fn_len + 1, &cb, sizeof(cb), (void *) &cbp)) { ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: expected 'struct zend_string *' but argument is of type 'const char *' ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:230:2: warning: passing argument 3 of 'zend_hash_add' makes pointer from integer without a cast [enabled by default] if (SUCCESS != zend_hash_add(&obj->cbc, fn_str, fn_len + 1, &cb, sizeof(cb), (void *) &cbp)) { ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:230:2: error: too many arguments to function 'zend_hash_add' if (SUCCESS != zend_hash_add(&obj->cbc, fn_str, fn_len + 1, &cb, sizeof(cb), (void *) &cbp)) { ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_hash.h:121:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_add(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:231:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&cb.zfn); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_event_callback': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:262:38: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zo, estrdup(origin), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:262:4: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zo, estrdup(origin), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:270:4: error: too many arguments to function 'add_next_index_string' add_next_index_string(zp, estrdup(params[i]), 0); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:277:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zo); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:278:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_event_code_callback': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:297:38: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zo, estrdup(origin), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:297:4: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zo, estrdup(origin), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:308:4: error: too many arguments to function 'add_next_index_string' add_next_index_string(zp, estrdup(params[i]), 0); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:315:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zp); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:316:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&ze); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:317:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zo); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_event_dcc_chat_callback': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:331:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zn, estrdup(nick), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:331:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zn, estrdup(nick), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:333:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(za, estrdup(addr), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:341:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:342:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&za); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:343:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zn); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'php_ircclient_event_dcc_send_callback': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:357:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zn, estrdup(nick), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:357:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(zn, estrdup(nick), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:359:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(za, estrdup(addr), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:361:39: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(zf, estrdup(filename), 0); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:371:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:372:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zs); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:373:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zf); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:374:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&za); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:375:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zn); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doConnect': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:420:3: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:420:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:424:3: error: too few arguments to function 'zend_read_property' znick = zend_read_property(php_ircclient_session_class_entry, getThis(), ZEND_STRL("nick"), 0 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:426:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&znick); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:426:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&znick); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:426:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(&znick); ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:248: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:430:3: error: too few arguments to function 'zend_read_property' zuser = zend_read_property(php_ircclient_session_class_entry, getThis(), ZEND_STRL("user"), 0 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:432:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&zuser); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:432:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&zuser); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:432:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(&zuser); ^ 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:248: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:436:3: error: too few arguments to function 'zend_read_property' zreal = zend_read_property(php_ircclient_session_class_entry, getThis(), ZEND_STRL("real"), 0 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:438:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&zreal); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:438:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&zreal); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_types.h:440: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:438:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(&zreal); ^ RPM build errors: 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-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_operators.h:248: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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:455:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&znick); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:456:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zuser); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:457:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&zreal); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend.h:36:0, from /opt/rh/php74/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/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/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_isConnected': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:466:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_disconnect': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:477:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_run': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:498:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:517:64: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 SUCCESS == zend_hash_get_current_data(ifds, (void *) &zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:517:18: error: 'zend_hash_get_current_data' undeclared (first use in this function) SUCCESS == zend_hash_get_current_data(ifds, (void *) &zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:520:6: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (Z_TYPE_PP(zfd) == IS_RESOURCE) { ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:524:7: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval_no_verify(s, zfd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php74/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:539:64: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 SUCCESS == zend_hash_get_current_data(ofds, (void *) &zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:546:7: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval_no_verify(s, zfd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php74/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:598:64: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 SUCCESS == zend_hash_get_current_data(ifds, (void *) &zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:605:7: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval_no_verify(s, zfd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php74/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:609:9: warning: implicit declaration of function 'Z_ADDREF_PP' [-Wimplicit-function-declaration] Z_ADDREF_PP(zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:618:64: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 SUCCESS == zend_hash_get_current_data(ofds, (void *) &zfd); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:625:7: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval_no_verify(s, zfd); ^ In file included from /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php74/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_setOption': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:669:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doJoin': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:694:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doPart': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:717:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doInvite': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:741:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doNames': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:764:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doList': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:787:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doTopic': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:811:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doChannelMode': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:835:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doKick': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:860:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doMsg': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:884:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doMe': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:908:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doNotice': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:932:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doQuit': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:955:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doUserMode': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:978:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doNick': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1001:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doWhois': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1024:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doCtcpReply': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1048:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doCtcpRequest': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1072:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zim_Session_doRaw': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1095:41: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'call_closure': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1133:40: warning: initialization makes pointer from integer without a cast [enabled by default] php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1138:3: warning: implicit declaration of function 'INIT_PZVAL' [-Wimplicit-function-declaration] INIT_PZVAL(&za); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1149:2: warning: passing argument 2 of '_zend_get_parameters_array_ex' from incompatible pointer type [enabled by default] if (SUCCESS == zend_get_parameters_array(ZEND_NUM_ARGS(), ZEND_NUM_ARGS(), params)) { ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:240:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _zend_get_parameters_array_ex(int param_count, zval *argument_array); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1150:3: error: too few arguments to function 'zend_read_property' zval *prop = zend_read_property(Z_OBJCE_P(getThis()), getThis(), prop_str, prop_len, 0 TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:358:16: note: declared here ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1153:4: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(NULL, NULL, prop, return_value, ZEND_NUM_ARGS(), params TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:463:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c: In function 'zm_startup_ircclient': /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1248:19: warning: assignment from incompatible pointer type [enabled by default] ce.create_object = php_ircclient_session_object_create; ^ /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:1249:2: error: too many arguments to function 'zend_register_internal_class_ex' php_ircclient_session_class_entry = zend_register_internal_class_ex(&ce, NULL, NULL TSRMLS_CC); ^ In file included from /opt/rh/php74/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php74-php-pecl-ircclient-0.3.0/NTS/php_ircclient.c:17: /opt/rh/php74/root/usr/include/php/Zend/zend_API.h:283:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ make: *** [php_ircclient.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.DGMT5s (%build) Bad exit status from /var/tmp/rpm-tmp.DGMT5s (%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-ircclient.spec