Mock Version: 1.2.17
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php7-pecl-apcu.spec'], chrootPath='/var/lib/mock/centos-7-armhfp/root'shell=FalseprintOutput=Trueenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x1dd6990>uid=1000)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php7-pecl-apcu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
warning: Could not canonicalize hostname: pi
Building target platforms: armv7hl
Building for target armv7hl
Wrote: /builddir/build/SRPMS/php-pecl-apcu-5.1.8-1.el7.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php7-pecl-apcu.spec'], chrootPath='/var/lib/mock/centos-7-armhfp/root'shell=Falseuid=1000env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=<mockbuild.trace_decorator.getLog object at 0x1dd6990>printOutput=True)
Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php7-pecl-apcu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
Building target platforms: armv7hl
Building for target armv7hl
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eioseO
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf php-pecl-apcu-5.1.8
+ /usr/bin/mkdir -p php-pecl-apcu-5.1.8
+ cd php-pecl-apcu-5.1.8
+ /usr/bin/gzip -dc /builddir/build/SOURCES/apcu-5.1.8.tgz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uOfgRF
+ umask 022
+ cd /builddir/build/BUILD
~/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 ~/build/BUILD/php-pecl-apcu-5.1.8
+ cd php-pecl-apcu-5.1.8
+ pushd apcu-5.1.8
+ /usr/bin/phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -I/usr/lib/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' arm == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.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'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-apcu-mmap --with-php-config=/usr/bin/php-config
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for armv7hl-redhat-linux-gnu-cc... no
checking for armv7hl-redhat-linux-gnu-gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... armv7hl-redhat-linux-gnu
checking host system type... armv7hl-redhat-linux-gnu
checking target system type... armv7hl-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable APCu support... yes, shared
checking if APCu should be allowed to use rwlocks... yes
checking if APCu should be built in debug mode... no
checking if APCu should clear on SIGUSR1... no
checking if APCu will use mmap or shm... shm
checking if APCu should utilize spinlocks before flocks... no
configure: WARNING: APCu has access to native rwlocks
checking whether the target compiler supports builtin atomics... yes
checking for sigaction... yes
checking for union semun... 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 valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for shm_open in -lrt... yes
checking whether to include code coverage symbols... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop
checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for armv7hl-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for armv7hl-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for armv7hl-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for armv7hl-redhat-linux-gnu-strip... no
checking for strip... strip
checking for armv7hl-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for armv7hl-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -j4
/bin/sh /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc.c -o apc.lo 
/bin/sh /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_lock.c -o apc_lock.lo 
/bin/sh /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/php_apc.c -o php_apc.lo 
/bin/sh /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_cache.c -o apc_cache.lo 
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_lock.c  -fPIC -DPIC -o .libs/apc_lock.o
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc.c  -fPIC -DPIC -o .libs/apc.o
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_cache.c  -fPIC -DPIC -o .libs/apc_cache.o
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/php_apc.c  -fPIC -DPIC -o .libs/php_apc.o
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma.h:34:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:33,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/php_apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:46:5: error: unknown type name 'zend_long'
     zend_long size;              /* size of this free block */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:47:5: error: unknown type name 'zend_long'
     zend_long offset;            /* offset in segment of this block */
     ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:36:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/php_apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:39: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:143:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrnew(unsigned char *buf, size_t buf_len, apc_pool* pool);
 ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/php_apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:44:5: error: unknown type name 'zend_string'
     zend_string *str;     /* the key for this cached entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:53:5: error: unknown type name 'zend_long'
     zend_long ttl;  /* the ttl on this specific entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:54:5: error: unknown type name 'zend_long'
     zend_long ref_count;/* the reference count of this entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:55:5: error: unknown type name 'zend_long'
     zend_long mem_size; /* memory used */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:67:5: error: unknown type name 'zend_long'
     zend_long nhits;            /* number of hits to this slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:82:5: error: unknown type name 'zend_long'
     zend_long nhits;                /* hit count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:83:5: error: unknown type name 'zend_long'
     zend_long nmisses;              /* miss count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:84:5: error: unknown type name 'zend_long'
     zend_long ninserts;             /* insert count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:85:5: error: unknown type name 'zend_long'
     zend_long nexpunges;            /* expunge count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:86:5: error: unknown type name 'zend_long'
     zend_long nentries;             /* entry count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:87:5: error: unknown type name 'zend_long'
     zend_long mem_size;             /* used */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:101:5: error: unknown type name 'zend_long'
     zend_long nslots;            /* number of slots in cache */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:102:5: error: unknown type name 'zend_long'
     zend_long gc_ttl;            /* maximum time on GC list for a slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:103:5: error: unknown type name 'zend_long'
     zend_long ttl;               /* if slot is needed and entry's access time is older than this ttl, remove it */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:104:5: error: unknown type name 'zend_long'
     zend_long smart;             /* smart parameter for gc */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:139:44: error: unknown type name 'zend_long'
                                            zend_long size_hint,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:140:44: error: unknown type name 'zend_long'
                                            zend_long gc_ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:141:44: error: unknown type name 'zend_long'
                                            zend_long ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:142:44: error: unknown type name 'zend_long'
                                            zend_long smart,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:216:11: error: unknown type name 'zend_string'
           zend_string *key,
           ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:223:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_update(apc_cache_t* cache, zend_string *key, apc_cache_updater_t updater, void* data);
                                                             ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:230:68: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_find(apc_cache_t* cache, zend_string *key, time_t t);
                                                                    ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:236:60: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_fetch(apc_cache_t* cache, zend_string *key, time_t t, zval **dst);
                                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:245:70: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_exists(apc_cache_t* cache, zend_string *key, time_t t);
                                                                      ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:250:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_delete(apc_cache_t* cache, zend_string *key);
                                                             ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:272:65: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_make_key(apc_cache_key_t* key, zend_string *str);
                                                                 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:290:55: error: unknown type name 'zend_string'
 PHP_APCU_API zval* apc_cache_stat(apc_cache_t* cache, zend_string *key, zval *stat);
                                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:116: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                    ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/php_apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:131: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                                   ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/php_apc.c:36:0:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_iterator.h:30:31: fatal error: zend_smart_str.h: No such file or directory
 #   include "zend_smart_str.h"
                               ^
