Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-couchbase.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-453754a5e103449c9e40c3a78945b566b06ecd5f/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-couchbase.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: line 0: fg: no job control sh: line 0: fg: no job control Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-pecl-couchbase-1.2.2-6.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-couchbase.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-453754a5e103449c9e40c3a78945b566b06ecd5f/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-couchbase.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.2W7ENO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-couchbase-1.2.2 + /usr/bin/mkdir -p php-pecl-couchbase-1.2.2 + cd php-pecl-couchbase-1.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/couchbase-1.2.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv couchbase-1.2.2 NTS + sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml Patch #0 (couchbase-fastlz.patch): + cd NTS + echo 'Patch #0 (couchbase-fastlz.patch):' + /usr/bin/cat /builddir/build/SOURCES/couchbase-fastlz.patch + /usr/bin/patch -p1 -b --suffix .fastlz --fuzz=0 patching file config.m4 patching file internal.h + rm -r fastlz + sed -e '/name="fastlz/d' -i ../package.xml + sed -e /PHP_COUCHBASE_VERSION/s/1.2.0/1.2.2/ -i php_couchbase.h ++ sed -n '/#define PHP_COUCHBASE_VERSION/{s/.* "//;s/".*$//;p}' php_couchbase.h + extver=1.2.2 + test x1.2.2 '!=' x1.2.2 + cd .. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YlEGdI + : Only NTS build, no ZTS + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php-pecl-couchbase-1.2.2 + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 + peclconf /usr/bin/php-config + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-fastlz --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 for Couchbase support... yes, shared checking wheter to use system FastLZ bibrary... 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 libcouchbase/couchbase.h usability... yes checking libcouchbase/couchbase.h presence... yes checking for libcouchbase/couchbase.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking ext/igbinary/igbinary.h usability... yes checking ext/igbinary/igbinary.h presence... yes checking for ext/igbinary/igbinary.h... yes checking fastlz.h usability... yes checking fastlz.h presence... yes checking for fastlz.h... yes checking for fastlz_compress in -lfastlz... 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: 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-couchbase-1.2.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/apidecl.c -o apidecl.lo /bin/sh /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/arithmetic.c -o arithmetic.lo /bin/sh /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/ccache.c -o ccache.lo /bin/sh /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/compress.c -o compress.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/apidecl.c -fPIC -DPIC -o .libs/apidecl.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/arithmetic.c -fPIC -DPIC -o .libs/arithmetic.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/ccache.c -fPIC -DPIC -o .libs/ccache.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/include -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/main -I/builddir/build/BUILD/php-pecl-couchbase-1.2.2/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-couchbase-1.2.2/NTS/compress.c -fPIC -DPIC -o .libs/compress.o In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/compress.c:49:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:152:2: error: unknown type name 'lcb_t' lcb_t handle; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:161:2: error: unknown type name 'lcb_error_t' lcb_error_t rc; /* returned code */ ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/ccache.c:18:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:152:2: error: unknown type name 'lcb_t' lcb_t handle; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:161:2: error: unknown type name 'lcb_error_t' lcb_error_t rc; /* returned code */ ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:24:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:152:2: error: unknown type name 'lcb_t' lcb_t handle; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:161:2: error: unknown type name 'lcb_error_t' lcb_error_t rc; /* returned code */ ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:18:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:152:2: error: unknown type name 'lcb_t' lcb_t handle; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:161:2: error: unknown type name 'lcb_error_t' lcb_error_t rc; /* returned code */ ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/ccache.c:18:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:338:43: error: unknown type name 'lcb_t' extern void php_couchbase_setup_callbacks(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:453:46: error: unknown type name 'lcb_t' void php_couchbase_callbacks_arithmetic_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:456:39: error: unknown type name 'lcb_t' void php_couchbase_callbacks_get_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:459:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_store_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:462:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_remove_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:465:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_view_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:468:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_observe_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:471:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_flush_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:24:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:338:43: error: unknown type name 'lcb_t' extern void php_couchbase_setup_callbacks(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:474:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_stat_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:477:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_version_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:480:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_unlock_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:453:46: error: unknown type name 'lcb_t' void php_couchbase_callbacks_arithmetic_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:456:39: error: unknown type name 'lcb_t' void php_couchbase_callbacks_get_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:459:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_store_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:462:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_remove_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:465:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_view_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:468:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_observe_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:471:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_flush_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:474:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_stat_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:477:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_version_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:480:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_unlock_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:491:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/ccache.c:18: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:65:61: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op, int multi); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:71:64: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:18:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:338:43: error: unknown type name 'lcb_t' extern void php_couchbase_setup_callbacks(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:492:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/ccache.c:18: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:27:2: error: unknown type name 'lcb_error_t' lcb_error_t err; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:1: error: unknown type name 'lcb_error_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:28: error: unknown type name 'lcb_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:44:36: error: unknown type name 'lcb_t' int validate_simple_observe_clause(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:453:46: error: unknown type name 'lcb_t' void php_couchbase_callbacks_arithmetic_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:491:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:24: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:65:61: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op, int multi); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:456:39: error: unknown type name 'lcb_t' void php_couchbase_callbacks_get_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:459:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_store_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:71:64: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:462:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_remove_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/compress.c:49:0: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:338:43: error: unknown type name 'lcb_t' extern void php_couchbase_setup_callbacks(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:465:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_view_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:468:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_observe_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:471:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_flush_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:474:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_stat_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:477:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_version_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:480:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_unlock_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:453:46: error: unknown type name 'lcb_t' void php_couchbase_callbacks_arithmetic_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:492:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:24: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:27:2: error: unknown type name 'lcb_error_t' lcb_error_t err; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:456:39: error: unknown type name 'lcb_t' void php_couchbase_callbacks_get_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:1: error: unknown type name 'lcb_error_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:28: error: unknown type name 'lcb_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:459:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_store_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:44:36: error: unknown type name 'lcb_t' int validate_simple_observe_clause(lcb_t instance, ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:491:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:18: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:65:61: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op, int multi); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:462:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_remove_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:71:64: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:465:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_view_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:468:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_observe_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:471:41: error: unknown type name 'lcb_t' void php_couchbase_callbacks_flush_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:474:40: error: unknown type name 'lcb_t' void php_couchbase_callbacks_stat_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:477:43: error: unknown type name 'lcb_t' void php_couchbase_callbacks_version_init(lcb_t handle); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:480:42: error: unknown type name 'lcb_t' void php_couchbase_callbacks_unlock_init(lcb_t handle); ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:492:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:18: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:27:2: error: unknown type name 'lcb_error_t' lcb_error_t err; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:1: error: unknown type name 'lcb_error_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:28: error: unknown type name 'lcb_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:44:36: error: unknown type name 'lcb_t' int validate_simple_observe_clause(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:21:2: error: unknown type name 'lcb_error_t' lcb_error_t error; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:25:47: error: unknown type name 'lcb_t' static void php_couchbase_arithmetic_callback(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:27:14: error: unknown type name 'lcb_error_t' lcb_error_t error, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:28:14: error: unknown type name 'lcb_arithmetic_resp_t' const lcb_arithmetic_resp_t *resp) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c: In function 'php_couchbase_arithmetic_impl': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:50:2: error: unknown type name 'lcb_arithmetic_cmd_t' lcb_arithmetic_cmd_t cmd; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:51:2: error: unknown type name 'lcb_arithmetic_cmd_t' const lcb_arithmetic_cmd_t *const commands[] = { &cmd }; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:52:2: error: unknown type name 'lcb_error_t' lcb_error_t retval; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:56:2: error: unknown type name 'lcb_t' lcb_t instance; ^ make: *** [ccache.lo] Error 1 make: *** Waiting for unfinished jobs.... /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:78:5: error: request for member 'v' in something not a structure or union cmd.v.v0.key = key; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:79:5: error: request for member 'v' in something not a structure or union cmd.v.v0.nkey = klen; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:80:5: error: request for member 'v' in something not a structure or union cmd.v.v0.create = create; ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:491:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/compress.c:49: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:65:61: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op, int multi); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:81:5: error: request for member 'v' in something not a structure or union cmd.v.v0.delta = delta; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:82:5: error: request for member 'v' in something not a structure or union cmd.v.v0.initial = initial; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.h:71:64: error: unknown type name 'lcb_storage_t' void php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAMETERS, lcb_storage_t op); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:83:5: error: request for member 'v' in something not a structure or union cmd.v.v0.exptime = exp; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:85:2: warning: implicit declaration of function 'lcb_behavior_set_syncmode' [-Wimplicit-function-declaration] lcb_behavior_set_syncmode(instance, LCB_SYNCHRONOUS); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:85:38: error: 'LCB_SYNCHRONOUS' undeclared (first use in this function) lcb_behavior_set_syncmode(instance, LCB_SYNCHRONOUS); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:85:38: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:86:2: warning: implicit declaration of function 'lcb_arithmetic' [-Wimplicit-function-declaration] retval = lcb_arithmetic(instance, &cookie, 1, commands); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:87:38: error: 'LCB_ASYNCHRONOUS' undeclared (first use in this function) lcb_behavior_set_syncmode(instance, LCB_ASYNCHRONOUS); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:101:17: error: 'LCB_KEY_ENOENT' undeclared (first use in this function) if (retval == LCB_KEY_ENOENT && create == 0) { ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:110:11: warning: implicit declaration of function 'lcb_strerror' [-Wimplicit-function-declaration] lcb_strerror(instance, retval)); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c: At top level: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/arithmetic.c:115:46: error: unknown type name 'lcb_t' void php_couchbase_callbacks_arithmetic_init(lcb_t handle) ^ In file included from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:492:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/compress.c:49: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:27:2: error: unknown type name 'lcb_error_t' lcb_error_t err; ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:1: error: unknown type name 'lcb_error_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:37:28: error: unknown type name 'lcb_t' lcb_error_t simple_observe(lcb_t instance, ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/simple_observe.h:44:36: error: unknown type name 'lcb_t' int validate_simple_observe_clause(lcb_t instance, ^ make: *** [arithmetic.lo] Error 1 make: *** [compress.lo] Error 1 /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zim_couchbase_add': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:705:2: warning: implicit declaration of function 'php_couchbase_store_impl_oo' [-Wimplicit-function-declaration] php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_ADD); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:705:64: error: 'LCB_ADD' undeclared (first use in this function) php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_ADD); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:705:64: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zim_couchbase_set': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:710:64: error: 'LCB_SET' undeclared (first use in this function) php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_SET); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zim_couchbase_prepend': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:720:64: error: 'LCB_PREPEND' undeclared (first use in this function) php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_PREPEND); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zim_couchbase_append': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:725:64: error: 'LCB_APPEND' undeclared (first use in this function) php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_APPEND); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zim_couchbase_replace': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:730:64: error: 'LCB_REPLACE' undeclared (first use in this function) php_couchbase_store_impl_oo(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_REPLACE); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_add': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:937:2: warning: implicit declaration of function 'php_couchbase_store_impl' [-Wimplicit-function-declaration] php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_ADD, 0); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:937:61: error: 'LCB_ADD' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_ADD, 0); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_set': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:942:61: error: 'LCB_SET' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_SET, 0); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_set_multi': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:947:61: error: 'LCB_SET' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_SET, 1); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_prepend': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:952:61: error: 'LCB_PREPEND' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_PREPEND, 0); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_append': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:957:61: error: 'LCB_APPEND' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_APPEND, 0); ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zif_couchbase_replace': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:962:61: error: 'LCB_REPLACE' undeclared (first use in this function) php_couchbase_store_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, LCB_REPLACE, 0); ^ In file included from /usr/include/php/main/php.h:404:0, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/internal.h:49, from /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:24: /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c: In function 'zm_startup_couchbase': /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1265:22: error: 'LCB_AUTH_CONTINUE' undeclared (first use in this function) XX("AUTH_CONTINUE", LCB_AUTH_CONTINUE) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1265:2: note: in expansion of macro 'XX' XX("AUTH_CONTINUE", LCB_AUTH_CONTINUE) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1266:21: error: 'LCB_DELTA_BADVAL' undeclared (first use in this function) XX("DELTA_BADVAL", LCB_DELTA_BADVAL) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1266:2: note: in expansion of macro 'XX' XX("DELTA_BADVAL", LCB_DELTA_BADVAL) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1267:14: error: 'LCB_E2BIG' undeclared (first use in this function) XX("E2BIG", LCB_E2BIG) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1267:2: note: in expansion of macro 'XX' XX("E2BIG", LCB_E2BIG) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1268:14: error: 'LCB_EBUSY' undeclared (first use in this function) XX("EBUSY", LCB_EBUSY) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1268:2: note: in expansion of macro 'XX' XX("EBUSY", LCB_EBUSY) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1269:18: error: 'LCB_EINTERNAL' undeclared (first use in this function) XX("EINTERNAL", LCB_EINTERNAL) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1269:2: note: in expansion of macro 'XX' XX("EINTERNAL", LCB_EINTERNAL) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1270:15: error: 'LCB_EINVAL' undeclared (first use in this function) XX("EINVAL", LCB_EINVAL) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1270:2: note: in expansion of macro 'XX' XX("EINVAL", LCB_EINVAL) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1271:15: error: 'LCB_ENOMEM' undeclared (first use in this function) XX("ENOMEM", LCB_ENOMEM) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1271:2: note: in expansion of macro 'XX' XX("ENOMEM", LCB_ENOMEM) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1272:14: error: 'LCB_ERROR' undeclared (first use in this function) XX("ERROR", LCB_ERROR) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1272:2: note: in expansion of macro 'XX' XX("ERROR", LCB_ERROR) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1273:17: error: 'LCB_ETMPFAIL' undeclared (first use in this function) XX("ETMPFAIL", LCB_ETMPFAIL) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1273:2: note: in expansion of macro 'XX' XX("ETMPFAIL", LCB_ETMPFAIL) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1274:20: error: 'LCB_KEY_EEXISTS' undeclared (first use in this function) XX("KEY_EEXISTS", LCB_KEY_EEXISTS) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1274:2: note: in expansion of macro 'XX' XX("KEY_EEXISTS", LCB_KEY_EEXISTS) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1275:19: error: 'LCB_KEY_ENOENT' undeclared (first use in this function) XX("KEY_ENOENT", LCB_KEY_ENOENT) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1275:2: note: in expansion of macro 'XX' XX("KEY_ENOENT", LCB_KEY_ENOENT) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1276:22: error: 'LCB_NETWORK_ERROR' undeclared (first use in this function) XX("NETWORK_ERROR", LCB_NETWORK_ERROR) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1276:2: note: in expansion of macro 'XX' XX("NETWORK_ERROR", LCB_NETWORK_ERROR) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1277:23: error: 'LCB_NOT_MY_VBUCKET' undeclared (first use in this function) XX("NOT_MY_VBUCKET", LCB_NOT_MY_VBUCKET) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1277:2: note: in expansion of macro 'XX' XX("NOT_MY_VBUCKET", LCB_NOT_MY_VBUCKET) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1278:19: error: 'LCB_NOT_STORED' undeclared (first use in this function) XX("NOT_STORED", LCB_NOT_STORED) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1278:2: note: in expansion of macro 'XX' XX("NOT_STORED", LCB_NOT_STORED) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1279:22: error: 'LCB_NOT_SUPPORTED' undeclared (first use in this function) XX("NOT_SUPPORTED", LCB_NOT_SUPPORTED) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1279:2: note: in expansion of macro 'XX' XX("NOT_SUPPORTED", LCB_NOT_SUPPORTED) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1280:24: error: 'LCB_UNKNOWN_COMMAND' undeclared (first use in this function) XX("UNKNOWN_COMMAND", LCB_UNKNOWN_COMMAND) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1280:2: note: in expansion of macro 'XX' XX("UNKNOWN_COMMAND", LCB_UNKNOWN_COMMAND) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1281:21: error: 'LCB_UNKNOWN_HOST' undeclared (first use in this function) XX("UNKNOWN_HOST", LCB_UNKNOWN_HOST) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1281:2: note: in expansion of macro 'XX' XX("UNKNOWN_HOST", LCB_UNKNOWN_HOST) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1300:22: error: 'LCB_REPLICA_FIRST' undeclared (first use in this function) XX("REPLICA_FIRST", LCB_REPLICA_FIRST) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1300:2: note: in expansion of macro 'XX' XX("REPLICA_FIRST", LCB_REPLICA_FIRST) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1301:20: error: 'LCB_REPLICA_ALL' undeclared (first use in this function) XX("REPLICA_ALL", LCB_REPLICA_ALL) \ ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1301:2: note: in expansion of macro 'XX' XX("REPLICA_ALL", LCB_REPLICA_ALL) \ ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1302:23: error: 'LCB_REPLICA_SELECT' undeclared (first use in this function) XX("REPLICA_SELECT", LCB_REPLICA_SELECT) ^ /usr/include/php/Zend/zend_constants.h:41:103: note: in definition of macro 'REGISTER_LONG_CONSTANT' #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1302:2: note: in expansion of macro 'XX' XX("REPLICA_SELECT", LCB_REPLICA_SELECT) ^ /builddir/build/BUILD/php-pecl-couchbase-1.2.2/NTS/apidecl.c:1312:2: note: in expansion of macro 'PCBC_XAPIOPTIONS' PCBC_XAPIOPTIONS ^ RPM build errors: make: *** [apidecl.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.YlEGdI (%build) Bad exit status from /var/tmp/rpm-tmp.YlEGdI (%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-couchbase.spec