Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-quickhash.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php73-armhfp-953a4f3b65b3116c5cd4146235e84ec621a3fdf7/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-quickhash.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-quickhash-1.0.0-8.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-quickhash.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-SCLs_php73-armhfp-953a4f3b65b3116c5cd4146235e84ec621a3fdf7/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-quickhash.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.ZxZG4o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-quickhash-1.0.0 + /usr/bin/mkdir -p php73-php-pecl-quickhash-1.0.0 + cd php73-php-pecl-quickhash-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/quickhash-1.0.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv quickhash-1.0.0 NTS + sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + echo 'Patch #0 (quickhash-pr4.patch):' Patch #0 (quickhash-pr4.patch): + /usr/bin/cat /builddir/build/SOURCES/quickhash-pr4.patch + /usr/bin/patch -p1 --fuzz=0 patching file qh_iterator.c patching file qh_inthash.c patching file qh_intset.c patching file qh_intstringhash.c patching file qh_stringinthash.c patching file quickhash.h patching file qh_inthash.c patching file qh_intset.c patching file qh_intstringhash.c patching file qh_stringinthash.c patching file qh_inthash.c patching file qh_intstringhash.c patching file qh_stringinthash.c patching file quickhash.c patching file php_quickhash.h patching file quickhash.c Patch #1 (quickhash-pr5.patch): + echo 'Patch #1 (quickhash-pr5.patch):' + /usr/bin/cat /builddir/build/SOURCES/quickhash-pr5.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/hash-algorithms.c patching file lib/hash-algorithms.h ++ sed -n '/#define PHP_QUICKHASH_VERSION/{s/.* "//;s/".*$//;p}' php_quickhash.h + extver=1.0.0 + test x1.0.0 '!=' x1.0.0 + cd .. + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u5aEXR + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-quickhash-1.0.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 whether to enable quickhash support... yes, shared checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: 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-quickhash-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/quickhash.c -o quickhash.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_inthash.c -o qh_inthash.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_intset.c -o qh_intset.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_intstringhash.c -o qh_intstringhash.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/quickhash.c -fPIC -DPIC -o .libs/quickhash.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_inthash.c -fPIC -DPIC -o .libs/qh_inthash.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_intstringhash.c -fPIC -DPIC -o .libs/qh_intstringhash.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/include -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/main -I/builddir/build/BUILD/php73-php-pecl-quickhash-1.0.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-quickhash-1.0.0/NTS/qh_intset.c -fPIC -DPIC -o .libs/qh_intset.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-quickhash-1.0.0/NTS/quickhash.c:24: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:20: /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))) { ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/quickhash.c: In function 'qh_instantiate': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/quickhash.c:78:19: error: lvalue required as left operand of assignment Z_TYPE_P(object) = IS_OBJECT; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:39:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_inthash(zend_class_entry *class_type TSRMLS_DC); ^ In file included from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/quickhash.c:32:0: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/quickhash.h:37:43: error: 'zval' has no member named 'is_ref' #define Z_UNSET_ISREF_P(pz) (pz)->is_ref = 0 ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/quickhash.c:81:2: note: in expansion of macro 'Z_UNSET_ISREF_P' Z_UNSET_ISREF_P(object); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:40:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_intstringhash(zend_class_entry *class_type TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'qh_register_class_inthash': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:121:27: warning: assignment from incompatible pointer type [enabled by default] ce_inthash.create_object = qh_object_new_inthash; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:122:2: error: too many arguments to function 'zend_register_internal_class_ex' qh_ce_inthash = zend_register_internal_class_ex(&ce_inthash, php_qh_get_intset_ce(), 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-quickhash-1.0.0/NTS/qh_inthash.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:285:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:125:15: error: 'zend_class_entry' has no member named 'iterator_funcs' qh_ce_inthash->iterator_funcs.funcs = &qh_inthash_it_funcs; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:134:1: error: unknown type name 'zend_object_value' static inline zend_object_value qh_object_new_inthash_ex(zend_class_entry *class_type, php_qh_inthash_obj **ptr TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'qh_object_new_inthash_ex': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:137:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:152:52: error: 'zend_class_entry' has no member named 'default_properties' zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:152:2: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(intern->std.properties, &class_type->default_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-quickhash-1.0.0/NTS/qh_inthash.c:20: /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-quickhash-1.0.0/NTS/qh_inthash.c:155:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_inthash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:155:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_inthash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:155:50: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:155:76: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_inthash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:155:76: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:20: /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 php_qh_inthash_obj *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'qh_register_class_intstringhash': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:155:76: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_inthash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:124:33: warning: assignment from incompatible pointer type [enabled by default] ce_intstringhash.create_object = qh_object_new_intstringhash; ^ 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-quickhash-1.0.0/NTS/qh_inthash.c:20: /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-quickhash-1.0.0/NTS/qh_inthash.c:156:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &qh_object_handlers_inthash; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:125:2: error: too many arguments to function 'zend_register_internal_class_ex' qh_ce_intstringhash = zend_register_internal_class_ex(&ce_intstringhash, php_qh_get_inthash_ce(), NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: At top level: In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:285:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:161:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_inthash(zend_class_entry *class_type TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:128:21: error: 'zend_class_entry' has no member named 'iterator_funcs' qh_ce_intstringhash->iterator_funcs.funcs = &qh_inthash_it_funcs; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:137:1: error: unknown type name 'zend_object_value' static inline zend_object_value qh_object_new_intstringhash_ex(zend_class_entry *class_type, php_qh_intstringhash_obj **ptr TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'qh_object_new_intstringhash_ex': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:140:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'zim_QuickHashIntHash_add': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:192:2: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] inthash_obj = (php_qh_inthash_obj *) zend_object_store_get_object(object TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'zim_QuickHashIntHash_get': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:214:28: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(value.s, 1); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:214:4: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(value.s, 1); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:155:52: error: 'zend_class_entry' has no member named 'default_properties' zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:155:2: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(intern->std.properties, &class_type->default_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-quickhash-1.0.0/NTS/qh_intstringhash.c:20: /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-quickhash-1.0.0/NTS/qh_intstringhash.c:158:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intstringhash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:158:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intstringhash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:158:50: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:158:76: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intstringhash, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:158:76: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:20: /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 php_qh_intstringhash_obj *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:158:76: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intstringhash, 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-quickhash-1.0.0/NTS/qh_intstringhash.c:20: /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-quickhash-1.0.0/NTS/qh_intstringhash.c:159:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &qh_object_handlers_intstringhash; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:164:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_intstringhash(zend_class_entry *class_type TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'zim_QuickHashIntHash_loadFromFile': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'zim_QuickHashIntStringHash___construct': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:319:3: warning: passing argument 1 of 'qh_inthash_initialize_from_file' makes pointer from integer without a cast [enabled by default] qh_inthash_initialize_from_file(zend_object_store_get_object(return_value TSRMLS_CC), stream, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:210:3: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] if (!qh_intstringhash_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), size, flags TSRMLS_CC)) { ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:281:17: note: expected 'struct php_qh_inthash_obj *' but argument is of type 'int' static uint32_t qh_inthash_initialize_from_file(php_qh_inthash_obj *obj, php_stream *stream, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:210:3: warning: passing argument 1 of 'qh_intstringhash_initialize' makes pointer from integer without a cast [enabled by default] /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:185:12: note: expected 'struct php_qh_intset_obj *' but argument is of type 'int' static int qh_intstringhash_initialize(php_qh_intset_obj *obj, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'zim_QuickHashIntHash_loadFromString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:419:2: warning: passing argument 1 of 'qh_inthash_initialize_from_string' makes pointer from integer without a cast [enabled by default] qh_inthash_initialize_from_string(zend_object_store_get_object(return_value TSRMLS_CC), contents, contents_len, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:386:17: note: expected 'struct php_qh_inthash_obj *' but argument is of type 'int' static uint32_t qh_inthash_initialize_from_string(php_qh_inthash_obj *obj, char *contents, long length, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: In function 'zim_QuickHashIntHash_saveToString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:455:38: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(string, string_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:455:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(string, string_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:443:21: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'zim_QuickHashIntStringHash_loadFromFile': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:341:3: warning: passing argument 1 of 'qh_intstringhash_initialize_from_file' makes pointer from integer without a cast [enabled by default] qh_intstringhash_initialize_from_file(zend_object_store_get_object(return_value TSRMLS_CC), stream, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:303:17: note: expected 'struct php_qh_intstringhash_obj *' but argument is of type 'int' static uint32_t qh_intstringhash_initialize_from_file(php_qh_intstringhash_obj *obj, php_stream *stream, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_inthash.c:166:13: warning: 'qh_object_free_storage_inthash' defined but not used [-Wunused-function] static void qh_object_free_storage_inthash(void *object TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'zim_QuickHashIntStringHash_loadFromString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:443:2: warning: passing argument 1 of 'qh_intstringhash_initialize_from_string' makes pointer from integer without a cast [enabled by default] qh_intstringhash_initialize_from_string(zend_object_store_get_object(return_value TSRMLS_CC), contents, contents_len, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:410:17: note: expected 'struct php_qh_intstringhash_obj *' but argument is of type 'int' static uint32_t qh_intstringhash_initialize_from_string(php_qh_intstringhash_obj *obj, char *contents, long length, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: In function 'zim_QuickHashIntStringHash_saveToString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:479:38: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(string, string_len, 0); ^ make: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:479:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(string, string_len, 0); ^ *** [quickhash.lo] Error 1 make: *** Waiting for unfinished jobs.... /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:467:21: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intstringhash.c:169:13: warning: 'qh_object_free_storage_intstringhash' defined but not used [-Wunused-function] static void qh_object_free_storage_intstringhash(void *object TSRMLS_DC) ^ make: *** [qh_inthash.lo] Error 1 /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:38:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_intset(zend_class_entry *class_type TSRMLS_DC); ^ make: *** [qh_intstringhash.lo] Error 1 /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'qh_register_class_intset': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:108:26: warning: assignment from incompatible pointer type [enabled by default] ce_intset.create_object = qh_object_new_intset; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:109:2: error: too many arguments to function 'zend_register_internal_class_ex' qh_ce_intset = zend_register_internal_class_ex(&ce_intset, NULL, 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-quickhash-1.0.0/NTS/qh_intset.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:285:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:112:14: error: 'zend_class_entry' has no member named 'iterator_funcs' qh_ce_intset->iterator_funcs.funcs = &qh_intset_it_funcs; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:121:1: error: unknown type name 'zend_object_value' static inline zend_object_value qh_object_new_intset_ex(zend_class_entry *class_type, php_qh_intset_obj **ptr TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'qh_object_new_intset_ex': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:124:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:139:52: error: 'zend_class_entry' has no member named 'default_properties' zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:139:2: error: too many arguments to function 'zend_hash_copy' zend_hash_copy(intern->std.properties, &class_type->default_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-quickhash-1.0.0/NTS/qh_intset.c:20: /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-quickhash-1.0.0/NTS/qh_intset.c:142:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intset, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:142:50: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intset, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:142:50: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:142:76: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intset, NULL TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:142:76: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_globals.h:33:0, from /opt/rh/php73/root/usr/include/php/Zend/zend_compile.h:708, from /opt/rh/php73/root/usr/include/php/Zend/zend_modules.h:24, from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:25, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:20: /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 php_qh_intset_obj *' ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:142:76: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) qh_object_free_storage_intset, 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-quickhash-1.0.0/NTS/qh_intset.c:20: /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-quickhash-1.0.0/NTS/qh_intset.c:143:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &qh_object_handlers_intset; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:148:1: error: unknown type name 'zend_object_value' static zend_object_value qh_object_new_intset(zend_class_entry *class_type TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'zim_QuickHashIntSet___construct': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:193:3: warning: implicit declaration of function 'zend_object_store_get_object' [-Wimplicit-function-declaration] if (!qh_intset_initialize(zend_object_store_get_object(getThis() TSRMLS_CC), size, flags TSRMLS_CC)) { ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:193:3: warning: passing argument 1 of 'qh_intset_initialize' makes pointer from integer without a cast [enabled by default] /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:169:12: note: expected 'struct php_qh_intset_obj *' but argument is of type 'int' static int qh_intset_initialize(php_qh_intset_obj *obj, long size, long flags TSRMLS_DC) ^ RPM build errors: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'zim_QuickHashIntSet_loadFromFile': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:314:3: warning: passing argument 1 of 'qh_intset_initialize_from_file' makes pointer from integer without a cast [enabled by default] qh_intset_initialize_from_file(zend_object_store_get_object(return_value TSRMLS_CC), stream, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:276:17: note: expected 'struct php_qh_intset_obj *' but argument is of type 'int' static uint32_t qh_intset_initialize_from_file(php_qh_intset_obj *obj, php_stream *stream, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'zim_QuickHashIntSet_loadFromString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:405:2: warning: passing argument 1 of 'qh_intset_initialize_from_string' makes pointer from integer without a cast [enabled by default] qh_intset_initialize_from_string(zend_object_store_get_object(return_value TSRMLS_CC), contents, contents_len, size, flags TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:372:17: note: expected 'struct php_qh_intset_obj *' but argument is of type 'int' static uint32_t qh_intset_initialize_from_string(php_qh_intset_obj *obj, char *contents, long length, long size, long flags TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: In function 'zim_QuickHashIntSet_saveToString': /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:441:38: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(string, string_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:441:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(string, string_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:429:21: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^ /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c: At top level: /builddir/build/BUILD/php73-php-pecl-quickhash-1.0.0/NTS/qh_intset.c:153:13: warning: 'qh_object_free_storage_intset' defined but not used [-Wunused-function] static void qh_object_free_storage_intset(void *object TSRMLS_DC) ^ make: *** [qh_intset.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.u5aEXR (%build) Bad exit status from /var/tmp/rpm-tmp.u5aEXR (%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-quickhash.spec