compilation terminated.
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma.h:34:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:33,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:46:5: error: unknown type name 'zend_long'
     zend_long size;              /* size of this free block */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:47:5: error: unknown type name 'zend_long'
     zend_long offset;            /* offset in segment of this block */
     ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma.h:34:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:33,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:33:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:46:5: error: unknown type name 'zend_long'
     zend_long size;              /* size of this free block */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:47:5: error: unknown type name 'zend_long'
     zend_long offset;            /* offset in segment of this block */
     ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:36:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:39: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:143:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrnew(unsigned char *buf, size_t buf_len, apc_pool* pool);
 ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:44:5: error: unknown type name 'zend_string'
     zend_string *str;     /* the key for this cached entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:53:5: error: unknown type name 'zend_long'
     zend_long ttl;  /* the ttl on this specific entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:54:5: error: unknown type name 'zend_long'
     zend_long ref_count;/* the reference count of this entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:55:5: error: unknown type name 'zend_long'
     zend_long mem_size; /* memory used */
     ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool.h:36:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:33:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:142:39: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrcpy(zend_string *str, apc_pool* pool);
                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_pool_api.h:143:1: error: unknown type name 'zend_string'
 PHP_APCU_API zend_string* apc_pstrnew(unsigned char *buf, size_t buf_len, apc_pool* pool);
 ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:33:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:44:5: error: unknown type name 'zend_string'
     zend_string *str;     /* the key for this cached entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:53:5: error: unknown type name 'zend_long'
     zend_long ttl;  /* the ttl on this specific entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:54:5: error: unknown type name 'zend_long'
     zend_long ref_count;/* the reference count of this entry */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:55:5: error: unknown type name 'zend_long'
     zend_long mem_size; /* memory used */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:67:5: error: unknown type name 'zend_long'
     zend_long nhits;            /* number of hits to this slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:67:5: error: unknown type name 'zend_long'
     zend_long nhits;            /* number of hits to this slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:82:5: error: unknown type name 'zend_long'
     zend_long nhits;                /* hit count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:82:5: error: unknown type name 'zend_long'
     zend_long nhits;                /* hit count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:83:5: error: unknown type name 'zend_long'
     zend_long nmisses;              /* miss count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:83:5: error: unknown type name 'zend_long'
     zend_long nmisses;              /* miss count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:84:5: error: unknown type name 'zend_long'
     zend_long ninserts;             /* insert count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:84:5: error: unknown type name 'zend_long'
     zend_long ninserts;             /* insert count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:85:5: error: unknown type name 'zend_long'
     zend_long nexpunges;            /* expunge count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:85:5: error: unknown type name 'zend_long'
     zend_long nexpunges;            /* expunge count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:86:5: error: unknown type name 'zend_long'
     zend_long nentries;             /* entry count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:86:5: error: unknown type name 'zend_long'
     zend_long nentries;             /* entry count */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:87:5: error: unknown type name 'zend_long'
     zend_long mem_size;             /* used */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:87:5: error: unknown type name 'zend_long'
     zend_long mem_size;             /* used */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:101:5: error: unknown type name 'zend_long'
     zend_long nslots;            /* number of slots in cache */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:101:5: error: unknown type name 'zend_long'
     zend_long nslots;            /* number of slots in cache */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:102:5: error: unknown type name 'zend_long'
     zend_long gc_ttl;            /* maximum time on GC list for a slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:102:5: error: unknown type name 'zend_long'
     zend_long gc_ttl;            /* maximum time on GC list for a slot */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:103:5: error: unknown type name 'zend_long'
     zend_long ttl;               /* if slot is needed and entry's access time is older than this ttl, remove it */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:103:5: error: unknown type name 'zend_long'
     zend_long ttl;               /* if slot is needed and entry's access time is older than this ttl, remove it */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:104:5: error: unknown type name 'zend_long'
     zend_long smart;             /* smart parameter for gc */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:104:5: error: unknown type name 'zend_long'
     zend_long smart;             /* smart parameter for gc */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:139:44: error: unknown type name 'zend_long'
                                            zend_long size_hint,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:139:44: error: unknown type name 'zend_long'
                                            zend_long size_hint,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:140:44: error: unknown type name 'zend_long'
                                            zend_long gc_ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:140:44: error: unknown type name 'zend_long'
                                            zend_long gc_ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:141:44: error: unknown type name 'zend_long'
                                            zend_long ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:141:44: error: unknown type name 'zend_long'
                                            zend_long ttl,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:142:44: error: unknown type name 'zend_long'
                                            zend_long smart,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:142:44: error: unknown type name 'zend_long'
                                            zend_long smart,
                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:216:11: error: unknown type name 'zend_string'
           zend_string *key,
           ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:223:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_update(apc_cache_t* cache, zend_string *key, apc_cache_updater_t updater, void* data);
                                                             ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:230:68: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_find(apc_cache_t* cache, zend_string *key, time_t t);
                                                                    ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:236:60: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_fetch(apc_cache_t* cache, zend_string *key, time_t t, zval **dst);
                                                            ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:245:70: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_exists(apc_cache_t* cache, zend_string *key, time_t t);
                                                                      ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:250:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_delete(apc_cache_t* cache, zend_string *key);
                                                             ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:272:65: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_make_key(apc_cache_key_t* key, zend_string *str);
                                                                 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:216:11: error: unknown type name 'zend_string'
           zend_string *key,
           ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:290:55: error: unknown type name 'zend_string'
 PHP_APCU_API zval* apc_cache_stat(apc_cache_t* cache, zend_string *key, zval *stat);
                                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:223:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_update(apc_cache_t* cache, zend_string *key, apc_cache_updater_t updater, void* data);
                                                             ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:230:68: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_find(apc_cache_t* cache, zend_string *key, time_t t);
                                                                    ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:116: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                    ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:236:60: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_fetch(apc_cache_t* cache, zend_string *key, time_t t, zval **dst);
                                                            ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:33:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:131: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                                   ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:245:70: error: unknown type name 'zend_string'
 PHP_APCU_API apc_cache_entry_t* apc_cache_exists(apc_cache_t* cache, zend_string *key, time_t t);
                                                                      ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:250:61: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_delete(apc_cache_t* cache, zend_string *key);
                                                             ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:35:0:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:44:5: error: unknown type name 'zend_long'
     zend_long shm_segments;      /* number of shared memory segments to use */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:45:5: error: unknown type name 'zend_long'
     zend_long shm_size;          /* size of each shared memory segment (in MB) */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:46:5: error: unknown type name 'zend_long'
     zend_long entries_hint;      /* hint at the number of entries expected */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:272:65: error: unknown type name 'zend_string'
 PHP_APCU_API zend_bool apc_cache_make_key(apc_cache_key_t* key, zend_string *str);
                                                                 ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:47:5: error: unknown type name 'zend_long'
     zend_long gc_ttl;            /* parameter to apc_cache_create */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:48:5: error: unknown type name 'zend_long'
     zend_long ttl;               /* parameter to apc_cache_create */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:49:2: error: unknown type name 'zend_long'
  zend_long smart;             /* smart value */
  ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:290:55: error: unknown type name 'zend_string'
 PHP_APCU_API zval* apc_cache_stat(apc_cache_t* cache, zend_string *key, zval *stat);
                                                       ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:116: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                    ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.h:40:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:35:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache_api.h:390:131: error: unknown type name 'zend_long'
 PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_long ttl, zend_long now, zval *return_value);
                                                                                                                                   ^
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:36:0:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:44:5: error: unknown type name 'zend_long'
     zend_long shm_segments;      /* number of shared memory segments to use */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:45:5: error: unknown type name 'zend_long'
     zend_long shm_size;          /* size of each shared memory segment (in MB) */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:46:5: error: unknown type name 'zend_long'
     zend_long entries_hint;      /* hint at the number of entries expected */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:47:5: error: unknown type name 'zend_long'
     zend_long gc_ttl;            /* parameter to apc_cache_create */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:48:5: error: unknown type name 'zend_long'
     zend_long ttl;               /* parameter to apc_cache_create */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_globals.h:49:2: error: unknown type name 'zend_long'
  zend_long smart;             /* smart value */
  ^
