Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1253541 Details for
Bug 1424079
php-pecl-parsekit: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 94.73 KB, created by
Fedora Release Engineering
on 2017-02-17 15:50:00 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 15:50:00 UTC
Size:
94.73 KB
patch
obsolete
>Mock Version: 1.3.3 >Mock Version: 1.3.3 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/php-pecl-parsekit.spec'], timeout=172800printOutput=Falseuser='mockbuild'chrootPath='/var/lib/mock/f26-build-7656031-694473/root'shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fff77322390>env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}uid=1000gid=425) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/php-pecl-parsekit.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False >sh: php-config: command not found >error: Macro %php_extdir has empty body >Building target platforms: ppc64 >Building for target ppc64 >Wrote: /builddir/build/SRPMS/php-pecl-parsekit-1.3.0-11.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/php-pecl-parsekit.spec'], timeout=172800printOutput=Falseuser='mockbuild'chrootPath='/var/lib/mock/f26-build-7656031-694473/root'shell=Falseenv={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}uid=1000logger=<mockbuild.trace_decorator.getLog object at 0x3fff77322390>private_network=Truegid=425) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/php-pecl-parsekit.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False >Building target platforms: ppc64 >Building for target ppc64 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JTQDS2 >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf php-pecl-parsekit-1.3.0 >+ /usr/bin/mkdir -p php-pecl-parsekit-1.3.0 >+ cd php-pecl-parsekit-1.3.0 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/parsekit-1.3.0.tgz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ cd parsekit-1.3.0 >Patch #1 (php-pecl-parsekit-1.3-php-5.4.patch): >+ echo 'Patch #1 (php-pecl-parsekit-1.3-php-5.4.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .php5.4 --fuzz=0 >patching file parsekit.c >Patch #2 (php-pecl-parsekit-1.3-php56-variadic-fix.patch): >+ echo 'Patch #2 (php-pecl-parsekit-1.3-php56-variadic-fix.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .php5.6 --fuzz=0 >patching file parsekit.c >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BrwnHJ >+ umask 022 >+ cd /builddir/build/BUILD >+ cd php-pecl-parsekit-1.3.0 >+ cd parsekit-1.3.0 >+ phpize >Configuring for: >PHP Api Version: 20160303 >Zend Module Api No: 20160303 >Zend Extension Api No: 320160303 >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ for i in $(find . -name ltmain.sh) >+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh >+ ./configure --build=ppc64-redhat-linux-gnu --host=ppc64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-parsekit >configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-parsekit >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 ppc64-redhat-linux-gnu-cc... no >checking for ppc64-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... powerpc64-redhat-linux-gnu >checking host system type... powerpc64-redhat-linux-gnu >checking target system type... powerpc64-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/lib64/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 parsekit 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 how to convert powerpc64-redhat-linux-gnu file names to powerpc64-redhat-linux-gnu format... func_convert_file_noop >checking how to convert powerpc64-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 ppc64-redhat-linux-gnu-objdump... no >checking for objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for ppc64-redhat-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for ppc64-redhat-linux-gnu-ar... no >checking for ar... ar >checking for archiver @FILE support... @ >checking for ppc64-redhat-linux-gnu-strip... no >checking for strip... strip >checking for ppc64-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 a working dd... /usr/bin/dd >checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 >checking for ppc64-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, --with-parsekit >+ /usr/bin/make >/bin/sh /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/include -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/main -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -c /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c -o parsekit.lo >libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/include -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/main -I/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -c /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c -fPIC -DPIC -o .libs/parsekit.o >In file included from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:28:0: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:216:4: error: 'ZEND_PRINT' undeclared here (not in a function); did you mean 'ZEND_RINIT'? > { ZEND_PRINT, "ZEND_PRINT", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR }, > ^~~~~~~~~~ > ZEND_RINIT >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:224:4: error: 'ZEND_SWITCH_FREE' undeclared here (not in a function); did you mean 'ZEND_STR_FILE'? > { ZEND_SWITCH_FREE, "ZEND_SWITCH_FREE", PHP_PARSEKIT_OP1_VAR | PHP_PARSEKIT_EXTENDED_VALUE }, > ^~~~~~~~~~~~~~~~ > ZEND_STR_FILE >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:228:4: error: 'ZEND_INIT_STRING' undeclared here (not in a function); did you mean 'ZEND_STR_STRING'? > { ZEND_INIT_STRING, "ZEND_INIT_STRING", PHP_PARSEKIT_RESULT_VAR }, > ^~~~~~~~~~~~~~~~ > ZEND_STR_STRING >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:229:4: error: 'ZEND_ADD_CHAR' undeclared here (not in a function); did you mean 'ZEND_AST_VAR'? > { ZEND_ADD_CHAR, "ZEND_ADD_CHAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_CONST }, > ^~~~~~~~~~~~~ > ZEND_AST_VAR >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:230:4: error: 'ZEND_ADD_STRING' undeclared here (not in a function); did you mean 'ZEND_STR_STRING'? > { ZEND_ADD_STRING, "ZEND_ADD_STRING", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_CONST }, > ^~~~~~~~~~~~~~~ > ZEND_STR_STRING >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:231:4: error: 'ZEND_ADD_VAR' undeclared here (not in a function); did you mean 'ZEND_ADD_CHAR'? > { ZEND_ADD_VAR, "ZEND_ADD_VAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR }, > ^~~~~~~~~~~~ > ZEND_ADD_CHAR >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:261:4: error: 'ZEND_FE_RESET' undeclared here (not in a function); did you mean 'ZEND_FE_RESET_R'? > { ZEND_FE_RESET, "ZEND_FE_RESET", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_OPLINE | PHP_PARSEKIT_EXTENDED_VALUE }, > ^~~~~~~~~~~~~ > ZEND_FE_RESET_R >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:262:4: error: 'ZEND_FE_FETCH' undeclared here (not in a function); did you mean 'ZEND_FE_FETCH_R'? > { ZEND_FE_FETCH, "ZEND_FE_FETCH", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_OPLINE | PHP_PARSEKIT_EXTENDED_VALUE }, > ^~~~~~~~~~~~~ > ZEND_FE_FETCH_R >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:282:4: error: 'ZEND_FETCH_DIM_TMP_VAR' undeclared here (not in a function); did you mean 'ZEND_FETCH_DIM_R'? > { ZEND_FETCH_DIM_TMP_VAR, "ZEND_FETCH_DIM_TMP_VAR", PHP_PARSEKIT_RESULT_VAR | PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR }, > ^~~~~~~~~~~~~~~~~~~~~~ > ZEND_FETCH_DIM_R >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/php_parsekit.h:322:4: error: 'ZEND_RAISE_ABSTRACT_ERROR' undeclared here (not in a function); did you mean 'ZEND_VERIFY_ABSTRACT_CLASS'? > { ZEND_RAISE_ABSTRACT_ERROR, "ZEND_RAISE_ABSTRACT_ERROR", PHP_PARSEKIT_USAGE_UNKNOWN }, > ^~~~~~~~~~~~~~~~~~~~~~~~~ > ZEND_VERIFY_ABSTRACT_CLASS >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_node': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:148: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "type_name", php_parsekit_define_name(node->op_type, php_parsekit_nodetype_names, PHP_PARSEKIT_NODETYPE_UNKNOWN), 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? > add_assoc_string(return_value, "type_name", php_parsekit_define_name(node->op_type, php_parsekit_nodetype_names, PHP_PARSEKIT_NODETYPE_UNKNOWN), 1); > ^~~~~~~~~~~~~~~~ > add_assoc_string_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: note: each undeclared identifier is reported only once for each function it appears in >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:70:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:73:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] > MAKE_STD_ZVAL(tmpzval); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:125: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 > add_assoc_stringl(return_value, "varname", op_array->vars[node->u.op.var].name, op_array->vars[node->u.op.var].name_len, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:3: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_string'? > add_assoc_stringl(return_value, "varname", op_array->vars[node->u.op.var].name, op_array->vars[node->u.op.var].name_len, 1); > ^~~~~~~~~~~~~~~~~ > add_assoc_string >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:3: warning: statement with no effect [-Wunused-value] >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:64: error: 'temp_variable' undeclared (first use in this function) > add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:55: error: invalid operands to binary / (have 'uint32_t {aka unsigned int}' and 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}') > add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); > ~~~~~~~~~~~~ ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:40: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(return_value, "var", node->u.op.var / sizeof(temp_variable)); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:99:55: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "opline_num", sop, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:99:4: warning: statement with no effect [-Wunused-value] > add_assoc_string(return_value, "opline_num", sop, 1); > ^~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:106:53: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "op_array", sop, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:106:4: warning: statement with no effect [-Wunused-value] > add_assoc_string(return_value, "op_array", sop, 1); > ^~~~~~~~~~~~~~~~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:126:43: error: 'znode {aka struct _znode}' has no member named 'EA' > add_assoc_long(return_value, "EA", node->EA); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:126:39: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(return_value, "EA", node->EA); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:143:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > add_assoc_long(return_value, "address", (unsigned int)(&(op->opcode))); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:155: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "opcode_name", php_parsekit_define_name_ex(op->opcode, php_parsekit_opcode_names, &flags, PHP_PARSEKIT_OPCODE_UNKNOWN) , 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? > add_assoc_string(return_value, "opcode_name", php_parsekit_define_name_ex(op->opcode, php_parsekit_opcode_names, &flags, PHP_PARSEKIT_OPCODE_UNKNOWN) , 1); > ^~~~~~~~~~~~~~~~ > add_assoc_string_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:145:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:152:45: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [-Wincompatible-pointer-types] > php_parsekit_parse_node(result, op_array, &(op->result), flags & PHP_PARSEKIT_RESULT_USED, options TSRMLS_CC); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:161:42: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [-Wincompatible-pointer-types] > php_parsekit_parse_node(op1, op_array, &(op->op1), flags & PHP_PARSEKIT_OP1_USED, options TSRMLS_CC); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:170:42: warning: passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type [-Wincompatible-pointer-types] > php_parsekit_parse_node(op2, op_array, &(op->op2), flags & PHP_PARSEKIT_OP2_USED, options TSRMLS_CC); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static void php_parsekit_parse_node(zval *return_value, zend_op_array *op_array, znode *node, long flags, long options TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_derive_arginfo': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:225:27: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'arg_types'; did you mean 'arg_flags'? > for(i = 0; i < op_array->arg_types[0]; i++) { > ^~~~~~~~~ > arg_flags >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:225:15: error: invalid operands to binary < (have 'int' and 'php_parsekit_define_list {aka struct _php_parsekit_define_list}') > for(i = 0; i < op_array->arg_types[0]; i++) { > ^ ~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:227:20: error: 'znode_op {aka union _znode_op}' has no member named 'op_type' > opcodes[i*2].op1.op_type == IS_CONST && > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:227:29: warning: comparison between pointer and integer > opcodes[i*2].op1.op_type == IS_CONST && > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:20: error: 'znode_op {aka union _znode_op}' has no member named 'u' > opcodes[i*2].op1.u.constant.type == IS_STRING && > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:22: error: '(php_parsekit_define_list *)&<erroneous-expression>' is a pointer; did you mean to use '->'? > opcodes[i*2].op1.u.constant.type == IS_STRING && > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:31: error: '(php_parsekit_define_list *)&<erroneous-expression>' is a pointer; did you mean to use '->'? > opcodes[i*2].op1.u.constant.type == IS_STRING && > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:228:37: warning: comparison between pointer and integer > opcodes[i*2].op1.u.constant.type == IS_STRING && > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:126: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 > add_assoc_stringl(tmpzval, "name", opcodes[i*2].op1.u.constant.value.str.val, opcodes[i*2].op1.u.constant.value.str.len, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:4: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_stringl_ex'? > add_assoc_stringl(tmpzval, "name", opcodes[i*2].op1.u.constant.value.str.val, opcodes[i*2].op1.u.constant.value.str.len, 1); > ^~~~~~~~~~~~~~~~~ > add_assoc_stringl_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:235:4: warning: statement with no effect [-Wunused-value] >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:59: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'arg_types'; did you mean 'arg_flags'? > add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); > ^ >/usr/include/php/Zend/zend_API.h:407:90: note: in definition of macro 'add_assoc_bool' > #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:49: error: incompatible type for argument 4 of 'add_assoc_bool_ex' > add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); > ^ >/usr/include/php/Zend/zend_API.h:407:90: note: in definition of macro 'add_assoc_bool' > #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) > ^~~ >/usr/include/php/Zend/zend_API.h:397:14: note: expected 'int' but argument is of type 'php_parsekit_define_list {aka struct _php_parsekit_define_list}' > ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b); > ^~~~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:407:43: warning: statement with no effect [-Wunused-value] > #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:236:4: note: in expansion of macro 'add_assoc_bool' > add_assoc_bool(tmpzval, "pass_by_reference", op_array->arg_types[i+1]); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:238:25: error: 'znode_op {aka union _znode_op}' has no member named 'op_type' > opcodes[(i*2)+1].op2.op_type == IS_CONST) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:238:34: warning: comparison between pointer and integer > opcodes[(i*2)+1].op2.op_type == IS_CONST) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:32: error: 'znode_op {aka union _znode_op}' has no member named 'u' > *def = opcodes[(i*2)+1].op2.u.constant; > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:34: error: '(php_parsekit_define_list *)&<erroneous-expression>' is a pointer; did you mean to use '->'? > *def = opcodes[(i*2)+1].op2.u.constant; > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:10: error: incompatible types when assigning to type 'zval {aka struct _zval_struct}' from type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > *def = opcodes[(i*2)+1].op2.u.constant; > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:242:5: warning: statement with no effect [-Wunused-value] > *def = opcodes[(i*2)+1].op2.u.constant; > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op_array': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:144: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "type_name", php_parsekit_define_name(ops->type, php_parsekit_function_types, PHP_PARSEKIT_FUNCTYPE_UNKNOWN), 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? > add_assoc_string(return_value, "type_name", php_parsekit_define_name(ops->type, php_parsekit_function_types, PHP_PARSEKIT_FUNCTYPE_UNKNOWN), 1); > ^~~~~~~~~~~~~~~~ > add_assoc_string_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:267:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:269:72: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "function_name", ops->function_name, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:269:3: warning: statement with no effect [-Wunused-value] > add_assoc_string(return_value, "function_name", ops->function_name, 1); > ^~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:346:11: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'arg_types'; did you mean 'arg_flags'? > if (ops->arg_types) { > ^~~~~~~~~ > arg_flags >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:347:32: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'arg_types'; did you mean 'arg_flags'? > zend_uchar *arg_types = ops->arg_types; > ^~~~~~~~~ > arg_flags >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:347:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] > zend_uchar *arg_types = ops->arg_types; > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:348:24: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'arg_types'; did you mean 'arg_flags'? > int numargs = *(ops->arg_types); > ^~~~~~~~~ > arg_flags >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:348:17: error: incompatible types when initializing type 'int' using type 'php_parsekit_define_list {aka struct _php_parsekit_define_list}' > int numargs = *(ops->arg_types); > ^ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:373:49: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'uses_globals' > add_assoc_bool(return_value, "uses_global", ops->uses_globals); > ^ >/usr/include/php/Zend/zend_API.h:407:90: note: in definition of macro 'add_assoc_bool' > #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:373:46: warning: passing argument 4 of 'add_assoc_bool_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_bool(return_value, "uses_global", ops->uses_globals); > ^ >/usr/include/php/Zend/zend_API.h:407:90: note: in definition of macro 'add_assoc_bool' > #define add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b) > ^~~ >/usr/include/php/Zend/zend_API.h:397:14: note: expected 'int' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:382:53: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'last_brk_cont'; did you mean 'last_try_catch'? > add_assoc_long(return_value, "last_brk_cont", ops->last_brk_cont); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:382:48: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(return_value, "last_brk_cont", ops->last_brk_cont); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:387:11: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'last_brk_cont'; did you mean 'last_try_catch'? > if (ops->last_brk_cont > 0) { > ^~~~~~~~~~~~~ > last_try_catch >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:390:23: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'last_brk_cont'; did you mean 'last_try_catch'? > for(i = 0; i < ops->last_brk_cont; i++) { > ^~~~~~~~~~~~~ > last_try_catch >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:390:16: warning: comparison between pointer and integer > for(i = 0; i < ops->last_brk_cont; i++) { > ^ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:42: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'brk_cont_array'; did you mean 'try_catch_array'? > add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:59: error: 'php_parsekit_define_list {aka struct _php_parsekit_define_list}' has no member named 'cont' > add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:395:37: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(tmp_zval, "cont", ops->brk_cont_array[i].cont); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:41: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'brk_cont_array'; did you mean 'try_catch_array'? > add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:58: error: 'php_parsekit_define_list {aka struct _php_parsekit_define_list}' has no member named 'brk' > add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:396:36: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(tmp_zval, "brk", ops->brk_cont_array[i].brk); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:44: error: 'zend_op_array {aka struct _zend_op_array}' has no member named 'brk_cont_array'; did you mean 'try_catch_array'? > add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:61: error: 'php_parsekit_define_list {aka struct _php_parsekit_define_list}' has no member named 'parent' > add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:397:39: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(tmp_zval, "parent", ops->brk_cont_array[i].parent); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:410:3: error: too many arguments to function 'zend_hash_copy' > zend_hash_copy(HASH_OF(tmpzval), ops->static_variables, (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:222:30: note: declared here > ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend_globals.h:28:0, > from /usr/include/php/Zend/zend_compile.h:688, > from /usr/include/php/Zend/zend_modules.h:26, > from /usr/include/php/Zend/zend_API.h:27, > from /usr/include/php/main/php.h:39, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:416:9: error: 'zend_executor_globals {aka struct _zend_executor_globals}' has no member named 'start_op'; did you mean 'vm_stack_top'? > if (EG(start_op)) { > ^ >/usr/include/php/Zend/zend_globals_macros.h:46:34: note: in definition of macro 'EG' > # define EG(v) (executor_globals.v) > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:419:53: error: 'zend_executor_globals {aka struct _zend_executor_globals}' has no member named 'start_op'; did you mean 'vm_stack_top'? > snprintf(sop, sizeof(sop), "%X", (unsigned int)EG(start_op)); > ^ >/usr/include/php/Zend/zend_globals_macros.h:46:34: note: in definition of macro 'EG' > # define EG(v) (executor_globals.v) > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:419:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > snprintf(sop, sizeof(sop), "%X", (unsigned int)EG(start_op)); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:420:52: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "start_op", sop, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:420:3: warning: statement with no effect [-Wunused-value] > add_assoc_string(return_value, "start_op", sop, 1); > ^~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:426:62: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "filename", ops->filename, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:426:3: warning: statement with no effect [-Wunused-value] > add_assoc_string(return_value, "filename", ops->filename, 1); > ^~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_node_simple': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:469:27: error: 'zval {aka struct _zval_struct}' has no member named 'type' > switch (node->u.constant.type) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:469:11: error: switch quantity not an integer > switch (node->u.constant.type) { > ^~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:474:9: error: 'IS_BOOL' undeclared (first use in this function); did you mean '_IS_BOOL'? > case IS_BOOL: > ^~~~~~~ > _IS_BOOL >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:491:35: error: 'node->u.constant.value.str' is a pointer; did you mean to use '->'? > if (node->u.constant.value.str.len > 15) { > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:491:40: warning: comparison between pointer and integer > if (node->u.constant.value.str.len > 15) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:492:63: error: 'node->u.constant.value.str' is a pointer; did you mean to use '->'? > spprintf(pret, 0, "'%12s...'", node->u.constant.value.str.val); > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:494:58: error: 'node->u.constant.value.str' is a pointer; did you mean to use '->'? > spprintf(pret, 0, "'%s'", node->u.constant.value.str.val); > ^ > -> >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:517:53: error: 'temp_variable' undeclared (first use in this function) > spprintf(pret, 0, "T(%d)", node->u.op.var / sizeof(temp_variable)); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:517:44: error: invalid operands to binary / (have 'uint32_t {aka unsigned int}' and 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}') > spprintf(pret, 0, "T(%d)", node->u.op.var / sizeof(temp_variable)); > ~~~~~~~~~~~~~~ ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_op_array_simple': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:535:52: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [-Wincompatible-pointer-types] > if (php_parsekit_parse_node_simple(&result, ops, &(op->result), ops TSRMLS_CC)) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:538:49: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [-Wincompatible-pointer-types] > if (php_parsekit_parse_node_simple(&op1, ops, &(op->op1), ops TSRMLS_CC)) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:541:49: warning: passing argument 3 of 'php_parsekit_parse_node_simple' from incompatible pointer type [-Wincompatible-pointer-types] > if (php_parsekit_parse_node_simple(&op2, ops, &(op->op2), ops TSRMLS_CC)) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:447:12: note: expected 'znode * {aka struct _znode *}' but argument is of type 'znode_op * {aka union _znode_op *}' > static int php_parsekit_parse_node_simple(char **pret, zend_op_array *op_array, znode *node, zend_op_array *oparray TSRMLS_DC) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:553:3: error: too many arguments to function 'add_next_index_stringl' > add_next_index_stringl(return_value, opline, opline_len, 0); > ^~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_API.h:438:14: note: declared here > ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length); > ^~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_pop_functions': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:53: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:198:30: note: expected 'HashPosition * {aka unsigned int *}' but argument is of type 'void **' > ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:7: error: too many arguments to function 'zend_hash_get_current_data_ex' > if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:198:30: note: declared here > ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:573:79: warning: comparison between pointer and integer > if (zend_hash_get_current_data_ex(function_table, (void **)&function, &pos) == FAILURE) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:585:62: warning: pointer type mismatch in conditional expression > function->common.scope ? function->common.scope->name : "", > ^ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:597:32: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] > add_assoc_zval(return_value, function->common.function_name, function_ops); > ^ >/usr/include/php/Zend/zend_API.h:413:86: note: in definition of macro 'add_assoc_zval' > #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) > ^~~~~ >In file included from /usr/include/php/main/../main/php_config.h:2501:0, > from /usr/include/php/Zend/zend_config.h:1, > from /usr/include/php/Zend/zend_portability.h:48, > from /usr/include/php/Zend/zend_types.h:27, > from /usr/include/php/Zend/zend.h:31, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' > extern size_t strlen (const char *__s) > ^~~~~~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:597:32: warning: passing argument 2 of 'add_assoc_zval_ex' from incompatible pointer type [-Wincompatible-pointer-types] > add_assoc_zval(return_value, function->common.function_name, function_ops); > ^ >/usr/include/php/Zend/zend_API.h:413:72: note: in definition of macro 'add_assoc_zval' > #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) > ^~~~~ >/usr/include/php/Zend/zend_API.h:403:14: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' > ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:52: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'zend_string ** {aka struct _zend_string **}' but argument is of type 'char **' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:64: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'zend_ulong * {aka long unsigned int *}' but argument is of type 'unsigned int *' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:80: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'HashPosition * {aka unsigned int *}' but argument is of type 'long int *' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:599:7: error: too many arguments to function 'zend_hash_get_current_key_ex' > if (zend_hash_get_current_key_ex(function_table, &func_name, &func_name_len, &func_index, 0, &pos) == HASH_KEY_IS_STRING) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: declared here > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:603:38: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_del(function_table, func_name, func_name_len) == FAILURE) { > ^~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:153:28: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *' > ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:603:8: error: too many arguments to function 'zend_hash_del' > if (zend_hash_del(function_table, func_name, func_name_len) == FAILURE) { > ^~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:153:28: note: declared here > ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_parse_class_entry': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:141: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(return_value, "type_name", php_parsekit_define_name(ce->type, php_parsekit_class_types, PHP_PARSEKIT_CLASSTYPE_UNKNOWN), 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? > add_assoc_string(return_value, "type_name", php_parsekit_define_name(ce->type, php_parsekit_class_types, PHP_PARSEKIT_CLASSTYPE_UNKNOWN), 1); > ^~~~~~~~~~~~~~~~ > add_assoc_string_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:629:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:70: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 > add_assoc_stringl(return_value, "name", ce->name, ce->name_length, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:2: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_string'? > add_assoc_stringl(return_value, "name", ce->name, ce->name_length, 1); > ^~~~~~~~~~~~~~~~~ > add_assoc_string >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:630:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:632:89: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 > add_assoc_stringl(return_value, "parent", ce->parent->name, ce->parent->name_length, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:632:3: warning: statement with no effect [-Wunused-value] > add_assoc_stringl(return_value, "parent", ce->parent->name, ce->parent->name_length, 1); > ^~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:741:44: error: invalid type argument of unary '*' (have 'int') > add_assoc_long(return_value, "refcount", *(ce->refcount)); > ^~~~~~~~~~~~~~~ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:741:44: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast [-Wint-conversion] > add_assoc_long(return_value, "refcount", *(ce->refcount)); > ^ >/usr/include/php/Zend/zend_API.h:405:90: note: in definition of macro 'add_assoc_long' > #define add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n) > ^~~ >/usr/include/php/Zend/zend_API.h:395:14: note: expected 'zend_long {aka long int}' but argument is of type 'php_parsekit_define_list * {aka struct _php_parsekit_define_list *}' > ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); > ^~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:239:6: error: 'ce->default_properties_table' is a pointer; did you mean to use '->'? > (ht)->nNumOfElements > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:760:6: note: in expansion of macro 'zend_hash_num_elements' > if (zend_hash_num_elements(&(ce->default_properties_table)) > 0) { > ^~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:765:36: warning: passing argument 2 of 'zend_hash_copy' from incompatible pointer type [-Wincompatible-pointer-types] > zend_hash_copy(HASH_OF(tmpzval), &(ce->default_properties_table), (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:222:30: note: expected 'HashTable * {aka struct _zend_array *}' but argument is of type 'zval ** {aka struct _zval_struct **}' > ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:765:3: error: too many arguments to function 'zend_hash_copy' > zend_hash_copy(HASH_OF(tmpzval), &(ce->default_properties_table), (copy_ctor_func_t) zval_add_ref, (void *) &tmp_zval, sizeof(zval *)); > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:222:30: note: declared here > ZEND_API void ZEND_FASTCALL zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_pop_classes': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:60: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 > if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:7: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'? > if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > zend_hash_get_current_data_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:788:62: warning: comparison between pointer and integer > if (zend_hash_get_current_data(class_table, (void **)&pce) == FAILURE || !pce || !(*pce)) { > ^~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:807:32: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] > add_assoc_zval(return_value, class_entry->name, class_data); > ^ >/usr/include/php/Zend/zend_API.h:413:86: note: in definition of macro 'add_assoc_zval' > #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) > ^~~~~ >In file included from /usr/include/php/main/../main/php_config.h:2501:0, > from /usr/include/php/Zend/zend_config.h:1, > from /usr/include/php/Zend/zend_portability.h:48, > from /usr/include/php/Zend/zend_types.h:27, > from /usr/include/php/Zend/zend.h:31, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' > extern size_t strlen (const char *__s) > ^~~~~~ >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:807:32: warning: passing argument 2 of 'add_assoc_zval_ex' from incompatible pointer type [-Wincompatible-pointer-types] > add_assoc_zval(return_value, class_entry->name, class_data); > ^ >/usr/include/php/Zend/zend_API.h:413:72: note: in definition of macro 'add_assoc_zval' > #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) > ^~~~~ >/usr/include/php/Zend/zend_API.h:403:14: note: expected 'const char *' but argument is of type 'zend_string * {aka struct _zend_string *}' > ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value); > ^~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:49: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'zend_string ** {aka struct _zend_string **}' but argument is of type 'char **' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:62: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'zend_ulong * {aka long unsigned int *}' but argument is of type 'unsigned int *' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:79: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_get_current_key_ex(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { > ^ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: expected 'HashPosition * {aka unsigned int *}' but argument is of type 'long int *' > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:809:7: error: too many arguments to function 'zend_hash_get_current_key_ex' > if (zend_hash_get_current_key_ex(class_table, &class_name, &class_name_len, &class_index, 0, NULL) == HASH_KEY_IS_STRING) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:195:30: note: declared here > ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:811:35: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_del(class_table, class_name, class_name_len) == FAILURE) { > ^~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:153:28: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *' > ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:811:8: error: too many arguments to function 'zend_hash_del' > if (zend_hash_del(class_table, class_name, class_name_len) == FAILURE) { > ^~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:153:28: note: declared here > ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'zif_parsekit_opcode_name': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:107: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 > RETURN_STRING(php_parsekit_define_name(opcode, php_parsekit_opcode_names, PHP_PARSEKIT_OPCODE_UNKNOWN), 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:2: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'ZEND_ADD_STRING'? > RETURN_STRING(php_parsekit_define_name(opcode, php_parsekit_opcode_names, PHP_PARSEKIT_OPCODE_UNKNOWN), 1); > ^~~~~~~~~~~~~ > ZEND_ADD_STRING >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1004:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'zif_parsekit_func_arginfo': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:73: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 > if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:8: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'? > if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > zend_hash_get_current_data_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1036:75: warning: comparison between pointer and integer > if (zend_hash_get_current_data(HASH_OF(function), (void **)&classname) == FAILURE) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1040:38: warning: implicit declaration of function 'Z_TYPE_PP'; did you mean 'Z_TYPE_P'? [-Wimplicit-function-declaration] > if (!classname || !*classname || (Z_TYPE_PP(classname) != IS_STRING && Z_TYPE_PP(classname) != IS_OBJECT)) { > ^~~~~~~~~ > Z_TYPE_P >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1045:13: warning: implicit declaration of function 'Z_STRVAL_PP'; did you mean 'Z_STRVAL_P'? [-Wimplicit-function-declaration] > class = Z_STRVAL_PP(classname); > ^~~~~~~~~~~ > Z_STRVAL_P >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1045:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > class = Z_STRVAL_PP(classname); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1046:17: warning: implicit declaration of function 'Z_STRLEN_PP'; did you mean 'Z_STRLEN_P'? [-Wimplicit-function-declaration] > class_len = Z_STRLEN_PP(classname); > ^~~~~~~~~~~ > Z_STRLEN_P >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:13: warning: implicit declaration of function 'Z_OBJCE_PP'; did you mean 'Z_OBJCE_P'? [-Wimplicit-function-declaration] > class = Z_OBJCE_PP(classname)->name; > ^~~~~~~~~~ > Z_OBJCE_P >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:34: error: invalid type argument of '->' (have 'int') > class = Z_OBJCE_PP(classname)->name; > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:34: error: request for member 'name' in something not a structure or union >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1048:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] > class = Z_OBJCE_PP(classname)->name; > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:38: error: invalid type argument of '->' (have 'int') > class_len = Z_OBJCE_PP(classname)->name_length; > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:38: error: request for member 'name_length' in something not a structure or union >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1049:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion] > class_len = Z_OBJCE_PP(classname)->name_length; > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:45: error: invalid type argument of '->' (have 'int') > function_table = &(Z_OBJCE_PP(classname)->function_table); > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:45: error: request for member 'function_table' in something not a structure or union >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1052:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] > function_table = &(Z_OBJCE_PP(classname)->function_table); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1058:72: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 > if (zend_hash_get_current_data(HASH_OF(function), (void **)&funcname) == FAILURE) { > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1058:74: warning: comparison between pointer and integer > if (zend_hash_get_current_data(HASH_OF(function), (void **)&funcname) == FAILURE) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1066:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > fname = Z_STRVAL_PP(funcname); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:39: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { > ^~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:161:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *' > ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:7: error: too many arguments to function 'zend_hash_find' > if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:161:30: note: declared here > ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1087:74: warning: comparison between pointer and integer > if (zend_hash_find(EG(class_table), class, class_len + 1, (void**)&ce) == FAILURE) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:37: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] > if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { > ^~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:161:30: note: expected 'zend_string * {aka struct _zend_string *}' but argument is of type 'char *' > ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:6: error: too many arguments to function 'zend_hash_find' > if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { > ^~~~~~~~~~~~~~ >In file included from /usr/include/php/Zend/zend.h:36:0, > from /usr/include/php/main/php.h:35, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/usr/include/php/Zend/zend_hash.h:161:30: note: declared here > ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); > ^~~~~~~~~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1106:73: warning: comparison between pointer and integer > if (zend_hash_find(function_table, fname, fname_len + 1, (void **)&fe) == FAILURE) { > ^~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: At top level: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: error: 'BYREF_NONE' undeclared here (not in a function); did you mean 'SIGEV_NONE'? > static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; > ^~~~~~~~~~ > SIGEV_NONE >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: warning: initialization makes integer from pointer without a cast [-Wint-conversion] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: note: (near initialization for 'php_parsekit_second_arg_force_ref[1]') >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: error: initializer element is not constant >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:65: note: (near initialization for 'php_parsekit_second_arg_force_ref[1]') >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: error: 'BYREF_FORCE' undeclared here (not in a function); did you mean 'BYREF_NONE'? > static unsigned char php_parsekit_second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE }; > ^~~~~~~~~~~ > BYREF_NONE >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: warning: initialization makes integer from pointer without a cast [-Wint-conversion] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: note: (near initialization for 'php_parsekit_second_arg_force_ref[2]') >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: error: initializer element is not constant >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1130:77: note: (near initialization for 'php_parsekit_second_arg_force_ref[2]') >In file included from /usr/include/php/main/php.h:39:0, > from /builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:25: >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:36: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] > PHP_FE(parsekit_compile_string, php_parsekit_second_arg_force_ref) > ^ >/usr/include/php/Zend/zend_API.h:70:75: note: in definition of macro 'ZEND_FENTRY' > #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, > ^~~~~~~~ >/usr/include/php/main/php.h:359:18: note: in expansion of macro 'ZEND_FE' > #define PHP_FE ZEND_FE > ^~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:2: note: in expansion of macro 'PHP_FE' > PHP_FE(parsekit_compile_string, php_parsekit_second_arg_force_ref) > ^~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:36: note: (near initialization for 'parsekit_functions[0].arg_info') > PHP_FE(parsekit_compile_string, php_parsekit_second_arg_force_ref) > ^ >/usr/include/php/Zend/zend_API.h:70:75: note: in definition of macro 'ZEND_FENTRY' > #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, > ^~~~~~~~ >/usr/include/php/main/php.h:359:18: note: in expansion of macro 'ZEND_FE' > #define PHP_FE ZEND_FE > ^~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1135:2: note: in expansion of macro 'PHP_FE' > PHP_FE(parsekit_compile_string, php_parsekit_second_arg_force_ref) > ^~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:34: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] > PHP_FE(parsekit_compile_file, php_parsekit_second_arg_force_ref) > ^ >/usr/include/php/Zend/zend_API.h:70:75: note: in definition of macro 'ZEND_FENTRY' > #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, > ^~~~~~~~ >/usr/include/php/main/php.h:359:18: note: in expansion of macro 'ZEND_FE' > #define PHP_FE ZEND_FE > ^~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:2: note: in expansion of macro 'PHP_FE' > PHP_FE(parsekit_compile_file, php_parsekit_second_arg_force_ref) > ^~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:34: note: (near initialization for 'parsekit_functions[1].arg_info') > PHP_FE(parsekit_compile_file, php_parsekit_second_arg_force_ref) > ^ >/usr/include/php/Zend/zend_API.h:70:75: note: in definition of macro 'ZEND_FENTRY' > #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags }, > ^~~~~~~~ >/usr/include/php/main/php.h:359:18: note: in expansion of macro 'ZEND_FE' > #define PHP_FE ZEND_FE > ^~~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1136:2: note: in expansion of macro 'PHP_FE' > PHP_FE(parsekit_compile_file, php_parsekit_second_arg_force_ref) > ^~~~~~ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function 'php_parsekit_error_cb': >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:65: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 > add_assoc_string(tmpzval, "filename", (char *)error_filename, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? > add_assoc_string(tmpzval, "filename", (char *)error_filename, 1); > ^~~~~~~~~~~~~~~~ > add_assoc_string_ex >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1193:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:60: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 > add_assoc_stringl(tmpzval, "errstr", buffer, buffer_len, 1); > ^ >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:2: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_string'? > add_assoc_stringl(tmpzval, "errstr", buffer, buffer_len, 1); > ^~~~~~~~~~~~~~~~~ > add_assoc_string >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1196:2: warning: statement with no effect [-Wunused-value] >/builddir/build/BUILD/php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:1173:6: warning: variable 'buffer_len' set but not used [-Wunused-but-set-variable] > int buffer_len; > ^~~~~~~~~~ >make: *** [Makefile:193: parsekit.lo] Error 1 >error: Bad exit status from /var/tmp/rpm-tmp.BrwnHJ (%build) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.BrwnHJ (%build) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/php-pecl-parsekit.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1424079
: 1253541 |
1253542
|
1253543