Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-qb.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-d8dcc63dad8e2d622bf511064add2930594b97b9/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-qb.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: /usr/bin/php: No such file or directory Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-pecl-qb-2.4.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-qb.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-d8dcc63dad8e2d622bf511064add2930594b97b9/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-qb.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AGEd7e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-qb-2.4.0 + /usr/bin/mkdir -p php-pecl-qb-2.4.0 + cd php-pecl-qb-2.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/qb-2.4.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv qb-2.4.0 NTS + cd NTS ++ sed -n '/#define PHP_QB_VERSION/{s/.*[[:space:]]"//;s/".*$//;p}' php_qb.h + extver=2.4.0 + test x2.4.0 '!=' x2.4.0 + cd .. + cp -pr NTS ZTS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MttPPo + umask 022 + cd /builddir/build/BUILD + cd php-pecl-qb-2.4.0 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-php-config=/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable qb support... yes, shared checking whether to use SSE instructions on x86 processors... no checking whether to use AVX instructions on x86 processors... no checking whether to enable CPU-specific optimization... no checking whether CC supports -march=native... yes checking for library containing exp... -lm checking for exp2f... yes checking for log2f... yes checking for roundf... yes checking for qsort_r... yes checking for sincos... yes checking for clog... yes checking for clogf... yes checking for cpow... yes checking for cpowf... yes checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes 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 complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb.c -o qb.lo /bin/sh /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_build.c -o qb_build.lo /bin/sh /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_compat.c -o qb_compat.lo /bin/sh /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_crc64.c -o qb_crc64.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_build.c -fPIC -DPIC -o .libs/qb_build.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb.c -fPIC -DPIC -o .libs/qb.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_compat.c -fPIC -DPIC -o .libs/qb_compat.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/include -I/builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/main -I/builddir/build/BUILD/php-pecl-qb-2.4.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-qb-2.4.0/NTS/qb_crc64.c -fPIC -DPIC -o .libs/qb_crc64.o In file included from /usr/include/php/Zend/zend.h:356:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /usr/include/php/Zend/zend.h:356:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /usr/include/php/Zend/zend.h:356:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /usr/include/php/Zend/zend.h:356:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:611:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h: At top level: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:120:3: error: #error Incompatible version of PHP # error Incompatible version of PHP ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:634:0: warning: "PHP_RAND_MAX" redefined [enabled by default] # define PHP_RAND_MAX RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/ext/standard/php_rand.h:35:0: note: this is the location of the previous definition #define PHP_RAND_MAX PHP_MT_RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:637:0: warning: "PHP_MT_RAND_MAX" redefined [enabled by default] #define PHP_MT_RAND_MAX ((long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /usr/include/php/ext/standard/php_rand.h:28:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/ext/standard/php_mt_rand.h:30:0: note: this is the location of the previous definition #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:640:13: error: conflicting types for 'php_rand' PHPAPI long php_rand(TSRMLS_D); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/ext/standard/php_rand.h:72:18: note: previous declaration of 'php_rand' was here PHPAPI zend_long php_rand(void); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h: At top level: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:120:3: error: #error Incompatible version of PHP # error Incompatible version of PHP ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:634:0: warning: "PHP_RAND_MAX" redefined [enabled by default] # define PHP_RAND_MAX RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /usr/include/php/ext/standard/php_rand.h:35:0: note: this is the location of the previous definition #define PHP_RAND_MAX PHP_MT_RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:637:0: warning: "PHP_MT_RAND_MAX" redefined [enabled by default] #define PHP_MT_RAND_MAX ((long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /usr/include/php/ext/standard/php_rand.h:28:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /usr/include/php/ext/standard/php_mt_rand.h:30:0: note: this is the location of the previous definition #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:640:13: error: conflicting types for 'php_rand' PHPAPI long php_rand(TSRMLS_D); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h: At top level: In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21: /usr/include/php/ext/standard/php_rand.h:72:18: note: previous declaration of 'php_rand' was here PHPAPI zend_long php_rand(void); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:120:3: error: #error Incompatible version of PHP # error Incompatible version of PHP ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:634:0: warning: "PHP_RAND_MAX" redefined [enabled by default] # define PHP_RAND_MAX RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /usr/include/php/ext/standard/php_rand.h:35:0: note: this is the location of the previous definition #define PHP_RAND_MAX PHP_MT_RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:637:0: warning: "PHP_MT_RAND_MAX" redefined [enabled by default] #define PHP_MT_RAND_MAX ((long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /usr/include/php/ext/standard/php_rand.h:28:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /usr/include/php/ext/standard/php_mt_rand.h:30:0: note: this is the location of the previous definition #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:640:13: error: conflicting types for 'php_rand' PHPAPI long php_rand(TSRMLS_D); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21: /usr/include/php/ext/standard/php_rand.h:72:18: note: previous declaration of 'php_rand' was here PHPAPI zend_long php_rand(void); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h: At top level: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:120:3: error: #error Incompatible version of PHP # error Incompatible version of PHP ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:634:0: warning: "PHP_RAND_MAX" redefined [enabled by default] # define PHP_RAND_MAX RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /usr/include/php/ext/standard/php_rand.h:35:0: note: this is the location of the previous definition #define PHP_RAND_MAX PHP_MT_RAND_MAX ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:637:0: warning: "PHP_MT_RAND_MAX" redefined [enabled by default] #define PHP_MT_RAND_MAX ((long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /usr/include/php/ext/standard/php_rand.h:28:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /usr/include/php/ext/standard/php_mt_rand.h:30:0: note: this is the location of the previous definition #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:181:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.h:640:13: error: conflicting types for 'php_rand' PHPAPI long php_rand(TSRMLS_D); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:94:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /usr/include/php/ext/standard/php_rand.h:72:18: note: previous declaration of 'php_rand' was here PHPAPI zend_long php_rand(void); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:270:2: error: unknown type name 'zend_literal' zend_literal static_zvals[8]; ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_create_import_scope': /usr/include/php/Zend/zend_types.h:1245:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:105:4: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(&object); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_compat.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:270:2: error: unknown type name 'zend_literal' zend_literal static_zvals[8]; ^ make: *** [qb_compat.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_crc64.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:270:2: error: unknown type name 'zend_literal' zend_literal static_zvals[8]; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_get_import_scope': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:382:53: error: 'struct _zend_execute_data' has no member named 'op_array' zend_op_array *op_array = EG(current_execute_data)->op_array; ^ In file included from /usr/include/php/main/php.h:432:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_stop_execution_timer': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:494:95: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) php_stream *stream = php_stream_open_wrapper_ex(QB_G(execution_log_path), "a", USE_PATH | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, NULL); ^ /usr/include/php/main/php_streams.h:573:119: note: in definition of macro 'php_stream_open_wrapper_ex' #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_CC) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:494:95: note: each undeclared identifier is reported only once for each function it appears in php_stream *stream = php_stream_open_wrapper_ex(QB_G(execution_log_path), "a", USE_PATH | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, NULL); ^ /usr/include/php/main/php_streams.h:573:119: note: in definition of macro 'php_stream_open_wrapper_ex' #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_CC) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_scan_function_table': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:561:24: error: 'HashTable' has no member named 'pListTail' for(p = function_table->pListTail; p; p = p->pListLast) { ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:561:45: error: 'Bucket' has no member named 'pListLast' for(p = function_table->pListTail; p; p = p->pListLast) { ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:562:27: error: 'Bucket' has no member named 'pData' zend_function *zfunc = p->pData; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_scan_class_table': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:573:21: error: 'HashTable' has no member named 'pListTail' for(p = class_table->pListTail; p; p = p->pListLast) { ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:573:42: error: 'Bucket' has no member named 'pListLast' for(p = class_table->pListTail; p; p = p->pListLast) { ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:574:52: error: 'Bucket' has no member named 'pData' zend_class_entry **p_ce = (zend_class_entry **) p->pData, *ce = *p_ce; ^ In file included from /usr/include/php/Zend/zend_globals.h:26:0, from /usr/include/php/Zend/zend_compile.h:711, from /usr/include/php/Zend/zend_modules.h:24, from /usr/include/php/Zend/zend_API.h:25, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_user_opcode_handler': /usr/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' has no member named 'active_op_array' # define EG(v) (executor_globals.v) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:614:28: note: in expansion of macro 'EG' zend_op_array *op_array = EG(active_op_array); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:629:26: error: 'ZEND_ACC_INTERACTIVE' undeclared (first use in this function) op_array->fn_flags &= ~ZEND_ACC_INTERACTIVE; ^ In file included from /usr/include/php/Zend/zend_globals.h:26:0, from /usr/include/php/Zend/zend_compile.h:711, from /usr/include/php/Zend/zend_modules.h:24, from /usr/include/php/Zend/zend_API.h:25, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_globals_macros.h:44:33: error: 'zend_executor_globals' has no member named 'return_value_ptr_ptr' # define EG(v) (executor_globals.v) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:632:51: note: in expansion of macro 'EG' zend_generator *generator = (zend_generator *) EG(return_value_ptr_ptr); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:675:3: error: 'execute_data' undeclared (first use in this function) execute_data->opline++; ^ make: *** [qb_crc64.lo] Error 1 /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_disable_zend_optimizer': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:698:3: warning: passing argument 1 of 'zend_alter_ini_entry_ex' from incompatible pointer type [enabled by default] zend_alter_ini_entry_ex(entry_name, (uint32_t) strlen(entry_name) + 1, entry_value, (uint) strlen(entry_value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, TRUE TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:78:14: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:698:3: warning: passing argument 2 of 'zend_alter_ini_entry_ex' makes pointer from integer without a cast [enabled by default] zend_alter_ini_entry_ex(entry_name, (uint32_t) strlen(entry_name) + 1, entry_value, (uint) strlen(entry_value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, TRUE TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:78:14: note: expected 'struct zend_string *' but argument is of type 'size_t' ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:698:3: warning: passing argument 3 of 'zend_alter_ini_entry_ex' makes integer from pointer without a cast [enabled by default] zend_alter_ini_entry_ex(entry_name, (uint32_t) strlen(entry_name) + 1, entry_value, (uint) strlen(entry_value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, TRUE TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:78:14: note: expected 'int' but argument is of type 'char *' ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:698:3: error: too many arguments to function 'zend_alter_ini_entry_ex' zend_alter_ini_entry_ex(entry_name, (uint32_t) strlen(entry_name) + 1, entry_value, (uint) strlen(entry_value), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, TRUE TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:78:14: note: declared here ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_reenable_zend_optimizer': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:712:3: warning: passing argument 1 of 'zend_restore_ini_entry' from incompatible pointer type [enabled by default] zend_restore_ini_entry(entry_name, (uint32_t) strlen(entry_name) + 1, PHP_INI_STAGE_ACTIVATE); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:81:14: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int zend_restore_ini_entry(zend_string *name, int stage); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:712:3: error: too many arguments to function 'zend_restore_ini_entry' zend_restore_ini_entry(entry_name, (uint32_t) strlen(entry_name) + 1, PHP_INI_STAGE_ACTIVATE); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:81:14: note: declared here ZEND_API int zend_restore_ini_entry(zend_string *name, int stage); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_zend_ext_op_array_ctor': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:719:14: warning: assignment from incompatible pointer type [enabled by default] doc_comment = CG(doc_comment); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'qb_zend_ext_op_array_handler': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:741:25: error: 'ZEND_ACC_INTERACTIVE' undeclared (first use in this function) op_array->fn_flags |= ZEND_ACC_INTERACTIVE; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'OnUpdatePath': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:864:5: error: 'new_value_length' undeclared (first use in this function) if(new_value_length > 1) { ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:866:19: error: incompatible types when initializing type 'int' using type 'zend_string' int last_char = new_value[i]; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:878:2: warning: passing argument 6 of 'OnUpdateString' makes integer from pointer without a cast [enabled by default] return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:164:22: note: expected 'int' but argument is of type 'void *' ZEND_API ZEND_INI_MH(OnUpdateString); ^ /usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:878:2: error: too many arguments to function 'OnUpdateString' return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:164:22: note: declared here ZEND_API ZEND_INI_MH(OnUpdateString); ^ /usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'OnThreadCount': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:883:33: error: 'new_value_length' undeclared (first use in this function) OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:883:2: warning: passing argument 6 of 'OnUpdateLong' makes integer from pointer without a cast [enabled by default] OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:161:22: note: expected 'int' but argument is of type 'void *' ZEND_API ZEND_INI_MH(OnUpdateLong); ^ /usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:883:2: error: too many arguments to function 'OnUpdateLong' OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^ In file included from /usr/include/php/main/php_ini.h:22:0, from /usr/include/php/main/fopen_wrappers.h:24, from /usr/include/php/main/php.h:434, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_ini.h:161:22: note: declared here ZEND_API ZEND_INI_MH(OnUpdateLong); ^ /usr/include/php/Zend/zend_ini.h:28:31: note: in definition of macro 'ZEND_INI_MH' #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21:0: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:270:2: error: unknown type name 'zend_literal' zend_literal static_zvals[8]; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c: In function 'qb_parse_declarations': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:63:3: warning: passing argument 4 of 'qb_initialize_parser_context' from incompatible pointer type [enabled by default] qb_initialize_parser_context(parser_cxt, cxt->pool, tag->scope, tag->op_array->filename, tag->op_array->line_start TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:189:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_build.c:21: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb_parser.h:120:6: note: expected 'const char *' but argument is of type 'struct zend_string *' void qb_initialize_parser_context(qb_parser_context *cxt, qb_data_pool *pool, zend_class_entry *ce, const char *filename, uint32_t line_number TSRMLS_DC); ^ RPM build errors: /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'zm_startup_qb': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:973:3: error: too many arguments to function 'zend_register_internal_class_ex' qb_exception_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC); ^ In file included from /usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_API.h:283:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'zm_activate_qb': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:1009:8: error: 'zval' has no member named 'refcount__gc' value->refcount__gc = 1; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:1010:8: error: 'zval' has no member named 'is_ref__gc' value->is_ref__gc = 0; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:1015:8: error: 'zval' has no member named 'type' value->type = IS_STRING; ^ /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c: In function 'zm_deactivate_qb': /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:1069:5: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [enabled by default] zval_ptr_dtor(&scope->object); ^ In file included from /usr/include/php/Zend/zend.h:36:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.h:92, from /builddir/build/BUILD/php-pecl-qb-2.4.0/NTS/qb.c:24: /usr/include/php/Zend/zend_variables.h:79:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_ptr_dtor(zval *zval_ptr); ^ make: *** [qb_build.lo] Error 1 make: *** [qb.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.MttPPo (%build) Bad exit status from /var/tmp/rpm-tmp.MttPPo (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-qb.spec