Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-spl-types.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php73-armhfp-ef008624a8dd4d37d0af587e813010cc5c8d3373/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-spl-types.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php73-php-pecl-spl-types-0.4.0-10.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-spl-types.spec"], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php73-armhfp-ef008624a8dd4d37d0af587e813010cc5c8d3373/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-spl-types.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.MWWlkb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-spl-types-0.4.0 + /usr/bin/mkdir -p php73-php-pecl-spl-types-0.4.0 + cd php73-php-pecl-spl-types-0.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/SPL_Types-0.4.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv SPL_Types-0.4.0 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + cp -p /builddir/build/SOURCES/3_01.txt LICENSE + find . -type f -exec chmod -x '{}' ';' ++ sed -n '/#define PHP_SPL_TYPES_VERSION/{s/.* "//;s/".*$//;p}' php_spl_types.h + extver=0.4.0 + test x0.4.0 '!=' x0.4.0 + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gBDXIs + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-spl-types-0.4.0 + cd NTS + /opt/rh/php73/root/usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php73/root/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/opt/rh/php73/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php73/root/usr --exec-prefix=/opt/rh/php73/root/usr --bindir=/opt/rh/php73/root/usr/bin --sbindir=/opt/rh/php73/root/usr/sbin --sysconfdir=/etc/opt/rh/php73 --datadir=/opt/rh/php73/root/usr/share --includedir=/opt/rh/php73/root/usr/include --libdir=/opt/rh/php73/root/usr/lib --libexecdir=/opt/rh/php73/root/usr/libexec --localstatedir=/var/opt/rh/php73 --sharedstatedir=/var/opt/rh/php73/lib --mandir=/opt/rh/php73/root/usr/share/man --infodir=/opt/rh/php73/root/usr/share/info --with-libdir=lib --with-php-config=/opt/rh/php73/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/php73/root/usr checking for PHP includes... -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php73/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php73/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking enable SPL Types suppport... yes, shared checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/php_spl_types.c -o php_spl_types.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c -o spl_type.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/php_spl_types.c -fPIC -DPIC -o .libs/php_spl_types.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c -fPIC -DPIC -o .libs/spl_type.o In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/php_spl_types.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_free_storage': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:74:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:35:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: At top level: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:80:1: error: unknown type name 'zend_object_value' static zend_object_value spl_type_object_new_ex(zend_class_entry *class_type, zend_bool spl_type_strict, spl_type_object **obj, spl_type_set_t set TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_new_ex': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:82:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(object, (zend_objects_store_dtor_t) zend_objects_destroy_object, (zend_objects_free_object_storage_t) spl_type_object_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(object, (zend_objects_store_dtor_t) zend_objects_destroy_object, (zend_objects_free_object_storage_t) spl_type_object_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:50: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:77: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(object, (zend_objects_store_dtor_t) zend_objects_destroy_object, (zend_objects_free_object_storage_t) spl_type_object_free_storage, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:77: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_objects_API.h:61:29: note: expected 'struct zend_object *' but argument is of type 'struct spl_type_object *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:101:77: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(object, (zend_objects_store_dtor_t) zend_objects_destroy_object, (zend_objects_free_object_storage_t) spl_type_object_free_storage, NULL TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_objects_API.h:61:29: note: declared here ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:102:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &spl_handler_SplType; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:106:2: warning: implicit declaration of function 'ALLOC_INIT_ZVAL' [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(object->value); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:108:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(&class_type->constants_table, "__default", sizeof("__default"), (void **) &def) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:108:2: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(&class_type->constants_table, "__default", sizeof("__default"), (void **) &def) == FAILURE) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:108:101: warning: comparison between pointer and integer [enabled by default] if (zend_hash_find(&class_type->constants_table, "__default", sizeof("__default"), (void **) &def) == FAILURE) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:109:3: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct zend_string *' [-Wformat=] php_error_docref(NULL TSRMLS_CC, E_COMPILE_ERROR, "Class constant %s::__default doesn not exist", class_type->name); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:84:8: warning: unused variable 'tmp' [-Wunused-variable] zval *tmp, **def; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: At top level: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:119:1: error: unknown type name 'zend_object_value' static zend_object_value spl_type_object_clone(zval *zobject TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_clone': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:121:2: error: unknown type name 'zend_object_value' zend_object_value new_obj_val; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:124:2: error: unknown type name 'zend_object_handle' zend_object_handle handle = Z_OBJ_HANDLE_P(zobject); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:128:2: warning: implicit declaration of function 'zend_objects_get_address' [-Wimplicit-function-declaration] old_object = zend_objects_get_address(zobject TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:128:13: warning: assignment makes pointer from integer without a cast [enabled by default] old_object = zend_objects_get_address(zobject TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:134:2: warning: passing argument 2 of 'zend_objects_clone_members' makes pointer from integer without a cast [enabled by default] zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:32:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_objects.h:28:29: note: expected 'struct zend_object *' but argument is of type 'int' ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_object); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:134:2: error: too many arguments to function 'zend_objects_clone_members' zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:32:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_objects.h:28:29: note: declared here ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_object); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_enum_apply_set': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:146:2: warning: implicit declaration of function 'INIT_ZVAL' [-Wimplicit-function-declaration] INIT_ZVAL(result); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_set_enum': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:193:3: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct zend_string *' [-Wformat=] zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Value not a const in enum %s", inf->object->std.ce->name); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_set_int': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:205:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:205:3: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:250:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_set_string': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:218:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:218:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:218:3: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:249:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_set_float': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:231:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_double_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:231:3: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type [enabled by default] convert_to_double_ex(&inf->object->value); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:251:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_double(zval *op); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_set': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:241:2: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] inf.object = (spl_type_object*)zend_object_store_get_object(*pzobject TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:246:3: warning: implicit declaration of function 'Z_OBJCE_PP' [-Wimplicit-function-declaration] zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "Value of type %s was not initialized properly", Z_OBJCE_PP(pzobject)->name); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:246:134: error: invalid type argument of '->' (have 'int') zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "Value of type %s was not initialized properly", Z_OBJCE_PP(pzobject)->name); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:251:3: error: too few arguments to function 'value->value.obj->handlers->get' inf.value = Z_OBJ_HANDLER_P(value, get)(value TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:258:3: warning: implicit declaration of function 'FREE_ZVAL' [-Wimplicit-function-declaration] FREE_ZVAL(inf.value); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_get': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:268:2: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(value); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_type_object_get_properties': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:286:2: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(object->properties_copy, object->std.properties, (copy_ctor_func_t) zval_add_ref, (void*)&tmp, sizeof(zval *)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:241:30: note: declared here ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:289:2: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] zend_hash_update(object->properties_copy, "__default", sizeof("__default"), (void*)&object->value, sizeof(zval *), (void**)&tmp); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:289:2: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] zend_hash_update(object->properties_copy, "__default", sizeof("__default"), (void*)&object->value, sizeof(zval *), (void**)&tmp); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'unsigned int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:289:2: error: too many arguments to function 'zend_hash_update' zend_hash_update(object->properties_copy, "__default", sizeof("__default"), (void*)&object->value, sizeof(zval *), (void**)&tmp); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ RPM build errors: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'zim_spl_SplType___construct': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:346:2: warning: 'php_set_error_handling' is deprecated (declared at /opt/rh/php73/root/usr/include/php/main/php.h:364) [-Wdeprecated-declarations] php_set_error_handling(EH_THROW, spl_ce_InvalidArgumentException TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:349:3: warning: 'php_set_error_handling' is deprecated (declared at /opt/rh/php73/root/usr/include/php/main/php.h:364) [-Wdeprecated-declarations] php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:354:23: error: lvalue required as unary '&' operand spl_type_object_set(&getThis(), value TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:357:2: warning: 'php_set_error_handling' is deprecated (declared at /opt/rh/php73/root/usr/include/php/main/php.h:364) [-Wdeprecated-declarations] php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'spl_enum_apply_get_consts': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:371:40: error: 'zend_hash_key' has no member named 'arKey' add_assoc_zval(return_value, hash_key->arKey, val); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:406:72: note: in definition of macro 'add_assoc_zval' #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:371:40: error: 'zend_hash_key' has no member named 'arKey' add_assoc_zval(return_value, hash_key->arKey, val); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:406:86: note: in definition of macro 'add_assoc_zval' #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'zim_spl_SplEnum_getConstList': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:390:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] zend_hash_find(&ce->constants_table, "__default", sizeof("__default"), (void **) &def); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:390:3: error: too many arguments to function 'zend_hash_find' zend_hash_find(&ce->constants_table, "__default", sizeof("__default"), (void **) &def); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:25: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: At top level: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:400:1: error: unknown type name 'zend_object_value' static zend_object_value spl_type_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:406:1: error: unknown type name 'zend_object_value' static zend_object_value spl_int_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:412:1: error: unknown type name 'zend_object_value' static zend_object_value spl_float_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:418:1: error: unknown type name 'zend_object_value' static zend_object_value spl_string_object_new(zend_class_entry *class_type TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:443:1: error: unknown type name 'zend_object_value' static zend_object_value spl_enum_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: In function 'zm_startup_spl_type': /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:451:2: warning: passing argument 3 of 'spl_register_std_class' from incompatible pointer type [enabled by default] REGISTER_SPL_STD_CLASS_EX(SplType, spl_type_object_new, spl_funcs_SplType); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:50:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:454:37: warning: assignment from incompatible pointer type [enabled by default] spl_handler_SplType.clone_obj = spl_type_object_clone; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:455:37: warning: assignment from incompatible pointer type [enabled by default] spl_handler_SplType.get = spl_type_object_get; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:456:37: warning: assignment from incompatible pointer type [enabled by default] spl_handler_SplType.set = spl_type_object_set; ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:469:2: warning: passing argument 4 of 'spl_register_sub_class' from incompatible pointer type [enabled by default] REGISTER_SPL_SUB_CLASS_EX(SplEnum, SplType, spl_enum_object_new, spl_funcs_SplEnum); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:51:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:472:2: warning: passing argument 4 of 'spl_register_sub_class' from incompatible pointer type [enabled by default] REGISTER_SPL_SUB_CLASS_EX(SplBool, SplEnum, spl_enum_object_new, NULL); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:51:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:477:2: warning: passing argument 4 of 'spl_register_sub_class' from incompatible pointer type [enabled by default] REGISTER_SPL_SUB_CLASS_EX(SplInt, SplType, spl_int_object_new, NULL); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:51:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:480:2: warning: passing argument 4 of 'spl_register_sub_class' from incompatible pointer type [enabled by default] REGISTER_SPL_SUB_CLASS_EX(SplFloat, SplType, spl_float_object_new, NULL); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:51:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:483:5: warning: passing argument 4 of 'spl_register_sub_class' from incompatible pointer type [enabled by default] REGISTER_SPL_SUB_CLASS_EX(SplString, SplType, spl_string_object_new, NULL); ^ In file included from /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:32:0: /opt/rh/php73/root/usr/include/php/ext/spl/spl_functions.h:51:6: note: expected 'create_object_func_t' but argument is of type 'int (*)(struct zend_class_entry *)' void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list); ^ /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c: At top level: /builddir/build/BUILD/php73-php-pecl-spl-types-0.4.0/NTS/spl_type.c:62:13: warning: 'spl_type_object_free_storage' defined but not used [-Wunused-function] static void spl_type_object_free_storage(void *_object TSRMLS_DC) /* {{{ */ ^ make: *** [spl_type.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.gBDXIs (%build) Bad exit status from /var/tmp/rpm-tmp.gBDXIs (%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-spl-types.spec