Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-http1.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-f8ce3213cbc763d40d53f32b386c577d835a79b8/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-http1.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-http1-1.7.6-6.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-http1.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-f8ce3213cbc763d40d53f32b386c577d835a79b8/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-http1.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.TsTvhw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-http1-1.7.6 + /usr/bin/mkdir -p php73-php-pecl-http1-1.7.6 + cd php73-php-pecl-http1-1.7.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/pecl_http-1.7.6.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + mv pecl_http-1.7.6 NTS + cd NTS + echo 'Patch #0 (http-ini.patch):' Patch #0 (http-ini.patch): + /usr/bin/cat /builddir/build/SOURCES/http-ini.patch + /usr/bin/patch -p1 -b --suffix .rpmconf --fuzz=0 patching file docs/http.ini ++ sed -n '/#define PHP_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h + extver=1.7.6 + test x1.7.6 '!=' x1.7.6 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ov9V18 + cd .. + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-http1-1.7.6 + 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-http-libcurl-dir=/usr --with-http-curl-libevent=/usr --with-php-config=/opt/rh/php73/root/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-http-libcurl-dir 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 extended HTTP support... yes, shared checking whether to depend on extensions which have been built shared... yes checking whether to enable cURL HTTP request support... yes checking whether to enable libevent support fur cURL... /usr checking whether to enable zlib encodings support... yes checking whether to enable response content type guessing... no checking for egrep... (cached) /usr/bin/grep -E checking for a sed that does not truncate output... (cached) /usr/bin/sed checking how to run the C preprocessor... cc -E 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 netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for unistd.h... (cached) yes checking for gethostname... yes checking for getdomainname... yes checking for getservbyport... yes checking for getservbyname... yes checking for zlib.h... found in /usr checking for zlib version >= 1.2.0.4... 1.2.7 checking for curl/curl.h... found in /usr checking for curl-config... found: /usr/bin/curl-config checking for curl version >= 7.12.3... 7.29.0 checking for SSL support in libcurl... yes checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for bundled SSL CA info... /etc/pki/tls/certs/ca-bundle.crt checking for curl_share_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_easy_reset in -lcurl... yes checking for curl_formget in -lcurl... yes checking for curl_multi_setopt in -lcurl... yes checking for curl_multi_timeout in -lcurl... yes checking for ext/event support... no checking for event.h... not found checking for ext/hash support... configure: WARNING: continuing without libevent support yes checking for php_hash.h... /opt/rh/php73/root/usr/include/php/ext/hash checking for ext/iconv support... yes checking for ext/session support... yes checking whether to add a dependency on ext/hash... yes checking whether to add a dependency on ext/iconv... yes checking whether to add a dependency on ext/session... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for 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, --with-http-libcurl-dir + make -j4 /bin/sh /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/missing.c -o missing.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http.c -o http.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http_functions.c -o http_functions.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/phpstr/phpstr.c -o phpstr/phpstr.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/missing.c -fPIC -DPIC -o .libs/missing.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http.c -fPIC -DPIC -o .libs/http.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http_functions.c -fPIC -DPIC -o .libs/http_functions.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/phpstr/phpstr.c -fPIC -DPIC -o phpstr/.libs/phpstr.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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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))) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.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))) { ^ /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-http1-1.7.6/NTS/missing.c:19: /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-http1-1.7.6/NTS/phpstr/phpstr.c:4: /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))) { ^ /bin/sh /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http_util_object.c -o http_util_object.lo In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h: In function '_http_zset': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:247:9: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: convert_to_boolean(z); break; ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:247:9: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h: In function '_http_zsep_ex': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:263:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_NULL: convert_to_null_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:263:4: warning: passing argument 1 of 'convert_to_null' from incompatible pointer type [enabled by default] case IS_NULL: convert_to_null_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:253:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_null(zval *op); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:9: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: convert_to_boolean_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:439:7: note: in expansion of macro 'Z_TYPE_INFO_P' if (Z_TYPE_INFO_P(pzv) > IS_TRUE) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:4: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] case IS_BOOL: convert_to_boolean_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:254:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:441:14: note: in expansion of macro 'Z_TYPE_INFO_P' } else if (Z_TYPE_INFO_P(pzv) < IS_FALSE) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:731:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_FALSE; \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:442:4: note: in expansion of macro 'ZVAL_FALSE' ZVAL_FALSE(pzv); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:265:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_LONG: convert_to_long_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:265:4: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] case IS_LONG: convert_to_long_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:266:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_DOUBLE: convert_to_double_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:266:4: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type [enabled by default] case IS_DOUBLE: convert_to_double_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:268:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_ARRAY: convert_to_array_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:268:4: warning: passing argument 1 of 'convert_to_array' from incompatible pointer type [enabled by default] case IS_ARRAY: convert_to_array_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:255:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_array(zval *op); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:269:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_OBJECT: convert_to_object_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:269:4: warning: passing argument 1 of 'convert_to_object' from incompatible pointer type [enabled by default] case IS_OBJECT: convert_to_object_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:256:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_object(zval *op); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:1182:16: warning: initialization from incompatible pointer type [enabled by default] zval *__zv = (zv); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:272:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(&z); ^ libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/include -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/main -I/builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/opt/rh/php73/root/usr/include/php/ext/hash -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-http1-1.7.6/NTS/http_util_object.c -fPIC -DPIC -o .libs/http_util_object.o In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h: In function '_http_zset': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:247:9: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: convert_to_boolean(z); break; ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:247:9: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h: In function '_http_zsep_ex': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:263:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_NULL: convert_to_null_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:263:4: warning: passing argument 1 of 'convert_to_null' from incompatible pointer type [enabled by default] case IS_NULL: convert_to_null_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:253:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_null(zval *op); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:9: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: convert_to_boolean_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:439:7: note: in expansion of macro 'Z_TYPE_INFO_P' if (Z_TYPE_INFO_P(pzv) > IS_TRUE) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:4: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] case IS_BOOL: convert_to_boolean_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:254:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:441:14: note: in expansion of macro 'Z_TYPE_INFO_P' } else if (Z_TYPE_INFO_P(pzv) < IS_FALSE) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:426:35: error: request for member 'u1' in something not a structure or union #define Z_TYPE_INFO(zval) (zval).u1.type_info ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:427:32: note: in expansion of macro 'Z_TYPE_INFO' #define Z_TYPE_INFO_P(zval_p) Z_TYPE_INFO(*(zval_p)) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:731:3: note: in expansion of macro 'Z_TYPE_INFO_P' Z_TYPE_INFO_P(z) = IS_FALSE; \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:442:4: note: in expansion of macro 'ZVAL_FALSE' ZVAL_FALSE(pzv); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:264:18: note: in expansion of macro 'convert_to_boolean_ex' case IS_BOOL: convert_to_boolean_ex(&z); break; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:265:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_LONG: convert_to_long_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:265:4: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] case IS_LONG: convert_to_long_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:266:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_DOUBLE: convert_to_double_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:266:4: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type [enabled by default] case IS_DOUBLE: convert_to_double_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:267:4: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] case IS_STRING: convert_to_string_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:268:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_ARRAY: convert_to_array_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:268:4: warning: passing argument 1 of 'convert_to_array' from incompatible pointer type [enabled by default] case IS_ARRAY: convert_to_array_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:255:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_array(zval *op); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:269:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] case IS_OBJECT: convert_to_object_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:269:4: warning: passing argument 1 of 'convert_to_object' from incompatible pointer type [enabled by default] case IS_OBJECT: convert_to_object_ex(&z); break; ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:256:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_object(zval *op); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:1182:16: warning: initialization from incompatible pointer type [enabled by default] zval *__zv = (zv); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:272:3: note: in expansion of macro 'SEPARATE_ZVAL_IF_NOT_REF' SEPARATE_ZVAL_IF_NOT_REF(&z); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:31:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h: In function '_http_message_header_ex': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:61:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (SUCCESS == zend_hash_find(&msg->hdrs, key_str, key_len, (void *) &header)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:31:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:61:2: error: too many arguments to function 'zend_hash_find' if (SUCCESS == zend_hash_find(&msg->hdrs, key_str, key_len, (void *) &header)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:31:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:62:3: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (join && Z_TYPE_PP(header) == IS_ARRAY) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:68:4: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(header_str); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:69:4: error: too many arguments to function 'zend_hash_get_current_data_ex' FOREACH_VAL(pos, *header, val) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:31:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] phpstr_appendf(&str, PHPSTR_LEN(&str) ? ", %s":"%s", Z_STRVAL_PP(val)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:73:66: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(header_str, PHPSTR_VAL(&str), PHPSTR_LEN(&str), 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:73:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(header_str, PHPSTR_VAL(&str), PHPSTR_LEN(&str), 0); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h: In function '_http_url_from_struct': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:64:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "scheme", sizeof("scheme"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:34:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h: In function '_http_message_header_ex': In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:64:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "scheme", sizeof("scheme"), (void *) &e)) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:61:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (SUCCESS == zend_hash_find(&msg->hdrs, key_str, key_len, (void *) &header)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:34:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:61:2: error: too many arguments to function 'zend_hash_find' if (SUCCESS == zend_hash_find(&msg->hdrs, key_str, key_len, (void *) &header)) { ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:65:4: warning: implicit declaration of function 'Z_STRLEN_PP' [-Wimplicit-function-declaration] && (Z_TYPE_PP(e) == IS_STRING) && Z_STRLEN_PP(e)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/php_http_url_api.h:66:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->scheme = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:34:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:62:3: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration] if (join && Z_TYPE_PP(header) == IS_ARRAY) { ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:66:15: warning: assignment from incompatible pointer type [enabled by default] url->scheme = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:68:4: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(header_str); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:68:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "user", sizeof("user"), (void *) &e)) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:69:4: error: too many arguments to function 'zend_hash_get_current_data_ex' FOREACH_VAL(pos, *header, val) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:68:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "user", sizeof("user"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:34:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: implicit declaration of function 'Z_STRVAL_PP' [-Wimplicit-function-declaration] phpstr_appendf(&str, PHPSTR_LEN(&str) ? ", %s":"%s", Z_STRVAL_PP(val)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:70:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:70:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->user = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:73:66: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(header_str, PHPSTR_VAL(&str), PHPSTR_LEN(&str), 0); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:70:13: warning: assignment from incompatible pointer type [enabled by default] url->user = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_message_api.h:73:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(header_str, PHPSTR_VAL(&str), PHPSTR_LEN(&str), 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:72:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "pass", sizeof("pass"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:72:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "pass", sizeof("pass"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:74:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->pass = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:74:13: warning: assignment from incompatible pointer type [enabled by default] url->pass = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:76:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "host", sizeof("host"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:76:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "host", sizeof("host"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:78:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->host = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:78:13: warning: assignment from incompatible pointer type [enabled by default] url->host = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:80:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "path", sizeof("path"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:80:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "path", sizeof("path"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:82:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->path = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:82:13: warning: assignment from incompatible pointer type [enabled by default] url->path = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:84:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "query", sizeof("query"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:84:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "query", sizeof("query"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:86:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->query = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:86:14: warning: assignment from incompatible pointer type [enabled by default] url->query = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:88:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "fragment", sizeof("fragment"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:88:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "fragment", sizeof("fragment"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:90:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->fragment = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:90:17: warning: assignment from incompatible pointer type [enabled by default] url->fragment = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:92:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (SUCCESS == zend_hash_find(ht, "port", sizeof("port"), (void *) &e)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:92:2: error: too many arguments to function 'zend_hash_find' if (SUCCESS == zend_hash_find(ht, "port", sizeof("port"), (void *) &e)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:94:4: warning: implicit declaration of function 'Z_LVAL_PP' [-Wimplicit-function-declaration] url->port = (unsigned short) Z_LVAL_PP(e); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:99:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&o); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h: In function '_http_url_tostruct': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:118:5: warning: implicit declaration of function 'INIT_PZVAL' [-Wimplicit-function-declaration] INIT_ZARR(arr, HASH_OF(strct)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:30:0, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_std_defs.h:57:14: error: lvalue required as left operand of assignment Z_TYPE(zv) = IS_ARRAY; \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:118:5: note: in expansion of macro 'INIT_ZARR' INIT_ZARR(arr, HASH_OF(strct)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:38:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:127:51: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "scheme", url->scheme, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:127:4: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(&arr, "scheme", url->scheme, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:130:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "user", url->user, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:133:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "pass", url->pass, 1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h: In function '_http_url_from_struct': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:136:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "host", url->host, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:64:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "scheme", sizeof("scheme"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:64:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "scheme", sizeof("scheme"), (void *) &e)) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:142:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "path", url->path, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:145:49: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "query", url->query, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:148:55: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "fragment", url->fragment, 1); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:30:0, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: At top level: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_std_defs.h:323:53: error: 'BYREF_NONE' undeclared here (not in a function) static unsigned char http_arg_pass_ref_2[] = {2, BYREF_NONE, BYREF_FORCE}; \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: note: in expansion of macro 'HTTP_DECLARE_ARG_PASS_INFO' HTTP_DECLARE_ARG_PASS_INFO(); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_std_defs.h:323:65: error: 'BYREF_FORCE' undeclared here (not in a function) static unsigned char http_arg_pass_ref_2[] = {2, BYREF_NONE, BYREF_FORCE}; \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: note: in expansion of macro 'HTTP_DECLARE_ARG_PASS_INFO' HTTP_DECLARE_ARG_PASS_INFO(); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_3[1]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_3[2]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_3[3]') 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_4[1]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_4[2]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_4[3]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:65:4: warning: implicit declaration of function 'Z_STRLEN_PP' [-Wimplicit-function-declaration] && (Z_TYPE_PP(e) == IS_STRING) && Z_STRLEN_PP(e)) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_4[4]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_5[1]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_5[2]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_5[3]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:66:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->scheme = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_5[4]') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: initializer element is not constant /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:52:1: error: (near initialization for 'http_arg_pass_ref_5[5]') In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:66:15: warning: assignment from incompatible pointer type [enabled by default] url->scheme = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:68:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "user", sizeof("user"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:61:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_build_url, http_arg_pass_ref_4) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:61:2: warning: (near initialization for 'http_functions[1].arg_info') [enabled by default] In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:68:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "user", sizeof("user"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:70:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->user = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:66:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_negotiate_language, http_arg_pass_ref_2) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:66:2: warning: (near initialization for 'http_functions[4].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:67:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_negotiate_charset, http_arg_pass_ref_2) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:67:2: warning: (near initialization for 'http_functions[5].arg_info') [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:70:13: warning: assignment from incompatible pointer type [enabled by default] url->user = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:68:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_negotiate_content_type, http_arg_pass_ref_2) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:68:2: warning: (near initialization for 'http_functions[6].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:72:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "pass", sizeof("pass"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:69:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_negotiate, http_arg_pass_ref_3) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:69:2: warning: (near initialization for 'http_functions[7].arg_info') [enabled by default] In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:72:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "pass", sizeof("pass"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:74:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->pass = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:74:13: warning: assignment from incompatible pointer type [enabled by default] url->pass = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:76:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "host", sizeof("host"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:76:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "host", sizeof("host"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:78:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->host = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:78:13: warning: assignment from incompatible pointer type [enabled by default] url->host = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:80:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "path", sizeof("path"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:80:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "path", sizeof("path"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:82:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->path = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:82:13: warning: assignment from incompatible pointer type [enabled by default] url->path = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:84:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "query", sizeof("query"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:84:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "query", sizeof("query"), (void *) &e)) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:97:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_get, http_arg_pass_ref_3) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:97:2: warning: (near initialization for 'http_functions[34].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:98:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_head, http_arg_pass_ref_3) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:98:2: warning: (near initialization for 'http_functions[35].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:99:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_post_data, http_arg_pass_ref_4) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:99:2: warning: (near initialization for 'http_functions[36].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:100:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_post_fields, http_arg_pass_ref_5) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:100:2: warning: (near initialization for 'http_functions[37].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:101:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_put_data, http_arg_pass_ref_4) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:101:2: warning: (near initialization for 'http_functions[38].arg_info') [enabled by default] In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:86:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->query = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:102:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_put_file, http_arg_pass_ref_4) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:102:2: warning: (near initialization for 'http_functions[39].arg_info') [enabled by default] In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:86:14: warning: assignment from incompatible pointer type [enabled by default] url->query = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:103:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_put_stream, http_arg_pass_ref_4) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:103:2: warning: (near initialization for 'http_functions[40].arg_info') [enabled by default] /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:88:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ((SUCCESS == zend_hash_find(ht, "fragment", sizeof("fragment"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:104:2: warning: initialization from incompatible pointer type [enabled by default] PHP_FE(http_request, http_arg_pass_ref_5) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:104:2: warning: (near initialization for 'http_functions[41].arg_info') [enabled by default] In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:88:2: error: too many arguments to function 'zend_hash_find' if ((SUCCESS == zend_hash_find(ht, "fragment", sizeof("fragment"), (void *) &e)) ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:90:3: warning: passing argument 1 of '_estrndup' makes pointer from integer without a cast [enabled by default] url->fragment = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:29:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:90:17: warning: assignment from incompatible pointer type [enabled by default] url->fragment = estrndup(Z_STRVAL_PP(e), Z_STRLEN_PP(e)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:92:2: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (SUCCESS == zend_hash_find(ht, "port", sizeof("port"), (void *) &e)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:92:2: error: too many arguments to function 'zend_hash_find' if (SUCCESS == zend_hash_find(ht, "port", sizeof("port"), (void *) &e)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:94:4: warning: implicit declaration of function 'Z_LVAL_PP' [-Wimplicit-function-declaration] url->port = (unsigned short) Z_LVAL_PP(e); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:99:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&o); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h: In function '_http_url_tostruct': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:118:5: warning: implicit declaration of function 'INIT_PZVAL' [-Wimplicit-function-declaration] INIT_ZARR(arr, HASH_OF(strct)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:30:0, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_std_defs.h:57:14: error: lvalue required as left operand of assignment Z_TYPE(zv) = IS_ARRAY; \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:118:5: note: in expansion of macro 'INIT_ZARR' INIT_ZARR(arr, HASH_OF(strct)); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:39:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:127:51: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "scheme", url->scheme, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:127:4: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(&arr, "scheme", url->scheme, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:130:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "user", url->user, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: In function '_http_globals_free': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:204:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&G->server_var); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c: In function 'http_update_allowed_methods': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:237:6: error: used struct type value where scalar is required if (*new_value) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:238:3: warning: passing argument 1 of '_http_check_allowed_methods' from incompatible pointer type [enabled by default] http_check_allowed_methods(new_value); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:222:20: note: expected 'const char *' but argument is of type 'struct zend_string *' static inline void _http_check_allowed_methods(const char *methods TSRMLS_DC) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:240:42: error: 'new_value_length' undeclared (first use in this function) return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:240:2: warning: passing argument 6 of 'OnUpdateString' makes integer from pointer without a cast [enabled by default] return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:164:22: note: expected 'int' but argument is of type 'void *' ZEND_API ZEND_INI_MH(OnUpdateString); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:240:2: error: too many arguments to function 'OnUpdateString' return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:133:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "pass", url->pass, 1); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:164:22: note: declared here ZEND_API ZEND_INI_MH(OnUpdateString); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:136:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "host", url->host, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: In function 'http_update_persistent_handle_ident': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:244:102: error: 'new_value_length' undeclared (first use in this function) HTTP_G->persistent.handles.ident.h = zend_hash_func(new_value, HTTP_G->persistent.handles.ident.l = new_value_length+1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:142:47: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "path", url->path, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:244:100: warning: assignment makes integer from pointer without a cast [enabled by default] HTTP_G->persistent.handles.ident.h = zend_hash_func(new_value, HTTP_G->persistent.handles.ident.l = new_value_length+1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:145:49: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "query", url->query, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:244:2: warning: passing argument 1 of 'zend_hash_func' from incompatible pointer type [enabled by default] HTTP_G->persistent.handles.ident.h = zend_hash_func(new_value, HTTP_G->persistent.handles.ident.l = new_value_length+1); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:31:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_string.h:34:35: note: expected 'const char *' but argument is of type 'struct zend_string *' ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_url_api.h:148:55: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(&arr, "fragment", url->fragment, 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:245:2: warning: passing argument 6 of 'OnUpdateString' makes integer from pointer without a cast [enabled by default] return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:164:22: note: expected 'int' but argument is of type 'void *' ZEND_API ZEND_INI_MH(OnUpdateString); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:245:2: error: too many arguments to function 'OnUpdateString' return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_date': In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:164:22: note: declared here ZEND_API ZEND_INI_MH(OnUpdateString); ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:61:23: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(date, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:61:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(date, 0); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: At top level: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_build_url': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:121:36: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(url_str, url_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:121:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(url_str, url_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:249:23: error: 'OnUpdateInt' undeclared here (not in a function) # define OnUpdateLong OnUpdateInt ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:102:10: note: in definition of macro 'ZEND_INI_ENTRY3_EX' { name, on_modify, arg1, arg2, arg3, default_value, displayer, sizeof(default_value)-1, sizeof(name)-1, modifiable }, ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:111:2: note: in expansion of macro 'ZEND_INI_ENTRY2_EX' ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:134:2: note: in expansion of macro 'ZEND_INI_ENTRY2' ZEND_INI_ENTRY2(name, default_value, modifiable, on_modify, (void *) XtOffsetOf(struct_type, property_name), (void *) &struct_ptr) ^ /opt/rh/php73/root/usr/include/php/main/php_ini.h:66:28: note: in expansion of macro 'STD_ZEND_INI_ENTRY' #define STD_PHP_INI_ENTRY STD_ZEND_INI_ENTRY ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:269:2: note: in expansion of macro 'HTTP_PHP_INI_ENTRY' HTTP_PHP_INI_ENTRY("http.send.inflate.start_flags", "0", PHP_INI_ALL, OnUpdateLong, send.inflate.start_flags) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:269:72: note: in expansion of macro 'OnUpdateLong' HTTP_PHP_INI_ENTRY("http.send.inflate.start_flags", "0", PHP_INI_ALL, OnUpdateLong, send.inflate.start_flags) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:269:2: error: initializer element is not constant HTTP_PHP_INI_ENTRY("http.send.inflate.start_flags", "0", PHP_INI_ALL, OnUpdateLong, send.inflate.start_flags) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:269:2: error: (near initialization for 'ini_entries[9].on_modify') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:271:2: error: initializer element is not constant HTTP_PHP_INI_ENTRY("http.send.deflate.start_flags", "0", PHP_INI_ALL, OnUpdateLong, send.deflate.start_flags) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:271:2: error: (near initialization for 'ini_entries[11].on_modify') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:273:2: error: initializer element is not constant HTTP_PHP_INI_ENTRY("http.persistent.handles.limit", "-1", PHP_INI_SYSTEM, OnUpdateLong, persistent.handles.limit) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:273:2: error: (near initialization for 'ini_entries[12].on_modify') /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: In function 'zm_shutdown_http': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:347:3: warning: implicit declaration of function 'zm_shutdown_http_message_object' [-Wimplicit-function-declaration] || SUCCESS != PHP_MSHUTDOWN_CALL(http_message_object) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_build_str': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:153:28: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETURN_PHPSTR_VAL(&formstr); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:31:0, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/phpstr/phpstr.h:100:2: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL((STR)->data, (STR)->used, (dup)); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/phpstr/phpstr.h:95:2: note: in expansion of macro 'RETVAL_PHPSTR' RETVAL_PHPSTR((STR), (free), (dup)); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/phpstr/phpstr.h:88:32: note: in expansion of macro 'RETURN_PHPSTR' #define RETURN_PHPSTR_VAL(STR) RETURN_PHPSTR((STR), PHPSTR_FREE_NOT, 0) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:153:2: note: in expansion of macro 'RETURN_PHPSTR_VAL' RETURN_PHPSTR_VAL(&formstr); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c: In function 'zm_info_http': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_negotiate_language': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] FOREACH_HASH_KEYVAL(pos1, ht, provider, val) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] FOREACH_HASH_KEYVAL(pos1, ht, provider, val) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: error: too many arguments to function 'zend_hash_get_current_key_ex' FOREACH_HASH_KEYVAL(pos1, ht, provider, val) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:304:127: error: 'HASH_KEY_NON_EXISTANT' undeclared (first use in this function) ((_key).type = zend_hash_get_current_key_ex(hash, &(_key).str, &(_key).len, &(_key).num, (zend_bool) (_key).dup, &pos)) != HASH_KEY_NON_EXISTANT && \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: note: in expansion of macro 'FOREACH_HASH_KEYVAL' FOREACH_HASH_KEYVAL(pos1, ht, provider, val) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:304:124: warning: comparison between pointer and integer [enabled by default] ((_key).type = zend_hash_get_current_key_ex(hash, &(_key).str, &(_key).len, &(_key).num, (zend_bool) (_key).dup, &pos)) != HASH_KEY_NON_EXISTANT && \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: note: in expansion of macro 'FOREACH_HASH_KEYVAL' FOREACH_HASH_KEYVAL(pos1, ht, provider, val) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:487:4: error: too many arguments to function 'zend_hash_get_current_data_ex' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:488:5: warning: implicit declaration of function 'Z_ARRVAL_PP' [-Wimplicit-function-declaration] if (zend_hash_num_elements(Z_ARRVAL_PP(val))) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:255:6: error: invalid type argument of '->' (have 'int') (ht)->nNumOfElements ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:488:9: note: in expansion of macro 'zend_hash_num_elements' if (zend_hash_num_elements(Z_ARRVAL_PP(val))) { ^ /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:255:6: error: request for member 'nNumOfElements' in something not a structure or union (ht)->nNumOfElements ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:488:9: note: in expansion of macro 'zend_hash_num_elements' if (zend_hash_num_elements(Z_ARRVAL_PP(val))) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:489:6: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] FOREACH_KEYVAL(pos2, *val, ident, sub) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: error: too many arguments to function 'zend_hash_get_current_key_ex' HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:489:6: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] FOREACH_KEYVAL(pos2, *val, ident, sub) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:1: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:489:6: error: too many arguments to function 'zend_hash_get_current_key_ex' FOREACH_KEYVAL(pos2, *val, ident, sub) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:189:4: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(key, key_len-1, 0); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:26:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:304:124: warning: comparison between pointer and integer [enabled by default] ((_key).type = zend_hash_get_current_key_ex(hash, &(_key).str, &(_key).len, &(_key).num, (zend_bool) (_key).dup, &pos)) != HASH_KEY_NON_EXISTANT && \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:301:46: note: in expansion of macro 'FOREACH_HASH_KEYVAL' #define FOREACH_KEYVAL(pos, array, key, val) FOREACH_HASH_KEYVAL(pos, Z_ARRVAL_P(array), key, val) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:489:6: note: in expansion of macro 'FOREACH_KEYVAL' FOREACH_KEYVAL(pos2, *val, ident, sub) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:489:6: error: too many arguments to function 'zend_hash_get_current_data_ex' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:162:18: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(supported), (void *) &value)) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:191:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_DEFAULT' HTTP_DO_NEGOTIATE_DEFAULT(supported); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:490:7: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] if ( SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("used"), (void *) &zused) && ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:490:7: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if ( SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("used"), (void *) &zused) && ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c:490:7: error: too many arguments to function 'zend_hash_find' if ( SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("used"), (void *) &zused) && ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c:491:9: warning: passing argument 1 of 'zend_hash_find' makes pointer from integer without a cast [enabled by default] SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("free"), (void *) &zfree)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:166:30: note: expected 'const struct HashTable *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:491:9: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("free"), (void *) &zfree)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c:491:9: error: too many arguments to function 'zend_hash_find' SUCCESS == zend_hash_find(Z_ARRVAL_PP(sub), ZEND_STRS("free"), (void *) &zfree)) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c:495:8: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&used); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http.c:496:8: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&free); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /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-http1-1.7.6/NTS/http_functions.c:227:2: error: too many arguments to function 'zend_hash_copy' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http.c:522:3: error: too many arguments to function 'zend_hash_get_current_data_ex' FOREACH_HASH_VAL(pos, &HTTP_G->request.methods.registered, name) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:20: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:523:11: error: invalid type argument of '->' (have 'HashPosition') if (pos->h) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http.c:523:11: error: request for member 'h' in something not a structure or union /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: error: too many arguments to function 'zend_hash_get_current_data_ex' HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:227:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(language, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_negotiate_charset': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: error: too many arguments to function 'zend_hash_get_current_key_ex' HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:1: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:189:4: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(key, key_len-1, 0); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:162:18: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(supported), (void *) &value)) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:191:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_DEFAULT' HTTP_DO_NEGOTIATE_DEFAULT(supported); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: error: too many arguments to function 'zend_hash_copy' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ make: *** [http.lo] Error 1 make: *** Waiting for unfinished jobs.... /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: error: too many arguments to function 'zend_hash_get_current_data_ex' HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:246:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(charset, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_negotiate_content_type': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: error: too many arguments to function 'zend_hash_get_current_key_ex' HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_util_object.c:15: /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:32:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ RPM build errors: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:1: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:189:4: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(key, key_len-1, 0); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:162:18: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(supported), (void *) &value)) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:191:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_DEFAULT' HTTP_DO_NEGOTIATE_DEFAULT(supported); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:206:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(result, supported, rs_array); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: note: in expansion of macro 'HTTP_DO_NEGOTIATE' HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: error: too many arguments to function 'zend_hash_copy' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:265:1: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: error: too many arguments to function 'zend_hash_get_current_data_ex' HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:265:2: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE(content_type, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_negotiate': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: error: too many arguments to function 'zend_hash_get_current_key_ex' HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:58: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:189:4: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(key, key_len-1, 0); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:162:18: error: 'zend_hash_get_current_data' undeclared (first use in this function) if (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(supported), (void *) &value)) { \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:191:4: note: in expansion of macro 'HTTP_DO_NEGOTIATE_DEFAULT' HTTP_DO_NEGOTIATE_DEFAULT(supported); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: note: in expansion of macro 'HTTP_DO_NEGOTIATE_HANDLE_RESULT' HTTP_DO_NEGOTIATE_HANDLE_RESULT(rs, supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:286:3: error: too many arguments to function 'zend_hash_copy' 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:288:55: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 HTTP_DO_NEGOTIATE_HANDLE_DEFAULT(supported, rs_array); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:288:3: error: too many arguments to function 'zend_hash_get_current_data_ex' HTTP_DO_NEGOTIATE_HANDLE_DEFAULT(supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:288:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] HTTP_DO_NEGOTIATE_HANDLE_DEFAULT(supported, rs_array); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:28:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_cache_last_modified': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:105:33: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:110:3: note: in expansion of macro 'HTTP_GET_OUTPUT_START' HTTP_GET_OUTPUT_START(); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:412:2: note: in expansion of macro 'HTTP_CHECK_HEADERS_SENT' HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_cache_etag': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:105:33: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_api.h:110:3: note: in expansion of macro 'HTTP_GET_OUTPUT_START' HTTP_GET_OUTPUT_START(); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:449:2: note: in expansion of macro 'HTTP_CHECK_HEADERS_SENT' HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_ob_etaghandler': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:467:25: error: lvalue required as left operand of assignment Z_TYPE_P(return_value) = IS_STRING; ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:468:2: warning: passing argument 3 of '_http_ob_etaghandler' from incompatible pointer type [enabled by default] http_ob_etaghandler(data, data_len, &Z_STRVAL_P(return_value), (uint *) &Z_STRLEN_P(return_value), mode); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:29:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_cache_api.h:125:13: note: expected 'char **' but argument is of type 'char (*)[1]' extern void _http_ob_etaghandler(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_redirect': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:512:60: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 if (add_assoc_string(params, PS(session_name), PS(id), 1) != SUCCESS) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:512:8: error: 'add_assoc_string' undeclared (first use in this function) if (add_assoc_string(params, PS(session_name), PS(id), 1) != SUCCESS) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:524:5: warning: implicit declaration of function 'FREE_ZVAL' [-Wimplicit-function-declaration] FREE_ZVAL(params); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_send_file': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_send_api.h:72:97: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) #define http_send_file(f) http_send_stream_ex(php_stream_open_wrapper_ex(f, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, HTTP_DEFAULT_STREAM_CONTEXT), 1, 0) ^ /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:740:5: note: in definition of macro 'ZVAL_BOOL' (b) ? IS_TRUE : IS_FALSE; \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:635:31: note: in expansion of macro 'RETVAL_BOOL' #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_std_defs.h:63:27: note: in expansion of macro 'RETURN_BOOL' #define RETURN_SUCCESS(v) RETURN_BOOL(SUCCESS == (v)) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:616:2: note: in expansion of macro 'RETURN_SUCCESS' RETURN_SUCCESS(http_send_file(file)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_send_api.h:72:27: note: in expansion of macro 'http_send_stream_ex' #define http_send_file(f) http_send_stream_ex(php_stream_open_wrapper_ex(f, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, HTTP_DEFAULT_STREAM_CONTEXT), 1, 0) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_send_api.h:72:47: note: in expansion of macro 'php_stream_open_wrapper_ex' #define http_send_file(f) http_send_stream_ex(php_stream_open_wrapper_ex(f, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, HTTP_DEFAULT_STREAM_CONTEXT), 1, 0) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:616:17: note: in expansion of macro 'http_send_file' RETURN_SUCCESS(http_send_file(file)); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_send_stream': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:631:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(file, &zstream); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_chunked_decode': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:649:47: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(decoded, (int) decoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:649:3: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(decoded, (int) decoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_parse_cookie': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:715:3: error: too many arguments to function 'zend_hash_get_current_data_ex' FOREACH_VAL(pos, allowed_extras_array, entry) { ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:718:4: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&data); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_build_cookie': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:756:28: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(str, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:756:2: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(str, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_parse_params': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:776:3: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(¶ms); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_get_request_body': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:809:39: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(body, (int) length, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:809:3: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(body, (int) length, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_persistent_handles_ident': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:880:82: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1 RETVAL_STRING(zend_ini_string(ZEND_STRS("http.persistent.handles.ident"), 0), 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:880:3: error: 'RETVAL_STRING' undeclared (first use in this function) RETVAL_STRING(zend_ini_string(ZEND_STRS("http.persistent.handles.ident"), 0), 1); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:882:4: warning: passing argument 1 of 'zend_alter_ini_entry' from incompatible pointer type [enabled by default] zend_alter_ini_entry(ZEND_STRS("http.persistent.handles.ident"), ident_str, ident_len, ZEND_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:882:4: warning: passing argument 2 of 'zend_alter_ini_entry' makes pointer from integer without a cast [enabled by default] zend_alter_ini_entry(ZEND_STRS("http.persistent.handles.ident"), ident_str, ident_len, ZEND_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'struct zend_string *' but argument is of type 'unsigned int' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:882:4: warning: passing argument 3 of 'zend_alter_ini_entry' makes integer from pointer without a cast [enabled by default] zend_alter_ini_entry(ZEND_STRS("http.persistent.handles.ident"), ident_str, ident_len, ZEND_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: expected 'int' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:882:4: error: too many arguments to function 'zend_alter_ini_entry' zend_alter_ini_entry(ZEND_STRS("http.persistent.handles.ident"), ident_str, ident_len, ZEND_INI_USER, PHP_INI_STAGE_RUNTIME); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php_ini.h:22:0, from /opt/rh/php73/root/usr/include/php/main/fopen_wrappers.h:24, from /opt/rh/php73/root/usr/include/php/main/php.h:462, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_ini.h:77:14: note: declared here ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_get': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:934:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:934:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:934:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:934:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:934:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_head': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:966:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:966:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:966:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:966:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:966:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_post_data': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1000:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1000:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1000:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1000:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1000:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_post_fields': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1038:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1038:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1038:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1038:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1038:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:460:0, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_put_file': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1060:70: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) if (!(stream = php_stream_open_wrapper_ex(file, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL, HTTP_DEFAULT_STREAM_CONTEXT))) { ^ /opt/rh/php73/root/usr/include/php/main/php_streams.h:571:119: note: in definition of macro 'php_stream_open_wrapper_ex' #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_CC) ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1082:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1082:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1082:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1082:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1082:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_put_stream': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1104:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(stream, &resource); ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:26:0, from /opt/rh/php73/root/usr/include/php/main/php.h:37, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /opt/rh/php73/root/usr/include/php/Zend/zend_list.h:64:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1123:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1123:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1123:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1123:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1123:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_put_data': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1157:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1157:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1157:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1157:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1157:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_request': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1192:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1192:3: error: too many arguments to function 'zend_hash_find' RETVAL_RESPONSE_OR_BODY(request); ^ 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-http1-1.7.6/NTS/php_http.h:28, from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:18: /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-http1-1.7.6/NTS/http_functions.c:1192:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:900:5: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1192:3: note: in expansion of macro 'RETVAL_RESPONSE_OR_BODY' RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1192:34: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_RESPONSE_OR_BODY(request); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_request_body_encode': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1215:29: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_STRINGL(buf, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1215:3: error: 'RETVAL_STRINGL' undeclared (first use in this function) RETVAL_STRINGL(buf, len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_request_method_exists': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1280:6: error: 'return_value_used' undeclared (first use in this function) if (return_value_used) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_request_method_name': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1309:6: error: 'return_value_used' undeclared (first use in this function) if (return_value_used) { ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1316:67: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(estrdup(http_request_method_name((int) method)), 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1316:3: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(estrdup(http_request_method_name((int) method)), 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_deflate': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1339:48: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(encoded, (int) encoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1339:4: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(encoded, (int) encoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_http_inflate': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1359:48: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2 RETURN_STRINGL(decoded, (int) decoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1359:4: error: 'RETURN_STRINGL' undeclared (first use in this function) RETURN_STRINGL(decoded, (int) decoded_len, 0); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_ob_deflatehandler': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1377:2: warning: passing argument 3 of '_http_ob_deflatehandler' from incompatible pointer type [enabled by default] http_ob_deflatehandler(data, data_len, &Z_STRVAL_P(return_value), (uint *) &Z_STRLEN_P(return_value), mode); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:32:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_encoding_api.h:176:13: note: expected 'char **' but argument is of type 'char (*)[1]' extern void _http_ob_deflatehandler(char *, uint, char **, uint *, int TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1378:25: error: lvalue required as left operand of assignment Z_TYPE_P(return_value) = Z_STRVAL_P(return_value) ? IS_STRING : IS_NULL; ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c: In function 'zif_ob_inflatehandler': /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1394:2: warning: passing argument 3 of '_http_ob_inflatehandler' from incompatible pointer type [enabled by default] http_ob_inflatehandler(data, data_len, &Z_STRVAL_P(return_value), (uint *) &Z_STRLEN_P(return_value), mode); ^ In file included from /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:32:0: /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/php_http_encoding_api.h:179:13: note: expected 'char **' but argument is of type 'char (*)[1]' extern void _http_ob_inflatehandler(char *, uint, char **, uint *, int TSRMLS_DC); ^ /builddir/build/BUILD/php73-php-pecl-http1-1.7.6/NTS/http_functions.c:1395:25: error: lvalue required as left operand of assignment Z_TYPE_P(return_value) = Z_STRVAL_P(return_value) ? IS_STRING : IS_NULL; ^ make: *** [http_functions.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Ov9V18 (%build) Bad exit status from /var/tmp/rpm-tmp.Ov9V18 (%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-http1.spec