/bin/sh /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_mmap.c -o apc_mmap.lo 
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc.c:41:31: fatal error: zend_smart_str.h: No such file or directory
 #   include "zend_smart_str.h"
                               ^
compilation terminated.
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_cache.c:42:28: fatal error: zend_smart_str.h: No such file or directory
 #include "zend_smart_str.h"
                            ^
compilation terminated.
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/include -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/main -I/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8 -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-apcu-5.1.8/apcu-5.1.8/apc_mmap.c  -fPIC -DPIC -o .libs/apc_mmap.o
In file included from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma.h:34:0,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_mmap.h:36,
                 from /builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_mmap.c:31:
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:46:5: error: unknown type name 'zend_long'
     zend_long size;              /* size of this free block */
     ^
/builddir/build/BUILD/php-pecl-apcu-5.1.8/apcu-5.1.8/apc_sma_api.h:47:5: error: unknown type name 'zend_long'
     zend_long offset;            /* offset in segment of this block */
     ^
make: *** [apc_mmap.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [php_apc.lo] Error 1
make: *** [apc.lo] Error 1
make: *** [apc_cache.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.uOfgRF (%build)
    Bad exit status from /var/tmp/rpm-tmp.uOfgRF (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, 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 /builddir/build/SPECS/php7-pecl-apcu.spec
