Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-request.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-7f100c62cee48e9e9925a07a92c93f111abc89e5/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) 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', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} 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-1.0.0-0.7.b2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-request.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-7f100c62cee48e9e9925a07a92c93f111abc89e5/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-request.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E9bGxn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-request-1.0.0 + /usr/bin/mkdir -p php-pecl-request-1.0.0 + cd php-pecl-request-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/request-1.0.0b2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv request-1.0.0b2 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=1.0.0b2 + test x1.0.0b2 '!=' x1.0.0b2 + cd .. + cp -pr NTS ZTS + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UhicIL + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-1.0.0 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + 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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/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-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /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 re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable 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... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/php_request.c -o php_request.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/parsers.c -o parsers.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/serverresponse.c -o serverresponse.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/serverrequest.c -o serverrequest.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/php_request.c -fPIC -DPIC -o .libs/php_request.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/parsers.c -fPIC -DPIC -o .libs/parsers.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/serverresponse.c -fPIC -DPIC -o .libs/serverresponse.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/serverrequest.c -fPIC -DPIC -o .libs/serverrequest.o parsers.c: In function 'lex_quoted_str': parsers.c:91:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:97:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c: In function 'server_request_lex_generic': parsers.c:135:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 3) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:114:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_END, "", 0); break; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:264:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:341:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:121:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] "''" { token1(&tok, TOKEN_STRING, "", 0); break; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:515:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re: In function 'parse_accept_params': parsers.re:208:13: 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:33:0, from /usr/include/php/main/php.h:35, from parsers.re:9: /usr/include/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:210:9: 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:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ parsers.re: In function 'server_request_parse_accept': parsers.re:237:9: warning: missing braces around initializer [-Wmissing-braces] zval item = {0}; ^ parsers.re:237:9: warning: (near initialization for 'item.value') [-Wmissing-braces] parsers.re:238:9: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ parsers.re:238:9: warning: (near initialization for 'params.value') [-Wmissing-braces] parsers.re:239:13: warning: unused variable 'ret' [-Wunused-variable] int ret; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'extract_port_from_server': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:196:5: warning: pointer targets in passing argument 1 of 'extract_port_from_host' differ in signedness [-Wpointer-sign] if( NULL != extract_port_from_host(ZSTR_VAL(host), ZSTR_LEN(host)) ) { ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:156:36: note: expected 'const unsigned char *' but argument is of type 'char *' static inline const unsigned char *extract_port_from_host(const unsigned char *host, size_t len) ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_detect_url': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:219:11: warning: unused variable 'tmp' [-Wunused-variable] zval *tmp; ^ parsers.re: In function 'server_request_parse_content_type': parsers.re:339:13: 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:33:0, from /usr/include/php/main/php.h:35, from parsers.re:9: /usr/include/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:342:9: 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 parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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 parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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) ) { ^ parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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) ) { ^ parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_normalize_headers': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:281:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = zend_hash_str_find(Z_ARRVAL_P(server), ZEND_STRL("CONTENT_LENGTH")) ) { ^ parsers.re:342:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:284:5: 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-1.0.0/NTS/serverrequest.c:264:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ parsers.re:342:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from parsers.re:7:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_upload_from_nested': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:320:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:320:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] parsers.re:343:13: 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); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:321:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp2 = {0}; ^ In file included from /usr/include/php/main/php.h:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:321:5: warning: (near initialization for 'tmp2.value') [-Wmissing-braces] parsers.re:345:13: 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:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_normalize_files': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:357:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:357:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] parsers.re: In function 'server_request_parse_digest_auth': parsers.re:417:13: 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:33:0, from /usr/include/php/main/php.h:35, from parsers.re:9: /usr/include/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:419:9: 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:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ parsers.re:420:9: 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:34:0, from /usr/include/php/main/php.h:35, from parsers.re:9: /usr/include/php/Zend/zend_hash.h:162:28: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *key, size_t len); ^ parsers.re: In function 'server_request_parse_x_forwarded_for': parsers.re:468:9: 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:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:451:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ parsers.re:456:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^ parsers.re:455:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_copy_global': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:595:13: warning: passing argument 1 of 'zend_is_auto_global_str' discards 'const' qualifier from pointer target type [enabled by default] zend_is_auto_global_str(glob_key, glob_key_length); ^ parsers.re: In function 'server_request_parser_forwarded_assignment': parsers.re:507:9: warning: pointer targets in passing argument 1 of '_estrndup' differ in signedness [-Wpointer-sign] char *key_lower = estrndup(left.yytext, left.yyleng); ^ In file included from /usr/include/php/Zend/zend_modules.h:26:0, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:8: /usr/include/php/Zend/zend_compile.h:821:20: note: expected 'char *' but argument is of type 'const char *' ZEND_API zend_bool zend_is_auto_global_str(char *name, size_t len); ^ In file included from /usr/include/php/Zend/zend.h:31:0, from /usr/include/php/main/php.h:35, from parsers.re:9: /usr/include/php/Zend/zend_alloc.h:85:31: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ parsers.re:508:9: warning: passing argument 1 of 'php_strtolower' discards 'const' qualifier from pointer target type [enabled by default] php_strtolower(left.yytext, left.yyleng); ^ In file included from parsers.re:10:0: /usr/include/php/ext/standard/php_string.h:124:14: note: expected 'char *' but argument is of type 'const YYCTYPE *' PHPAPI char *php_strtolower(char *s, size_t len); ^ parsers.re:509:9: 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:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:415:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' 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-1.0.0/NTS/serverrequest.c: In function 'server_request_set_forwarded': parsers.re:509:9: 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); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:623:9: warning: pointer targets in passing argument 2 of 'server_request_parse_x_forwarded_for' differ in signedness [-Wpointer-sign] server_request_parse_x_forwarded_for(&forwardedFor, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:25:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_x_forwarded_for(zval *return_value, const unsigned char *str, size_t len); ^ In file included from /usr/include/php/main/php.h:39:0, from parsers.re:9: /usr/include/php/Zend/zend_API.h:415:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' 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-1.0.0/NTS/serverresponse.c: In function '_array_to_semicsv': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:132:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:643:9: warning: implicit declaration of function 'server_request_parse_forwarded' [-Wimplicit-function-declaration] server_request_parse_forwarded(&forwarded, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_set_url': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:652:5: warning: missing braces around initializer [-Wmissing-braces] zval arr = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:652:5: warning: (near initialization for 'arr.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function '_array_to_csv': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:156:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ parsers.re: In function 'server_request_parse_forwarded': parsers.re:544:9: warning: missing braces around initializer [-Wmissing-braces] zval current = {0}; ^ parsers.re:544:9: warning: (near initialization for 'current.value') [-Wmissing-braces] parsers.re:539:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^ parsers.re:538:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'php_response_header': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:207:10: warning: unused variable 'arr' [-Wunused-variable] zval arr; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_set_accept_by_name': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'php_response_header_stringl': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:721:9: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:272:5: warning: missing braces around initializer [-Wmissing-braces] zval header_val = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:272:5: warning: (near initialization for 'header_val.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_parse_accept_language': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:736:5: warning: missing braces around initializer [-Wmissing-braces] zval type = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:736:5: warning: (near initialization for 'type.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:737:5: warning: missing braces around initializer [-Wmissing-braces] zval subtype = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:737:5: warning: (near initialization for 'subtype.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:732:10: warning: unused variable 'rv' [-Wunused-variable] zval rv; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:729:16: warning: unused variable 'index' [-Wunused-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:728:18: warning: unused variable 'key' [-Wunused-variable] zend_string *key; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_set_accept_language': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:765:9: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_set_auth': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:774:5: warning: missing braces around initializer [-Wmissing-braces] zval digest = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:774:5: warning: (near initialization for 'digest.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:790:9: warning: pointer targets in passing argument 2 of 'server_request_parse_digest_auth' differ in signedness [-Wpointer-sign] server_request_parse_digest_auth(&digest, ZSTR_VAL(str), ZSTR_LEN(str)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:24:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'server_request_set_content': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:799:5: warning: missing braces around initializer [-Wmissing-braces] zval zv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:799:5: warning: (near initialization for 'zv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:800:5: warning: missing braces around initializer [-Wmissing-braces] zval contentType = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:800:5: warning: (near initialization for 'contentType.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:813:9: warning: pointer targets in passing argument 2 of 'server_request_parse_content_type' differ in signedness [-Wpointer-sign] server_request_parse_content_type(&contentType, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:799:10: warning: unused variable 'zv' [-Wunused-variable] zval zv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest___construct': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:836:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:836:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:837:5: warning: missing braces around initializer [-Wmissing-braces] zval method = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:837:5: warning: (near initialization for 'method.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:838:5: warning: missing braces around initializer [-Wmissing-braces] zval headers = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:838:5: warning: (near initialization for 'headers.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:839:5: warning: missing braces around initializer [-Wmissing-braces] zval uploads = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:839:5: warning: (near initialization for 'uploads.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withInput': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:919:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:919:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:918:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withParam': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:955:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:955:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:956:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:956:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:957:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:957:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:954:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withParams': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1010:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1010:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'php_response_setcookie': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:467:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:467:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:468:5: warning: missing braces around initializer [-Wmissing-braces] zval cookie = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:468:5: warning: (near initialization for 'cookie.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1009:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withoutParam': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1046:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1046:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1047:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1047:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1048:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1048:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1045:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withoutParams': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1094:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1094:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1095:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1095:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1096:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1096:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'throw_json_exception': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:576:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:576:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:577:5: warning: missing braces around initializer [-Wmissing-braces] zval json_errmsg = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:577:5: warning: (near initialization for 'json_errmsg.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:578:5: warning: missing braces around initializer [-Wmissing-braces] zval json_errno = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:578:5: warning: (near initialization for 'json_errno.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_setContentJson': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:602:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:602:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:603:5: warning: missing braces around initializer [-Wmissing-braces] zval json_value = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:603:5: warning: (near initialization for 'json_value.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:604:5: warning: missing braces around initializer [-Wmissing-braces] zval params[3] = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:604:5: warning: (near initialization for 'params[0]') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1093:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_setContentDownload': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:657:5: warning: missing braces around initializer [-Wmissing-braces] zval _params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:657:5: warning: (near initialization for '_params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_withUrl': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1166:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1166:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1167:5: warning: missing braces around initializer [-Wmissing-braces] zval zvurl = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1167:5: warning: (near initialization for 'zvurl.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1165:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_parseAccept': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1217:5: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_parseContentType': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1231:5: warning: pointer targets in passing argument 2 of 'server_request_parse_content_type' differ in signedness [-Wpointer-sign] server_request_parse_content_type(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_addHeaderCallback': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:745:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:745:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c: In function 'zim_ServerRequest_parseDigestAuth': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:1244:5: warning: pointer targets in passing argument 2 of 'server_request_parse_digest_auth' differ in signedness [-Wpointer-sign] server_request_parse_digest_auth(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverrequest.c:24:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_date': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:799:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:799:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:800:5: warning: missing braces around initializer [-Wmissing-braces] zval ts = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:800:5: warning: (near initialization for 'ts.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_send': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:838:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:838:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_runHeaderCallbacks': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:874:9: warning: missing braces around initializer [-Wmissing-braces] zval retval = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:874:9: warning: (near initialization for 'retval.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:875:9: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {{0}}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:875:9: warning: (near initialization for 'params[0].value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:882:24: warning: assignment from incompatible pointer type [enabled by default] fci.params = ¶ms; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_sendHeaders': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:972:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_sendCookies': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1042:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c: In function 'zim_ServerResponse_sendContent': /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1070:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1070:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1071:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1071:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1072:5: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1072:5: warning: (near initialization for 'params[0]') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1086:9: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(&Z_OBJCE_P(tmp)->function_table, tmp, &func_name, &rv, 1, ¶ms); ^ In file included from /usr/include/php/main/php.h:39:0, from /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:6: /usr/include/php/Zend/zend_API.h:489:14: note: expected 'struct zval *' but argument is of type 'struct zval (*)[1]' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/serverresponse.c:1069:11: warning: unused variable 'error' [-Wunused-variable] char *error; ^ /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/NTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/NTS/modules php_request.lo parsers.lo serverresponse.lo serverrequest.lo libtool: link: cc -shared -fPIC -DPIC .libs/php_request.o .libs/parsers.o .libs/serverresponse.o .libs/serverrequest.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-1.0.0/NTS/libtool --mode=install cp ./request.la /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/modules libtool: install: cp ./.libs/request.so /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/modules/request.so libtool: install: cp ./.libs/request.lai /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/modules/request.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-request-1.0.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-request-1.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: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 + 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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/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-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /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 re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable 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... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/php_request.c -o php_request.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/parsers.c -o parsers.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/serverresponse.c -o serverresponse.lo /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/serverrequest.c -o serverrequest.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/php_request.c -fPIC -DPIC -o .libs/php_request.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/serverresponse.c -fPIC -DPIC -o .libs/serverresponse.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/parsers.c -fPIC -DPIC -o .libs/parsers.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/serverrequest.c -fPIC -DPIC -o .libs/serverrequest.o parsers.c: In function 'lex_quoted_str': parsers.c:91:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:97:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c: In function 'server_request_lex_generic': parsers.c:135:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 3) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:114:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] end { token1(&tok, TOKEN_END, "", 0); break; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:264:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if ((in->lim - in->cur) < 2) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:341:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re:121:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] "''" { token1(&tok, TOKEN_STRING, "", 0); break; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.c:515:2: warning: pointer targets in passing argument 3 of 'server_request_parser_token_init' differ in signedness [-Wpointer-sign] if (in->lim <= in->cur) { token1(&tok, TOKEN_INVALID, "", 0); return tok; } ^ parsers.re:22:16: note: expected 'const YYCTYPE *' but argument is of type 'char *' #define token1 server_request_parser_token_init ^ 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) ^ parsers.re: In function 'parse_accept_params': parsers.re:208:13: 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:33:0, from /usr/include/php-zts/php/main/php.h:35, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:210:9: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ parsers.re: In function 'server_request_parse_accept': parsers.re:237:9: warning: missing braces around initializer [-Wmissing-braces] zval item = {0}; ^ parsers.re:237:9: warning: (near initialization for 'item.value') [-Wmissing-braces] parsers.re:238:9: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ parsers.re:238:9: warning: (near initialization for 'params.value') [-Wmissing-braces] parsers.re:239:13: warning: unused variable 'ret' [-Wunused-variable] int ret; ^ parsers.re: In function 'server_request_parse_content_type': parsers.re:339:13: 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:33:0, from /usr/include/php-zts/php/main/php.h:35, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:342:9: 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 parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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 parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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) ) { ^ parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from parsers.re:7:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern size_t strlen (const char *__s) ^ parsers.re:342:9: 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) ) { ^ parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] parsers.re:342:9: note: expected 'const char *' but argument is of type 'const YYCTYPE *' parsers.re:342:9: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from parsers.re:7:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const YYCTYPE *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ parsers.re:343:13: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ parsers.re:345:13: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'extract_port_from_server': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:196:5: warning: pointer targets in passing argument 1 of 'extract_port_from_host' differ in signedness [-Wpointer-sign] if( NULL != extract_port_from_host(ZSTR_VAL(host), ZSTR_LEN(host)) ) { ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:156:36: note: expected 'const unsigned char *' but argument is of type 'char *' static inline const unsigned char *extract_port_from_host(const unsigned char *host, size_t len) ^ parsers.re: In function 'server_request_parse_digest_auth': parsers.re:417:13: 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:33:0, from /usr/include/php-zts/php/main/php.h:35, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_string.h:168:40: note: expected 'const char *' but argument is of type 'const YYCTYPE *' static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) ^ parsers.re:419:9: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:413:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str); ^ parsers.re:420:9: 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); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_detect_url': In file included from /usr/include/php-zts/php/Zend/zend.h:34:0, from /usr/include/php-zts/php/main/php.h:35, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_hash.h:162:28: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *key, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:219:11: warning: unused variable 'tmp' [-Wunused-variable] zval *tmp; ^ parsers.re: In function 'server_request_parse_x_forwarded_for': parsers.re:468:9: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:451:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); ^ parsers.re:456:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^ parsers.re:455:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^ parsers.re: In function 'server_request_parser_forwarded_assignment': parsers.re:507:9: warning: pointer targets in passing argument 1 of '_estrndup' differ in signedness [-Wpointer-sign] char *key_lower = estrndup(left.yytext, left.yyleng); ^ In file included from /usr/include/php-zts/php/Zend/zend.h:31:0, from /usr/include/php-zts/php/main/php.h:35, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_alloc.h:85:31: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ parsers.re:508:9: warning: passing argument 1 of 'php_strtolower' discards 'const' qualifier from pointer target type [enabled by default] php_strtolower(left.yytext, left.yyleng); ^ In file included from parsers.re:10:0: /usr/include/php-zts/php/ext/standard/php_string.h:124:14: note: expected 'char *' but argument is of type 'const YYCTYPE *' PHPAPI char *php_strtolower(char *s, size_t len); ^ parsers.re:509:9: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:415:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^ parsers.re:509:9: 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:39:0, from parsers.re:9: /usr/include/php-zts/php/Zend/zend_API.h:415:14: note: expected 'const char *' but argument is of type 'const YYCTYPE *' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length); ^ parsers.re: In function 'server_request_parse_forwarded': parsers.re:544:9: warning: missing braces around initializer [-Wmissing-braces] zval current = {0}; ^ parsers.re:544:9: warning: (near initialization for 'current.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function '_array_to_semicsv': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:132:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ parsers.re:539:26: warning: unused variable 'right' [-Wunused-variable] struct scanner_token right; ^ parsers.re:538:26: warning: unused variable 'left' [-Wunused-variable] struct scanner_token left; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_normalize_headers': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function '_array_to_csv': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:281:5: 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-1.0.0/ZTS/serverresponse.c:156:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:284:5: 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-1.0.0/ZTS/serverrequest.c:264:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_upload_from_nested': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:320:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:320:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:321:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp2 = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:321:5: warning: (near initialization for 'tmp2.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'php_response_header': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:207:10: warning: unused variable 'arr' [-Wunused-variable] zval arr; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'php_response_header_stringl': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:272:5: warning: missing braces around initializer [-Wmissing-braces] zval header_val = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:272:5: warning: (near initialization for 'header_val.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_normalize_files': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:357:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:357:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_copy_global': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:595:13: warning: passing argument 1 of 'zend_is_auto_global_str' discards 'const' qualifier from pointer target type [enabled by default] zend_is_auto_global_str(glob_key, glob_key_length); ^ In file included from /usr/include/php-zts/php/Zend/zend_modules.h:26:0, from /usr/include/php-zts/php/Zend/zend_API.h:27, from /usr/include/php-zts/php/main/php.h:39, from /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:8: /usr/include/php-zts/php/Zend/zend_compile.h:821:20: note: expected 'char *' but argument is of type 'const char *' ZEND_API zend_bool zend_is_auto_global_str(char *name, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_forwarded': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:623:9: warning: pointer targets in passing argument 2 of 'server_request_parse_x_forwarded_for' differ in signedness [-Wpointer-sign] server_request_parse_x_forwarded_for(&forwardedFor, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:25:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_x_forwarded_for(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:643:9: warning: implicit declaration of function 'server_request_parse_forwarded' [-Wimplicit-function-declaration] server_request_parse_forwarded(&forwarded, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_url': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:652:5: warning: missing braces around initializer [-Wmissing-braces] zval arr = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:652:5: warning: (near initialization for 'arr.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_accept_by_name': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:721:9: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_parse_accept_language': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:736:5: warning: missing braces around initializer [-Wmissing-braces] zval type = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:736:5: warning: (near initialization for 'type.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:737:5: warning: missing braces around initializer [-Wmissing-braces] zval subtype = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:737:5: warning: (near initialization for 'subtype.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:732:10: warning: unused variable 'rv' [-Wunused-variable] zval rv; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:729:16: warning: unused variable 'index' [-Wunused-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:728:18: warning: unused variable 'key' [-Wunused-variable] zend_string *key; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_accept_language': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:765:9: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(&val, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_auth': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:774:5: warning: missing braces around initializer [-Wmissing-braces] zval digest = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:774:5: warning: (near initialization for 'digest.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:790:9: warning: pointer targets in passing argument 2 of 'server_request_parse_digest_auth' differ in signedness [-Wpointer-sign] server_request_parse_digest_auth(&digest, ZSTR_VAL(str), ZSTR_LEN(str)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:24:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'server_request_set_content': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:799:5: warning: missing braces around initializer [-Wmissing-braces] zval zv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:799:5: warning: (near initialization for 'zv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:800:5: warning: missing braces around initializer [-Wmissing-braces] zval contentType = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:800:5: warning: (near initialization for 'contentType.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:813:9: warning: pointer targets in passing argument 2 of 'server_request_parse_content_type' differ in signedness [-Wpointer-sign] server_request_parse_content_type(&contentType, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:799:10: warning: unused variable 'zv' [-Wunused-variable] zval zv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest___construct': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:836:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:836:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:837:5: warning: missing braces around initializer [-Wmissing-braces] zval method = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:837:5: warning: (near initialization for 'method.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:838:5: warning: missing braces around initializer [-Wmissing-braces] zval headers = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:838:5: warning: (near initialization for 'headers.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:839:5: warning: missing braces around initializer [-Wmissing-braces] zval uploads = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:839:5: warning: (near initialization for 'uploads.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'php_response_setcookie': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:467:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:467:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:468:5: warning: missing braces around initializer [-Wmissing-braces] zval cookie = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:468:5: warning: (near initialization for 'cookie.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withInput': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:919:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:919:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:918:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withParam': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:955:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:955:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:956:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:956:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:957:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:957:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:954:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withParams': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1010:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1010:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'throw_json_exception': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:576:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:576:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:577:5: warning: missing braces around initializer [-Wmissing-braces] zval json_errmsg = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:577:5: warning: (near initialization for 'json_errmsg.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:578:5: warning: missing braces around initializer [-Wmissing-braces] zval json_errno = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:578:5: warning: (near initialization for 'json_errno.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_setContentJson': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:602:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:602:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:603:5: warning: missing braces around initializer [-Wmissing-braces] zval json_value = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:603:5: warning: (near initialization for 'json_value.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:604:5: warning: missing braces around initializer [-Wmissing-braces] zval params[3] = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:604:5: warning: (near initialization for 'params[0]') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1009:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withoutParam': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1046:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1046:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1047:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1047:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1048:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1048:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_setContentDownload': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:657:5: warning: missing braces around initializer [-Wmissing-braces] zval _params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:657:5: warning: (near initialization for '_params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1045:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withoutParams': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1094:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1094:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1095:5: warning: missing braces around initializer [-Wmissing-braces] zval member = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1095:5: warning: (near initialization for 'member.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1096:5: warning: missing braces around initializer [-Wmissing-braces] zval params = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1096:5: warning: (near initialization for 'params.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_addHeaderCallback': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:745:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:745:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1093:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_withUrl': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1166:5: warning: missing braces around initializer [-Wmissing-braces] zval clone = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1166:5: warning: (near initialization for 'clone.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1167:5: warning: missing braces around initializer [-Wmissing-braces] zval zvurl = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1167:5: warning: (near initialization for 'zvurl.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1165:18: warning: unused variable 'clone_obj' [-Wunused-variable] zend_object *clone_obj; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_date': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:799:5: warning: missing braces around initializer [-Wmissing-braces] zval tmp = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:799:5: warning: (near initialization for 'tmp.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:800:5: warning: missing braces around initializer [-Wmissing-braces] zval ts = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:800:5: warning: (near initialization for 'ts.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_parseAccept': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1217:5: warning: pointer targets in passing argument 2 of 'server_request_parse_accept' differ in signedness [-Wpointer-sign] server_request_parse_accept(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:22:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_accept(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_send': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:838:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:838:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_parseContentType': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1231:5: warning: pointer targets in passing argument 2 of 'server_request_parse_content_type' differ in signedness [-Wpointer-sign] server_request_parse_content_type(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:23:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_content_type(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c: In function 'zim_ServerRequest_parseDigestAuth': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:1244:5: warning: pointer targets in passing argument 2 of 'server_request_parse_digest_auth' differ in signedness [-Wpointer-sign] server_request_parse_digest_auth(return_value, ZSTR_VAL(header), ZSTR_LEN(header)); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverrequest.c:24:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void server_request_parse_digest_auth(zval *return_value, const unsigned char *str, size_t len); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_runHeaderCallbacks': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:874:9: warning: missing braces around initializer [-Wmissing-braces] zval retval = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:874:9: warning: (near initialization for 'retval.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:875:9: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {{0}}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:875:9: warning: (near initialization for 'params[0].value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:882:24: warning: assignment from incompatible pointer type [enabled by default] fci.params = ¶ms; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_sendHeaders': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:972:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_sendCookies': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1042:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] zend_ulong index; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c: In function 'zim_ServerResponse_sendContent': /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1070:5: warning: missing braces around initializer [-Wmissing-braces] zval func_name = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1070:5: warning: (near initialization for 'func_name.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1071:5: warning: missing braces around initializer [-Wmissing-braces] zval rv = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1071:5: warning: (near initialization for 'rv.value') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1072:5: warning: missing braces around initializer [-Wmissing-braces] zval params[1] = {0}; ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1072:5: warning: (near initialization for 'params[0]') [-Wmissing-braces] /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1086:9: warning: passing argument 5 of '_call_user_function_ex' from incompatible pointer type [enabled by default] call_user_function(&Z_OBJCE_P(tmp)->function_table, tmp, &func_name, &rv, 1, ¶ms); ^ In file included from /usr/include/php-zts/php/main/php.h:39:0, from /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:6: /usr/include/php-zts/php/Zend/zend_API.h:489:14: note: expected 'struct zval *' but argument is of type 'struct zval (*)[1]' ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); ^ /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/serverresponse.c:1069:11: warning: unused variable 'error' [-Wunused-variable] char *error; ^ /bin/sh /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/include -I/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/main -I/builddir/build/BUILD/php-pecl-request-1.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-1.0.0/ZTS/modules php_request.lo parsers.lo serverresponse.lo serverrequest.lo libtool: link: cc -shared -fPIC -DPIC .libs/php_request.o .libs/parsers.o .libs/serverresponse.o .libs/serverrequest.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-1.0.0/ZTS/libtool --mode=install cp ./request.la /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/modules libtool: install: cp ./.libs/request.so /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/modules/request.so libtool: install: cp ./.libs/request.lai /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/modules/request.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-request-1.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.nOQgpT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm ++ dirname /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm + cd php-pecl-request-1.0.0 + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm make: Entering directory `/builddir/build/BUILD/php-pecl-request-1.0.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php/modules/ make: Leaving directory `/builddir/build/BUILD/php-pecl-request-1.0.0/NTS' + install -D -m 644 40-request.ini /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/etc/php.d/40-request.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/var/lib/pear/pkgxml/php-pecl-request.xml + make -C ZTS install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm make: Entering directory `/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS' Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php-zts/modules/ make: Leaving directory `/builddir/build/BUILD/php-pecl-request-1.0.0/ZTS' + install -D -m 644 40-request.ini /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.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-1.0.0-0.7.b2.el7.7.2.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-1.0.0-0.7.b2.el7.7.2.arm/usr/share/doc/pecl/request/README.md + /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-1.0.0 extracting debug info from /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php-zts/modules/request.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php/modules/request.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 472 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.SdsbrV + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-1.0.0 + : Minimal load test for NTS extension + cd NTS + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php/modules/request.so --modules + grep request request + : Upstream test suite for NTS extension + TEST_PHP_EXECUTABLE=/usr/bin/php + TEST_PHP_ARGS='-n -d extension=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php/modules/request.so' + NO_INTERACTION=1 + REPORT_EXIT_STATUS=1 + /usr/bin/php -n run-tests.php --show-diff ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 7.2.1 ZEND_VERSION: 3.2.0 PHP_OS : Linux - Linux armv7-05.dev.centos.org 4.10.8-fedora-1 #1 SMP Wed Apr 5 16:17:05 UTC 2017 armv7l INI actual : /builddir/build/BUILD/php-pecl-request-1.0.0/NTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-request-1.0.0/NTS Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. TEST 1/72 [tests/phpinfo.phpt] PASS request phpinfo [tests/phpinfo.phpt] TEST 2/72 [tests/request/__clone.phpt] PASS ServerRequest::__clone [tests/request/__clone.phpt] TEST 3/72 [tests/request/__construct.phpt] PASS ServerRequest::__construct [tests/request/__construct.phpt] TEST 4/72 [tests/request/__get-extension.phpt] PASS ServerRequest::__get extension indirect modification [tests/request/__get-extension.phpt] TEST 5/72 [tests/request/__get-userland.phpt] SKIP ServerRequest::__get userland indirect modification [tests/request/__get-userland.phpt] reason: TEST 6/72 [tests/request/__get.phpt] PASS ServerRequest::__get [tests/request/__get.phpt] TEST 7/72 [tests/request/__isset.phpt] PASS ServerRequest::__isset [tests/request/__isset.phpt] TEST 8/72 [tests/request/__set.phpt] PASS ServerRequest::__set [tests/request/__set.phpt] TEST 9/72 [tests/request/__unset.phpt] PASS ServerRequest::__unset [tests/request/__unset.phpt] TEST 10/72 [tests/request/accept.phpt] PASS ServerRequest::$accept [tests/request/accept.phpt] TEST 11/72 [tests/request/acceptCharset.phpt] PASS ServerRequest::$acceptCharset [tests/request/acceptCharset.phpt] TEST 12/72 [tests/request/acceptEncoding.phpt] PASS ServerRequest::$acceptEncoding [tests/request/acceptEncoding.phpt] TEST 13/72 [tests/request/acceptLanguage.phpt] PASS ServerRequest::$acceptLanguage [tests/request/acceptLanguage.phpt] TEST 14/72 [tests/request/auth_basic.phpt] PASS ServerRequest - basic auth [tests/request/auth_basic.phpt] TEST 15/72 [tests/request/auth_digest.phpt] PASS ServerRequest - digest auth [tests/request/auth_digest.phpt] TEST 16/72 [tests/request/auto_globals_jit.phpt] PASS ServerRequest - auto_globals_jit [tests/request/auto_globals_jit.phpt] TEST 17/72 [tests/request/content1.phpt] PASS ServerRequest::$content (cgi) [tests/request/content1.phpt] TEST 18/72 [tests/request/content2.phpt] PASS ServerRequest::$content (cli) [tests/request/content2.phpt] TEST 19/72 [tests/request/contentLength.phpt] PASS ServerRequest::$contentLength [tests/request/contentLength.phpt] TEST 20/72 [tests/request/contentMd5.phpt] PASS ServerRequest::$contentMd5 [tests/request/contentMd5.phpt] TEST 21/72 [tests/request/contentType.phpt] PASS ServerRequest::$contentType [tests/request/contentType.phpt] TEST 22/72 [tests/request/cookie.phpt] PASS ServerRequest::$cookie [tests/request/cookie.phpt] TEST 23/72 [tests/request/env.phpt] PASS ServerRequest::$env [tests/request/env.phpt] TEST 24/72 [tests/request/files.phpt] PASS ServerRequest::$files [tests/request/files.phpt] TEST 25/72 [tests/request/forward.phpt] PASS ServerRequest::$forwarded (etc.) [tests/request/forward.phpt] TEST 26/72 [tests/request/get.phpt] PASS ServerRequest::$get [tests/request/get.phpt] TEST 27/72 [tests/request/headers.phpt] PASS ServerRequest::$headers [tests/request/headers.phpt] TEST 28/72 [tests/request/inheritance.phpt] PASS ServerRequest - inheritance [tests/request/inheritance.phpt] TEST 29/72 [tests/request/method.phpt] PASS ServerRequest::$method [tests/request/method.phpt] TEST 30/72 [tests/request/parseAccept.phpt] PASS ServerRequest::parseAccept [tests/request/parseAccept.phpt] TEST 31/72 [tests/request/parseContentType.phpt] PASS ServerRequest::parseContentType [tests/request/parseContentType.phpt] TEST 32/72 [tests/request/parseDigestAuth.phpt] PASS ServerRequest::parseDigestAuth [tests/request/parseDigestAuth.phpt] TEST 33/72 [tests/request/post.phpt] PASS ServerRequest::$post [tests/request/post.phpt] TEST 34/72 [tests/request/superglobals-are-copied.phpt] PASS ServerRequest - superglobals are copied [tests/request/superglobals-are-copied.phpt] TEST 35/72 [tests/request/uploads-complex.phpt] PASS ServerRequest::$uploads (complex) [tests/request/uploads-complex.phpt] TEST 36/72 [tests/request/uploads-real.phpt] PASS ServerRequest::$uploads (real) [tests/request/uploads-real.phpt] TEST 37/72 [tests/request/uploads-trivial.phpt] PASS ServerRequest::$uploads (trivial) [tests/request/uploads-trivial.phpt] TEST 38/72 [tests/request/url.phpt] PASS ServerRequest::$url [tests/request/url.phpt] TEST 39/72 [tests/request/variables_order.phpt] PASS ServerRequest - variables_order [tests/request/variables_order.phpt] TEST 40/72 [tests/request/withInput.phpt] PASS ServerRequest::withInput [tests/request/withInput.phpt] TEST 41/72 [tests/request/withParam.phpt] PASS ServerRequest::withParam [tests/request/withParam.phpt] TEST 42/72 [tests/request/withParams.phpt] PASS ServerRequest::withParams [tests/request/withParams.phpt] TEST 43/72 [tests/request/withUrl.phpt] PASS ServerRequest::withUrl [tests/request/withUrl.phpt] TEST 44/72 [tests/request/withoutParam.phpt] PASS ServerRequest::withoutParam [tests/request/withoutParam.phpt] TEST 45/72 [tests/request/withoutParams.phpt] PASS ServerRequest::withoutParams [tests/request/withoutParams.phpt] TEST 46/72 [tests/request/xhr.phpt] PASS ServerRequest::$xhr [tests/request/xhr.phpt] TEST 47/72 [tests/response/addHeader.phpt] PASS ServerResponse::addHeader [tests/response/addHeader.phpt] TEST 48/72 [tests/response/addHeaderCallback.phpt] PASS ServerResponse::addHeaderCallback [tests/response/addHeaderCallback.phpt] TEST 49/72 [tests/response/addHeader_array.phpt] PASS ServerResponse::addHeader (array) [tests/response/addHeader_array.phpt] TEST 50/72 [tests/response/date.phpt] PASS ServerResponse::date [tests/response/date.phpt] TEST 51/72 [tests/response/date_invalid.phpt] PASS ServerResponse::date (invalid) [tests/response/date_invalid.phpt] TEST 52/72 [tests/response/getHeaderCallbacks.phpt] PASS ServerResponse::getHeaderCallbacks [tests/response/getHeaderCallbacks.phpt] TEST 53/72 [tests/response/getStatus.phpt] PASS ServerResponse::getStatus [tests/response/getStatus.phpt] TEST 54/72 [tests/response/getVersion.phpt] PASS ServerResponse::getVersion [tests/response/getVersion.phpt] TEST 55/72 [tests/response/runHeaderCallbacks.phpt] PASS ServerResponse::runHeaderCallback [tests/response/runHeaderCallbacks.phpt] TEST 56/72 [tests/response/sendContent_callable.phpt] PASS ServerResponse::sendContent (callable) [tests/response/sendContent_callable.phpt] TEST 57/72 [tests/response/sendContent_callableRV.phpt] PASS ServerResponse::sendContent (callable return value) [tests/response/sendContent_callableRV.phpt] TEST 58/72 [tests/response/sendContent_resource.phpt] PASS ServerResponse::sendContent (resource) [tests/response/sendContent_resource.phpt] TEST 59/72 [tests/response/sendContent_string.phpt] PASS ServerResponse::sendContent (string) [tests/response/sendContent_string.phpt] TEST 60/72 [tests/response/sendCookies.phpt] PASS ServerResponse::sendCookies [tests/response/sendCookies.phpt] TEST 61/72 [tests/response/sendHeaders.phpt] PASS ServerResponse::sendHeaders [tests/response/sendHeaders.phpt] TEST 62/72 [tests/response/sendStatus.phpt] PASS ServerResponse::sendStatus [tests/response/sendStatus.phpt] TEST 63/72 [tests/response/setContent.phpt] PASS ServerResponse::setContent [tests/response/setContent.phpt] TEST 64/72 [tests/response/setContentDownload.phpt] PASS ServerResponse::setContentDownload [tests/response/setContentDownload.phpt] TEST 65/72 [tests/response/setContentDownload_notResource.phpt] PASS ServerResponse::setContentResource (not resource) [tests/response/setContentDownload_notResource.phpt] TEST 66/72 [tests/response/setContentJson.phpt] PASS ServerResponse::setContentJson [tests/response/setContentJson.phpt] TEST 67/72 [tests/response/setContentJson_failed.phpt] PASS ServerResponse::setContentJson (failed) [tests/response/setContentJson_failed.phpt] TEST 68/72 [tests/response/setCookie.phpt] PASS ServerResponse::setCookie [tests/response/setCookie.phpt] TEST 69/72 [tests/response/setHeader.phpt] PASS ServerResponse::setHeader [tests/response/setHeader.phpt] TEST 70/72 [tests/response/setHeader_array.phpt] PASS ServerResponse::setHeader (array) [tests/response/setHeader_array.phpt] TEST 71/72 [tests/response/setStatus.phpt] PASS ServerResponse::setStatus [tests/response/setStatus.phpt] TEST 72/72 [tests/response/setVersion.phpt] PASS ServerResponse::setVersion [tests/response/setVersion.phpt] ===================================================================== Number of tests : 72 71 Tests skipped : 1 ( 1.4%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 71 ( 98.6%) (100.0%) --------------------------------------------------------------------- Time taken : 13 seconds ===================================================================== + : Minimal load test for ZTS extension + cd ../ZTS + /usr/bin/zts-php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php-zts/modules/request.so --modules + grep request request + : Upstream test suite for ZTS extension + TEST_PHP_EXECUTABLE=/usr/bin/zts-php + TEST_PHP_ARGS='-n -d extension=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/lib/php-zts/modules/request.so' + NO_INTERACTION=1 + REPORT_EXIT_STATUS=1 + /usr/bin/zts-php -n run-tests.php --show-diff ===================================================================== PHP : /usr/bin/zts-php PHP_SAPI : cli PHP_VERSION : 7.2.1 ZEND_VERSION: 3.2.0 PHP_OS : Linux - Linux armv7-05.dev.centos.org 4.10.8-fedora-1 #1 SMP Wed Apr 5 16:17:05 UTC 2017 armv7l INI actual : /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS More .INIs : CWD : /builddir/build/BUILD/php-pecl-request-1.0.0/ZTS Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. TEST 1/72 [tests/phpinfo.phpt] PASS request phpinfo [tests/phpinfo.phpt] TEST 2/72 [tests/request/__clone.phpt] PASS ServerRequest::__clone [tests/request/__clone.phpt] TEST 3/72 [tests/request/__construct.phpt] PASS ServerRequest::__construct [tests/request/__construct.phpt] TEST 4/72 [tests/request/__get-extension.phpt] PASS ServerRequest::__get extension indirect modification [tests/request/__get-extension.phpt] TEST 5/72 [tests/request/__get-userland.phpt] SKIP ServerRequest::__get userland indirect modification [tests/request/__get-userland.phpt] reason: TEST 6/72 [tests/request/__get.phpt] PASS ServerRequest::__get [tests/request/__get.phpt] TEST 7/72 [tests/request/__isset.phpt] PASS ServerRequest::__isset [tests/request/__isset.phpt] TEST 8/72 [tests/request/__set.phpt] PASS ServerRequest::__set [tests/request/__set.phpt] TEST 9/72 [tests/request/__unset.phpt] PASS ServerRequest::__unset [tests/request/__unset.phpt] TEST 10/72 [tests/request/accept.phpt] PASS ServerRequest::$accept [tests/request/accept.phpt] TEST 11/72 [tests/request/acceptCharset.phpt] PASS ServerRequest::$acceptCharset [tests/request/acceptCharset.phpt] TEST 12/72 [tests/request/acceptEncoding.phpt] PASS ServerRequest::$acceptEncoding [tests/request/acceptEncoding.phpt] TEST 13/72 [tests/request/acceptLanguage.phpt] PASS ServerRequest::$acceptLanguage [tests/request/acceptLanguage.phpt] TEST 14/72 [tests/request/auth_basic.phpt] PASS ServerRequest - basic auth [tests/request/auth_basic.phpt] TEST 15/72 [tests/request/auth_digest.phpt] PASS ServerRequest - digest auth [tests/request/auth_digest.phpt] TEST 16/72 [tests/request/auto_globals_jit.phpt] SKIP ServerRequest - auto_globals_jit [tests/request/auto_globals_jit.phpt] reason: TEST 17/72 [tests/request/content1.phpt] SKIP ServerRequest::$content (cgi) [tests/request/content1.phpt] reason: TEST 18/72 [tests/request/content2.phpt] PASS ServerRequest::$content (cli) [tests/request/content2.phpt] TEST 19/72 [tests/request/contentLength.phpt] PASS ServerRequest::$contentLength [tests/request/contentLength.phpt] TEST 20/72 [tests/request/contentMd5.phpt] PASS ServerRequest::$contentMd5 [tests/request/contentMd5.phpt] TEST 21/72 [tests/request/contentType.phpt] PASS ServerRequest::$contentType [tests/request/contentType.phpt] TEST 22/72 [tests/request/cookie.phpt] SKIP ServerRequest::$cookie [tests/request/cookie.phpt] reason: TEST 23/72 [tests/request/env.phpt] PASS ServerRequest::$env [tests/request/env.phpt] TEST 24/72 [tests/request/files.phpt] SKIP ServerRequest::$files [tests/request/files.phpt] reason: TEST 25/72 [tests/request/forward.phpt] PASS ServerRequest::$forwarded (etc.) [tests/request/forward.phpt] TEST 26/72 [tests/request/get.phpt] SKIP ServerRequest::$get [tests/request/get.phpt] reason: TEST 27/72 [tests/request/headers.phpt] PASS ServerRequest::$headers [tests/request/headers.phpt] TEST 28/72 [tests/request/inheritance.phpt] PASS ServerRequest - inheritance [tests/request/inheritance.phpt] TEST 29/72 [tests/request/method.phpt] PASS ServerRequest::$method [tests/request/method.phpt] TEST 30/72 [tests/request/parseAccept.phpt] PASS ServerRequest::parseAccept [tests/request/parseAccept.phpt] TEST 31/72 [tests/request/parseContentType.phpt] PASS ServerRequest::parseContentType [tests/request/parseContentType.phpt] TEST 32/72 [tests/request/parseDigestAuth.phpt] PASS ServerRequest::parseDigestAuth [tests/request/parseDigestAuth.phpt] TEST 33/72 [tests/request/post.phpt] SKIP ServerRequest::$post [tests/request/post.phpt] reason: TEST 34/72 [tests/request/superglobals-are-copied.phpt] PASS ServerRequest - superglobals are copied [tests/request/superglobals-are-copied.phpt] TEST 35/72 [tests/request/uploads-complex.phpt] PASS ServerRequest::$uploads (complex) [tests/request/uploads-complex.phpt] TEST 36/72 [tests/request/uploads-real.phpt] SKIP ServerRequest::$uploads (real) [tests/request/uploads-real.phpt] reason: TEST 37/72 [tests/request/uploads-trivial.phpt] PASS ServerRequest::$uploads (trivial) [tests/request/uploads-trivial.phpt] TEST 38/72 [tests/request/url.phpt] PASS ServerRequest::$url [tests/request/url.phpt] TEST 39/72 [tests/request/variables_order.phpt] SKIP ServerRequest - variables_order [tests/request/variables_order.phpt] reason: TEST 40/72 [tests/request/withInput.phpt] SKIP ServerRequest::withInput [tests/request/withInput.phpt] reason: TEST 41/72 [tests/request/withParam.phpt] SKIP ServerRequest::withParam [tests/request/withParam.phpt] reason: TEST 42/72 [tests/request/withParams.phpt] SKIP ServerRequest::withParams [tests/request/withParams.phpt] reason: TEST 43/72 [tests/request/withUrl.phpt] SKIP ServerRequest::withUrl [tests/request/withUrl.phpt] reason: TEST 44/72 [tests/request/withoutParam.phpt] SKIP ServerRequest::withoutParam [tests/request/withoutParam.phpt] reason: TEST 45/72 [tests/request/withoutParams.phpt] SKIP ServerRequest::withoutParams [tests/request/withoutParams.phpt] reason: TEST 46/72 [tests/request/xhr.phpt] PASS ServerRequest::$xhr [tests/request/xhr.phpt] TEST 47/72 [tests/response/addHeader.phpt] PASS ServerResponse::addHeader [tests/response/addHeader.phpt] TEST 48/72 [tests/response/addHeaderCallback.phpt] PASS ServerResponse::addHeaderCallback [tests/response/addHeaderCallback.phpt] TEST 49/72 [tests/response/addHeader_array.phpt] PASS ServerResponse::addHeader (array) [tests/response/addHeader_array.phpt] TEST 50/72 [tests/response/date.phpt] PASS ServerResponse::date [tests/response/date.phpt] TEST 51/72 [tests/response/date_invalid.phpt] PASS ServerResponse::date (invalid) [tests/response/date_invalid.phpt] TEST 52/72 [tests/response/getHeaderCallbacks.phpt] PASS ServerResponse::getHeaderCallbacks [tests/response/getHeaderCallbacks.phpt] TEST 53/72 [tests/response/getStatus.phpt] PASS ServerResponse::getStatus [tests/response/getStatus.phpt] TEST 54/72 [tests/response/getVersion.phpt] PASS ServerResponse::getVersion [tests/response/getVersion.phpt] TEST 55/72 [tests/response/runHeaderCallbacks.phpt] SKIP ServerResponse::runHeaderCallback [tests/response/runHeaderCallbacks.phpt] reason: TEST 56/72 [tests/response/sendContent_callable.phpt] PASS ServerResponse::sendContent (callable) [tests/response/sendContent_callable.phpt] TEST 57/72 [tests/response/sendContent_callableRV.phpt] PASS ServerResponse::sendContent (callable return value) [tests/response/sendContent_callableRV.phpt] TEST 58/72 [tests/response/sendContent_resource.phpt] PASS ServerResponse::sendContent (resource) [tests/response/sendContent_resource.phpt] TEST 59/72 [tests/response/sendContent_string.phpt] PASS ServerResponse::sendContent (string) [tests/response/sendContent_string.phpt] TEST 60/72 [tests/response/sendCookies.phpt] SKIP ServerResponse::sendCookies [tests/response/sendCookies.phpt] reason: TEST 61/72 [tests/response/sendHeaders.phpt] SKIP ServerResponse::sendHeaders [tests/response/sendHeaders.phpt] reason: TEST 62/72 [tests/response/sendStatus.phpt] PASS ServerResponse::sendStatus [tests/response/sendStatus.phpt] TEST 63/72 [tests/response/setContent.phpt] PASS ServerResponse::setContent [tests/response/setContent.phpt] TEST 64/72 [tests/response/setContentDownload.phpt] PASS ServerResponse::setContentDownload [tests/response/setContentDownload.phpt] TEST 65/72 [tests/response/setContentDownload_notResource.phpt] PASS ServerResponse::setContentResource (not resource) [tests/response/setContentDownload_notResource.phpt] TEST 66/72 [tests/response/setContentJson.phpt] PASS ServerResponse::setContentJson [tests/response/setContentJson.phpt] TEST 67/72 [tests/response/setContentJson_failed.phpt] PASS ServerResponse::setContentJson (failed) [tests/response/setContentJson_failed.phpt] TEST 68/72 [tests/response/setCookie.phpt] PASS ServerResponse::setCookie [tests/response/setCookie.phpt] TEST 69/72 [tests/response/setHeader.phpt] PASS ServerResponse::setHeader [tests/response/setHeader.phpt] TEST 70/72 [tests/response/setHeader_array.phpt] PASS ServerResponse::setHeader (array) [tests/response/setHeader_array.phpt] TEST 71/72 [tests/response/setStatus.phpt] PASS ServerResponse::setStatus [tests/response/setStatus.phpt] TEST 72/72 [tests/response/setVersion.phpt] PASS ServerResponse::setVersion [tests/response/setVersion.phpt] ===================================================================== Number of tests : 72 54 Tests skipped : 18 ( 25.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 54 ( 75.0%) (100.0%) --------------------------------------------------------------------- Time taken : 12 seconds ===================================================================== + exit 0 Processing files: php-pecl-request-1.0.0-0.7.b2.el7.7.2.armv7hl Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.j0toRh + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/share/licenses/php-pecl-request-1.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/share/licenses/php-pecl-request-1.0.0 + cp -pr NTS/LICENSE.md /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm/usr/share/licenses/php-pecl-request-1.0.0 + exit 0 Provides: config(php-pecl-request) = 1.0.0-0.7.b2.el7.7.2 php-pecl(request) = 1.0.0 php-pecl(request)(armv7hl-32) = 1.0.0 php-pecl-request = 1.0.0-0.7.b2.el7.7.2 php-pecl-request(armv7hl-32) = 1.0.0-0.7.b2.el7.7.2 php-request = 1.0.0 php-request(armv7hl-32) = 1.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-debuginfo-1.0.0-0.7.b2.el7.7.2.armv7hl Provides: php-pecl-request-debuginfo = 1.0.0-0.7.b2.el7.7.2 php-pecl-request-debuginfo(armv7hl-32) = 1.0.0-0.7.b2.el7.7.2 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-1.0.0-0.7.b2.el7.7.2.arm Wrote: /builddir/build/RPMS/php-pecl-request-1.0.0-0.7.b2.el7.7.2.armv7hl.rpm Wrote: /builddir/build/RPMS/php-pecl-request-debuginfo-1.0.0-0.7.b2.el7.7.2.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jTiYVi + umask 022 + cd /builddir/build/BUILD + cd php-pecl-request-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-request-1.0.0-0.7.b2.el7.7.2.arm + exit 0 Child return code was: 0