Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-request.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-a18f62f7777778000422ca76e59f5f0ee43c1547/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-request.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 sh: line 0: fg: no job control sh: line 0: fg: no job control Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-pecl-request-2.0.0-1.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-request.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-a18f62f7777778000422ca76e59f5f0ee43c1547/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-request.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.5nXs7g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-request-2.0.0 + /usr/bin/mkdir -p php-pecl-request-2.0.0 + cd php-pecl-request-2.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/request-2.0.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv request-2.0.0 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/define PHP_REQUEST_VERSION/{s/.* "//;s/".*$//;p}' php_request.h + extver=2.0.0 + test x2.0.0 '!=' x2.0.0 + cd .. + cp -pr NTS ZTS + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pFvu0s + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-2.0.0 + source /opt/rh/devtoolset-7/enable ++ export PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-7/root ++ PCP_DIR=/opt/rh/devtoolset-7/root ++ export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ pythonvers=2.7 ++ export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/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/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-request --with-libdir=lib --with-php-config=/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable request support... yes, shared checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld checking if the linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-7/root/usr/bin/nm -B checking the name lister (/opt/rh/devtoolset-7/root/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 /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/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 /opt/rh/devtoolset-7/root/usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/php_request.c -o php_request.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_parsers.c -o request_parsers.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c -o request_sapirequest.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponse.c -o request_sapiresponse.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_parsers.c -fPIC -DPIC -o .libs/request_parsers.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/php_request.c -fPIC -DPIC -o .libs/php_request.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c -fPIC -DPIC -o .libs/request_sapirequest.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponse.c -fPIC -DPIC -o .libs/request_sapiresponse.o request_parsers.c: In function 'lex_quoted_str': request_parsers.c:91:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:97:32: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c: In function 'sapi_request_lex_generic': request_parsers.c:135:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 3) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:114:28: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_END, "", 0); break; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:264:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:341:56: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:121:31: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] "''" { token1(&tok, TOKEN_STRING, "", 0); break; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:515:56: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re: In function 'parse_accept_params': request_parsers.re:208:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: /usr/include/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ request_parsers.re:210:34: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(params, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re: In function 'sapi_request_parse_accept': request_parsers.re:239:13: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ request_parsers.re: In function 'sapi_request_parse_content_type': request_parsers.re:339:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: /usr/include/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ request_parsers.re:343:44: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(return_value, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re:345:39: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(¶ms, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re: In function 'sapi_request_parse_digest_auth': request_parsers.re:417:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: /usr/include/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ request_parsers.re:419:40: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(return_value, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re:420:46: warning: pointer targets in passing argument 2 of 'zend_hash_str_del' differ in signedness [-Wpointer-sign] zend_hash_str_del(Z_ARRVAL_P(&need), left.yytext, left.yyleng); ^~~~ In file included from /usr/include/php/Zend/zend.h:33:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: /usr/include/php/Zend/zend_hash.h:169:28: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *key, size_t len); ^~~~~~~~~~~~~~~~~ request_parsers.re: In function 'sapi_request_parse_x_forwarded_for': request_parsers.re:468:46: warning: pointer targets in passing argument 2 of 'add_next_index_stringl' differ in signedness [-Wpointer-sign] add_next_index_stringl(return_value, tok.yytext, tok.yyleng); ^~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:433:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~~~ request_parsers.re:456:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^~~~~ request_parsers.re:455:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^~~~ In file included from /usr/include/php/Zend/zend.h:30:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: request_parsers.re: In function 'sapi_request_parser_forwarded_assignment': /usr/include/php/Zend/zend_alloc.h:171:43: warning: pointer targets in passing argument 1 of '_estrndup' differ in signedness [-Wpointer-sign] #define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) ^ request_parsers.re:507:27: note: in expansion of macro 'estrndup' char *key_lower = estrndup(left.yytext, left.yyleng); ^~~~~~~~ In file included from /usr/include/php/Zend/zend.h:30:0, from /usr/include/php/main/php.h:33, from request_parsers.re:9: /usr/include/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^~~~~~~~~ request_parsers.re:508:24: warning: passing argument 1 of 'php_strtolower' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] php_strtolower(left.yytext, left.yyleng); ^~~~ In file included from request_parsers.re:10:0: /usr/include/php/ext/standard/php_string.h:117:14: note: expected 'char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' PHPAPI char *php_strtolower(char *s, size_t len); ^~~~~~~~~~~~~~ request_parsers.re:509:38: warning: pointer targets in passing argument 2 of 'add_assoc_stringl_ex' differ in signedness [-Wpointer-sign] add_assoc_stringl_ex(params, left.yytext, left.yyleng, right.yytext, right.yyleng); ^~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:399:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~ request_parsers.re:509:64: warning: pointer targets in passing argument 4 of 'add_assoc_stringl_ex' differ in signedness [-Wpointer-sign] add_assoc_stringl_ex(params, left.yytext, left.yyleng, right.yytext, right.yyleng); ^~~~~ In file included from /usr/include/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php/Zend/zend_API.h:399:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponseinterface.c -o request_sapiresponseinterface.lo request_parsers.re: In function 'sapi_request_parse_forwarded': request_parsers.re:539:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^~~~~ request_parsers.re:538:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_extract_port_from_server': /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 1 of 'sapi_request_extract_port_from_host' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:127:53: note: in expansion of macro 'ZSTR_VAL' if( NULL != sapi_request_extract_port_from_host(ZSTR_VAL(host), ZSTR_LEN(host)) ) { ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:86:36: note: expected 'const unsigned char *' but argument is of type 'char *' static inline const unsigned char *sapi_request_extract_port_from_host(const unsigned char *host, size_t len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_normalize_headers': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("CONTENT_LENGTH")) ) { ^~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:213:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("CONTENT_TYPE")) ) { ^~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:190:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_set_forwarded': /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_x_forwarded_for' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:619:59: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_x_forwarded_for(&forwardedFor, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_x_forwarded_for(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_forwarded' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:639:50: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_forwarded(&forwarded, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_forwarded(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_set_accept_by_name': /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_accept' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:718:41: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:19:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_parse_accept_language': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:728:10: warning: unused variable 'rv' [-Wunused-variable] zval rv; ^~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:725:16: warning: unused variable 'index' [-Wunused-variable] zend_ulong index; ^~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_set_accept_language': /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_accept' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:761:41: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:19:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_set_auth': /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_digest_auth' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:786:49: note: in expansion of macro 'ZSTR_VAL' sapi_request_parse_digest_auth(&digest, ZSTR_VAL(str), ZSTR_LEN(str)); ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:21:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c: In function 'sapi_request_set_content': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:812:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( tmp = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("HTTP_CONTENT_LENGTH")) ) { ^~~ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/Zend/zend_modules.h:23, from /usr/include/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:6: /usr/include/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_content_type' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:817:55: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_content_type(&contentType, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:20:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapirequest.c:805:10: warning: unused variable 'zv' [-Wunused-variable] zval zv = {0}; ^~ libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponseinterface.c -fPIC -DPIC -o .libs/request_sapiresponseinterface.o In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponse.c:11:0: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c -o request_sapiresponsesender.lo In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponseinterface.c:9:0: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c -fPIC -DPIC -o .libs/request_sapiresponsesender.o /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiupload.c -o request_sapiupload.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiupload.c -fPIC -DPIC -o .libs/request_sapiupload.o /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c: In function 'sapi_response_sender_run_header_callbacks': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c:69:26: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {{0}}; ^ {} /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c:76:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] fci.params = ¶ms; ^ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c: In function 'sapi_response_sender_send_headers': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c:194:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c: In function 'sapi_response_sender_send_cookies': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c:281:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiresponsesender.c:15:0: At top level: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiupload.c: In function 'zim_SapiUpload_move': /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/request_sapiupload.c:251:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] retval = call_user_function(NULL, NULL, &func_name, return_value, 2, params); ^ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -o request.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules php_request.lo request_parsers.lo request_sapirequest.lo request_sapiresponse.lo request_sapiresponseinterface.lo request_sapiresponsesender.lo request_sapiupload.lo libtool: link: cc -shared -fPIC -DPIC .libs/php_request.o .libs/request_parsers.o .libs/request_sapirequest.o .libs/request_sapiresponse.o .libs/request_sapiresponseinterface.o .libs/request_sapiresponsesender.o .libs/request_sapiupload.o -O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,request.so -o .libs/request.so libtool: link: ( cd ".libs" && rm -f "request.la" && ln -s "../request.la" "request.la" ) /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/libtool --mode=install cp ./request.la /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules libtool: install: cp ./.libs/request.so /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules/request.so libtool: install: cp ./.libs/request.lai /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules/request.la libtool: finish: PATH="/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-request-2.0.0/NTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + cd ../ZTS + /usr/bin/zts-phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/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/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-request --with-libdir=lib --with-php-config=/usr/bin/zts-php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib checking for PHP extension directory... /usr/lib/php-zts/modules checking for PHP installed headers prefix... /usr/include/php-zts/php checking if debug is enabled... no checking if zts is enabled... yes checking for gawk... gawk checking whether to enable request support... yes, shared checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld checking if the linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-7/root/usr/bin/nm -B checking the name lister (/opt/rh/devtoolset-7/root/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 /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/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 /opt/rh/devtoolset-7/root/usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/php_request.c -o php_request.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_parsers.c -o request_parsers.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c -o request_sapirequest.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponse.c -o request_sapiresponse.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/php_request.c -fPIC -DPIC -o .libs/php_request.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_parsers.c -fPIC -DPIC -o .libs/request_parsers.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c -fPIC -DPIC -o .libs/request_sapirequest.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponse.c -fPIC -DPIC -o .libs/request_sapiresponse.o request_parsers.c: In function 'lex_quoted_str': request_parsers.c:91:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:97:32: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c: In function 'sapi_request_lex_generic': request_parsers.c:135:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 3) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:114:28: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_END, "", 0); break; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:264:61: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:341:56: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re:121:31: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] "''" { token1(&tok, TOKEN_STRING, "", 0); break; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.c:515:56: warning: pointer targets in passing argument 3 of 'sapi_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^~ request_parsers.re:22:16: note: expected 'const YYCTYPE * {aka const unsigned char *}' but argument is of type 'char *' #define token1 sapi_request_parser_token_init ^ request_parsers.re:80:20: note: in expansion of macro 'token1' static inline void token1(struct scanner_token *tok, enum scanner_token_type type, const YYCTYPE *yytext, size_t yyleng) ^~~~~~ request_parsers.re: In function 'parse_accept_params': request_parsers.re:208:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ request_parsers.re:210:34: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(params, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re: In function 'sapi_request_parse_accept': request_parsers.re:239:13: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ request_parsers.re: In function 'sapi_request_parse_content_type': request_parsers.re:339:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:633:0, from request_parsers.re:7: request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ request_parsers.re:342:66: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' request_parsers.re:342:66: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if( left.yyleng == sizeof("charset") - 1 && 0 == strncmp(left.yytext, "charset", sizeof("charset") - 1) ) { ^ In file included from request_parsers.re:7:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ request_parsers.re:343:44: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(return_value, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re:345:39: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(¶ms, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re: In function 'sapi_request_parse_digest_auth': request_parsers.re:417:38: warning: pointer targets in passing argument 1 of 'zend_string_init' differ in signedness [-Wpointer-sign] value = zend_string_init(right.yytext, right.yyleng, 0); ^~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:153:40: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^~~~~~~~~~~~~~~~ request_parsers.re:419:40: warning: pointer targets in passing argument 2 of 'add_assoc_str_ex' differ in signedness [-Wpointer-sign] add_assoc_str_ex(return_value, left.yytext, left.yyleng, value); ^~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:397:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^~~~~~~~~~~~~~~~ request_parsers.re:420:46: warning: pointer targets in passing argument 2 of 'zend_hash_str_del' differ in signedness [-Wpointer-sign] zend_hash_str_del(Z_ARRVAL_P(&need), left.yytext, left.yyleng); ^~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:33:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_hash.h:169:28: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *key, size_t len); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_extract_port_from_server': /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 1 of 'sapi_request_extract_port_from_host' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:127:53: note: in expansion of macro 'ZSTR_VAL' if( NULL != sapi_request_extract_port_from_host(ZSTR_VAL(host), ZSTR_LEN(host)) ) { ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:86:36: note: expected 'const unsigned char *' but argument is of type 'char *' static inline const unsigned char *sapi_request_extract_port_from_host(const unsigned char *host, size_t len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponseinterface.c -o request_sapiresponseinterface.lo request_parsers.re: In function 'sapi_request_parse_x_forwarded_for': request_parsers.re:468:46: warning: pointer targets in passing argument 2 of 'add_next_index_stringl' differ in signedness [-Wpointer-sign] add_next_index_stringl(return_value, tok.yytext, tok.yyleng); ^~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:433:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~~~ request_parsers.re:456:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^~~~~ request_parsers.re:455:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:30:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: request_parsers.re: In function 'sapi_request_parser_forwarded_assignment': /usr/include/php-zts/php/Zend/zend_alloc.h:171:43: warning: pointer targets in passing argument 1 of '_estrndup' differ in signedness [-Wpointer-sign] #define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) ^ request_parsers.re:507:27: note: in expansion of macro 'estrndup' char *key_lower = estrndup(left.yytext, left.yyleng); ^~~~~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:30:0, from /usr/include/php-zts/php/main/php.h:33, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_alloc.h:83:31: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^~~~~~~~~ request_parsers.re:508:24: warning: passing argument 1 of 'php_strtolower' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] php_strtolower(left.yytext, left.yyleng); ^~~~ In file included from request_parsers.re:10:0: /usr/include/php-zts/php/ext/standard/php_string.h:117:14: note: expected 'char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' PHPAPI char *php_strtolower(char *s, size_t len); ^~~~~~~~~~~~~~ request_parsers.re:509:38: warning: pointer targets in passing argument 2 of 'add_assoc_stringl_ex' differ in signedness [-Wpointer-sign] add_assoc_stringl_ex(params, left.yytext, left.yyleng, right.yytext, right.yyleng); ^~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:399:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~ request_parsers.re:509:64: warning: pointer targets in passing argument 4 of 'add_assoc_stringl_ex' differ in signedness [-Wpointer-sign] add_assoc_stringl_ex(params, left.yytext, left.yyleng, right.yytext, right.yyleng); ^~~~~ In file included from /usr/include/php-zts/php/main/php.h:37:0, from request_parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:399:14: note: expected 'const char *' but argument is of type 'const YYCTYPE * {aka const unsigned char *}' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_normalize_headers': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("CONTENT_LENGTH")) ) { ^~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:213:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("CONTENT_TYPE")) ) { ^~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:190:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ request_parsers.re: In function 'sapi_request_parse_forwarded': request_parsers.re:539:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^~~~~ request_parsers.re:538:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_set_forwarded': /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_x_forwarded_for' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php-zts/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php-zts/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:619:59: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_x_forwarded_for(&forwardedFor, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_x_forwarded_for(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_forwarded' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php-zts/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php-zts/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:639:50: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_forwarded(&forwarded, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_forwarded(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_set_accept_by_name': /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_accept' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php-zts/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php-zts/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:718:41: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:19:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_parse_accept_language': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:728:10: warning: unused variable 'rv' [-Wunused-variable] zval rv; ^~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:725:16: warning: unused variable 'index' [-Wunused-variable] zend_ulong index; ^~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_set_accept_language': /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_accept' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php-zts/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php-zts/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:761:41: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:19:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_set_auth': /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_digest_auth' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:786:49: note: in expansion of macro 'ZSTR_VAL' sapi_request_parse_digest_auth(&digest, ZSTR_VAL(str), ZSTR_LEN(str)); ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:21:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c: In function 'sapi_request_set_content': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:812:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( tmp = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("HTTP_CONTENT_LENGTH")) ) { ^~~ In file included from /usr/include/php-zts/php/Zend/zend.h:32:0, from /usr/include/php-zts/php/Zend/zend_modules.h:23, from /usr/include/php-zts/php/Zend/zend_API.h:25, from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:6: /usr/include/php-zts/php/Zend/zend_string.h:52:25: warning: pointer targets in passing argument 2 of 'sapi_request_parse_content_type' differ in signedness [-Wpointer-sign] #define ZSTR_VAL(zstr) (zstr)->val ^ /usr/include/php-zts/php/Zend/zend_types.h:686:27: note: in expansion of macro 'ZSTR_VAL' #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) ^~~~~~~~ /usr/include/php-zts/php/Zend/zend_types.h:687:30: note: in expansion of macro 'Z_STRVAL' #define Z_STRVAL_P(zval_p) Z_STRVAL(*(zval_p)) ^~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:817:55: note: in expansion of macro 'Z_STRVAL_P' sapi_request_parse_content_type(&contentType, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:20:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void sapi_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapirequest.c:805:10: warning: unused variable 'zv' [-Wunused-variable] zval zv = {0}; ^~ libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponseinterface.c -fPIC -DPIC -o .libs/request_sapiresponseinterface.o In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponse.c:11:0: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponseinterface.c:9:0: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c -o request_sapiresponsesender.lo /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiupload.c -o request_sapiupload.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c -fPIC -DPIC -o .libs/request_sapiresponsesender.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiupload.c -fPIC -DPIC -o .libs/request_sapiupload.o /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c: In function 'sapi_response_sender_run_header_callbacks': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c:69:26: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {{0}}; ^ {} /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c:76:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] fci.params = ¶ms; ^ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c: In function 'sapi_response_sender_send_headers': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c:194:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c: In function 'sapi_response_sender_send_cookies': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c:281:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiupload.c: In function 'zim_SapiUpload_move': /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiupload.c:251:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] retval = call_user_function(NULL, NULL, &func_name, return_value, 2, params); ^ In file included from /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_sapiresponsesender.c:15:0: At top level: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:267:14: warning: 'request_readonly_read_property_handler' defined but not used [-Wunused-function] static zval *request_readonly_read_property_handler(zval *object, zval *member, int type, void **cache_slot, zval *rv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:240:12: warning: 'request_readonly_has_property_handler' defined but not used [-Wunused-function] static int request_readonly_has_property_handler(zval *object, zval *member, int check_empty, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/request_utils.h:222:13: warning: 'request_unset_property_dispatcher' defined but not used [-Wunused-function] static void request_unset_property_dispatcher(HashTable *handlers, zval *object, zval *member, void **cache_slot) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS -I/usr/include/php-zts/php -I/usr/include/php-zts/php/main -I/usr/include/php-zts/php/TSRM -I/usr/include/php-zts/php/Zend -I/usr/include/php-zts/php/ext -I/usr/include/php-zts/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -o request.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules php_request.lo request_parsers.lo request_sapirequest.lo request_sapiresponse.lo request_sapiresponseinterface.lo request_sapiresponsesender.lo request_sapiupload.lo libtool: link: cc -shared -fPIC -DPIC .libs/php_request.o .libs/request_parsers.o .libs/request_sapirequest.o .libs/request_sapiresponse.o .libs/request_sapiresponseinterface.o .libs/request_sapiresponsesender.o .libs/request_sapiupload.o -O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,request.so -o .libs/request.so libtool: link: ( cd ".libs" && rm -f "request.la" && ln -s "../request.la" "request.la" ) /bin/sh /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/libtool --mode=install cp ./request.la /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules libtool: install: cp ./.libs/request.so /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules/request.so libtool: install: cp ./.libs/request.lai /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules/request.la libtool: finish: PATH="/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-request-2.0.0/ZTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8Nchcj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm ++ dirname /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm + cd php-pecl-request-2.0.0 + source /opt/rh/devtoolset-7/enable ++ export PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-7/root ++ PCP_DIR=/opt/rh/devtoolset-7/root ++ export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ pythonvers=2.7 ++ export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm make: Entering directory '/builddir/build/BUILD/php-pecl-request-2.0.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/lib/php/modules/ Installing header files: /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/include/php/ make: Leaving directory '/builddir/build/BUILD/php-pecl-request-2.0.0/NTS' + install -D -m 644 40-request.ini /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/etc/php.d/40-request.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/var/lib/pear/pkgxml/php-pecl-request.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm make: Entering directory '/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/lib/php-zts/modules/ Installing header files: /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/include/php-zts/php/ make: Leaving directory '/builddir/build/BUILD/php-pecl-request-2.0.0/ZTS' + install -D -m 644 40-request.ini /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/etc/php-zts.d/40-request.ini + cd NTS ++ grep 'role="doc"' ../package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 CHANGELOG.md /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/doc/pecl/request/CHANGELOG.md + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 README.md /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/doc/pecl/request/README.md + mkdir -p /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/tests/pecl/request + cp -pr tests /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/tests/pecl/request/tests + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/php-pecl-request-2.0.0 extracting debug info from /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/lib/php-zts/modules/request.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/lib/php/modules/request.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 573 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YVzxKT Processing files: php-pecl-request-2.0.0-1.el7.7.4.armv7hl Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yvRF2s + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-2.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/licenses/php-pecl-request-2.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/licenses/php-pecl-request-2.0.0 + cp -pr NTS/LICENSE.md /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm/usr/share/licenses/php-pecl-request-2.0.0 + exit 0 Provides: config(php-pecl-request) = 2.0.0-1.el7.7.4 php-pecl(request) = 2.0.0 php-pecl(request)(armv7hl-32) = 2.0.0 php-pecl-request = 2.0.0-1.el7.7.4 php-pecl-request(armv7hl-32) = 2.0.0-1.el7.7.4 php-request = 2.0.0 php-request(armv7hl-32) = 2.0.0 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: php-pecl-request-devel-2.0.0-1.el7.7.4.armv7hl Provides: php-pecl-request-devel = 2.0.0-1.el7.7.4 php-pecl-request-devel(armv7hl-32) = 2.0.0-1.el7.7.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-pecl-request-debuginfo-2.0.0-1.el7.7.4.armv7hl Provides: php-pecl-request-debuginfo = 2.0.0-1.el7.7.4 php-pecl-request-debuginfo(armv7hl-32) = 2.0.0-1.el7.7.4 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm Wrote: /builddir/build/RPMS/php-pecl-request-2.0.0-1.el7.7.4.armv7hl.rpm Wrote: /builddir/build/RPMS/php-pecl-request-devel-2.0.0-1.el7.7.4.armv7hl.rpm Wrote: /builddir/build/RPMS/php-pecl-request-debuginfo-2.0.0-1.el7.7.4.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tRiovd + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-2.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-request-2.0.0-1.el7.7.4.arm + exit 0 Child return code was: 0