Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-memcached.spec'], timeout=0printOutput=Falseuser='mockbuild'uid=1001env={'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2908/root'gid=135shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-memcached.spec'] with env {'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False sh: line 0: fg: no job control Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/php55-php-pecl-memcached-2.2.0-9.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-memcached.spec'], timeout=0printOutput=Falseuser='mockbuild'uid=1001env={'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2908/root'gid=135private_network=Trueshell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-pecl-memcached.spec'] with env {'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qo9xp8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php55-php-pecl-memcached-2.2.0 + /usr/bin/mkdir -p php55-php-pecl-memcached-2.2.0 + cd php55-php-pecl-memcached-2.2.0 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/memcached-2.2.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (memcached-fastlz.patch): + mv memcached-2.2.0 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + echo 'Patch #0 (memcached-fastlz.patch):' + /usr/bin/patch -p1 -b --suffix .fastlz --fuzz=0 patching file config.m4 + /usr/bin/cat /builddir/build/SOURCES/memcached-fastlz.patch patching file php_memcached.c + rm -r fastlz + sed -e '/name="fastlz/d' -i ../package.xml ++ sed -n '/#define PHP_MEMCACHED_VERSION/{s/.* "//;s/".*$//;p}' php_memcached.h + extver=2.2.0 + test x2.2.0 '!=' x2.2.0 + cd .. + cat + cat NTS/memcached.ini + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8WrvYB + umask 022 + cd /builddir/build/BUILD + cd php55-php-pecl-memcached-2.2.0 + export PKG_CONFIG_PATH=/opt/rh/php55/root/usr/lib64/pkgconfig + PKG_CONFIG_PATH=/opt/rh/php55/root/usr/lib64/pkgconfig + cd NTS + /opt/rh/php55/root/usr/bin/phpize Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 + peclconf /opt/rh/php55/root/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 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/opt/rh/php55/root/usr/lib64/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 -m64 -mtune=generic -I/opt/rh/php55/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == 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=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php55/root/usr --exec-prefix=/opt/rh/php55/root/usr --bindir=/opt/rh/php55/root/usr/bin --sbindir=/opt/rh/php55/root/usr/sbin --sysconfdir=/opt/rh/php55/root/etc --datadir=/opt/rh/php55/root/usr/share --includedir=/opt/rh/php55/root/usr/include --libdir=/opt/rh/php55/root/usr/lib64 --libexecdir=/opt/rh/php55/root/usr/libexec --localstatedir=/opt/rh/php55/root/var --sharedstatedir=/opt/rh/php55/root/var/lib --mandir=/opt/rh/php55/root/usr/share/man --infodir=/opt/rh/php55/root/usr/share/info --enable-memcached-igbinary --enable-memcached-json --enable-memcached-sasl --enable-memcached-msgpack --enable-memcached-protocol --with-system-fastlz --with-php-config=/opt/rh/php55/root/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 x86_64-redhat-linux-gnu-cc... no checking for x86_64-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... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for PHP prefix... /opt/rh/php55/root/usr checking for PHP includes... -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php55/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/rh/php55/root/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 memcached support... yes, shared checking for libmemcached... yes, shared checking whether to enable memcached session handler support... yes checking whether to enable memcached igbinary serializer support... yes checking whether to enable memcached json serializer support... yes checking whether to enable memcached msgpack serializer support... yes checking whether to enable memcached sasl support... yes checking whether to enable memcached protocol support... yes checking wheter to use system FastLZ bibrary... yes checking for ZLIB... yes, shared checking for pkg-config... /usr/bin/pkg-config checking for zlib location... /usr checking for session includes... /opt/rh/php55/root/usr/include/php checking for json includes... /opt/rh/php55/root/usr/include/php checking for igbinary includes... /opt/rh/php55/root/usr/include/php checking for msgpack includes... /opt/rh/php55/root/usr/include/php checking for memcached session support... enabled checking for memcached igbinary support... enabled checking for memcached msgpack support... enabled checking for libmemcached location... found version 1.0.16, under /usr checking whether to enable sasl support... 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 sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking whether libmemcached supports sasl... yes checking for sasl_client_init in -lsasl2... yes checking fastlz.h usability... yes checking fastlz.h presence... yes checking for fastlz.h... yes checking for fastlz_compress in -lfastlz... yes checking for memcached protocol support... enabled checking whether libmemcachedprotocol is usable... yes checking for libevent... found version 2.0.21-stable, under /usr 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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-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 -m elf_x86_64) 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 -j2 /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=compile cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c -o php_memcached.lo /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=compile cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_libmemcached_compat.c -o php_libmemcached_compat.lo libtool: compile: cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c -fPIC -DPIC -o .libs/php_memcached.o libtool: compile: cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_libmemcached_compat.c -fPIC -DPIC -o .libs/php_libmemcached_compat.o /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=compile cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/g_fmt.c -o g_fmt.lo /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c: In function 'zim_Memcached_fetch': /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:1070:2: warning: passing argument 4 of 'add_assoc_stringl_ex' discards 'const' qualifier from pointer target type [enabled by default] add_assoc_stringl_ex(return_value, ZEND_STRS("key"), res_key, res_key_len, 1); ^ In file included from /opt/rh/php55/root/usr/include/php/main/php.h:38:0, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.h:22, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:25: /opt/rh/php55/root/usr/include/php/Zend/zend_API.h:382:14: note: expected 'char *' but argument is of type 'const char *' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate); ^ /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c: In function 'zim_Memcached_fetchAll': /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:1129:3: warning: passing argument 4 of 'add_assoc_stringl_ex' discards 'const' qualifier from pointer target type [enabled by default] add_assoc_stringl_ex(entry, ZEND_STRS("key"), res_key, res_key_len, 1); ^ In file included from /opt/rh/php55/root/usr/include/php/main/php.h:38:0, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.h:22, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:25: /opt/rh/php55/root/usr/include/php/Zend/zend_API.h:382:14: note: expected 'char *' but argument is of type 'const char *' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate); ^ libtool: compile: cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/g_fmt.c -fPIC -DPIC -o .libs/g_fmt.o /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c: In function 'php_memc_server_new': /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:2906:8: warning: unused variable 'tmp' [-Wunused-variable] zval *tmp; ^ /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c: In function 's_unserialize_value': /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:3380:4: warning: passing argument 2 of 'php_json_decode' discards 'const' qualifier from pointer target type [enabled by default] php_json_decode(value, payload, payload_len, (serializer == SERIALIZER_JSON_ARRAY), JSON_PARSER_DEFAULT_DEPTH TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:41:0: /opt/rh/php55/root/usr/include/php/ext/json/php_json.h:93:20: note: expected 'char *' but argument is of type 'const char *' static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) ^ /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:3391:4: warning: passing argument 2 of 'php_msgpack_unserialize' discards 'const' qualifier from pointer target type [enabled by default] php_msgpack_unserialize(value, payload, payload_len TSRMLS_CC); ^ In file included from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:49:0: /opt/rh/php55/root/usr/include/php/ext/msgpack/php_msgpack.h:44:22: note: expected 'char *' but argument is of type 'const char *' PHP_MSGPACK_API void php_msgpack_unserialize( ^ /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c: In function 'php_memc_do_result_callback': /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:3678:2: warning: passing argument 4 of 'add_assoc_stringl_ex' discards 'const' qualifier from pointer target type [enabled by default] add_assoc_stringl_ex(z_result, ZEND_STRS("key"), res_key, res_key_len, 1); ^ In file included from /opt/rh/php55/root/usr/include/php/main/php.h:38:0, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.h:22, from /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached.c:25: /opt/rh/php55/root/usr/include/php/Zend/zend_API.h:382:14: note: expected 'char *' but argument is of type 'const char *' ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate); ^ /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=compile cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached_session.c -o php_memcached_session.lo libtool: compile: cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached_session.c -fPIC -DPIC -o .libs/php_memcached_session.o /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=compile cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached_server.c -o php_memcached_server.lo libtool: compile: cc -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php -I. -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -c /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/php_memcached_server.c -fPIC -DPIC -o .libs/php_memcached_server.o /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/include -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/main -I/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS -I/opt/rh/php55/root/usr/include/php -I/opt/rh/php55/root/usr/include/php/main -I/opt/rh/php55/root/usr/include/php/TSRM -I/opt/rh/php55/root/usr/include/php/Zend -I/opt/rh/php55/root/usr/include/php/ext -I/opt/rh/php55/root/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 -m64 -mtune=generic -Wl,-z,relro -o memcached.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules php_memcached.lo php_libmemcached_compat.lo g_fmt.lo php_memcached_session.lo php_memcached_server.lo -lmemcachedprotocol -lz -lmemcached -lmemcachedutil -lsasl2 -lfastlz -levent libtool: link: cc -shared -fPIC -DPIC .libs/php_memcached.o .libs/php_libmemcached_compat.o .libs/g_fmt.o .libs/php_memcached_session.o .libs/php_memcached_server.o -lmemcachedprotocol -lz -lmemcached -lmemcachedutil -lsasl2 -lfastlz -levent -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,memcached.so -o .libs/memcached.so libtool: link: ( cd ".libs" && rm -f "memcached.la" && ln -s "../memcached.la" "memcached.la" ) /bin/sh /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/libtool --mode=install cp ./memcached.la /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules libtool: install: cp ./.libs/memcached.so /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules/memcached.so libtool: install: cp ./.libs/memcached.lai /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules/memcached.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w2UBgk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 + cd php55-php-pecl-memcached-2.2.0 + make install -C NTS INSTALL_ROOT=/builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 make: Entering directory `/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/lib64/php/modules/ make: Leaving directory `/builddir/build/BUILD/php55-php-pecl-memcached-2.2.0/NTS' + install -D -m 644 z-memcached.ini /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/etc/php.d/z-memcached.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/var/lib/pear/pkgxml/php55-php-pecl-memcached.xml + cd NTS ++ grep 'role="doc"' ../package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 README.markdown /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/doc/pear/memcached/README.markdown + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 CREDITS /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/doc/pear/memcached/CREDITS + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 ChangeLog /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/doc/pear/memcached/ChangeLog + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 memcached-api.php /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/doc/pear/memcached/memcached-api.php + for i in '$(grep '\''role="doc"'\'' ../package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 memcached.ini /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/doc/pear/memcached/memcached.ini + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/php55-php-pecl-memcached-2.2.0 extracting debug info from /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/lib64/php/modules/memcached.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 374 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/php55/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/php55/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oc5uN3 + umask 022 + cd /builddir/build/BUILD + cd php55-php-pecl-memcached-2.2.0 + OPT=-n + '[' -f /opt/rh/php55/root/usr/lib64/php/modules/igbinary.so ']' + OPT='-n -d extension=igbinary.so' + '[' -f /opt/rh/php55/root/usr/lib64/php/modules/json.so ']' + OPT='-n -d extension=igbinary.so -d extension=json.so' + '[' -f /opt/rh/php55/root/usr/lib64/php/modules/msgpack.so ']' + OPT='-n -d extension=igbinary.so -d extension=json.so -d extension=msgpack.so' + : Minimal load test for NTS extension + grep memcached + /opt/rh/php55/root/usr/bin/php -n -d extension=igbinary.so -d extension=json.so -d extension=msgpack.so -d extension=/builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/lib64/php/modules/memcached.so --modules memcached + exit 0 Processing files: php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8JN5mN + umask 022 + cd /builddir/build/BUILD + cd php55-php-pecl-memcached-2.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/licenses/php55-php-pecl-memcached-2.2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/licenses/php55-php-pecl-memcached-2.2.0 + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64/opt/rh/php55/root/usr/share/licenses/php55-php-pecl-memcached-2.2.0 + exit 0 Provides: config(php55-php-pecl-memcached) = 2.2.0-9.el7.centos php55-php-memcached = 2.2.0 php55-php-memcached(x86-64) = 2.2.0 php55-php-pecl(memcached) = 2.2.0 php55-php-pecl(memcached)(x86-64) = 2.2.0 php55-php-pecl-memcached = 2.2.0-9.el7.centos php55-php-pecl-memcached(x86-64) = 2.2.0-9.el7.centos scl-package(php55) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libevent-2.0.so.5()(64bit) libfastlz.so.0()(64bit) libmemcached.so.11()(64bit) libmemcachedprotocol.so.0()(64bit) libmemcachedutil.so.2()(64bit) libsasl2.so.3()(64bit) libz.so.1()(64bit) php55-runtime rtld(GNU_HASH) Processing files: php55-php-pecl-memcached-debuginfo-2.2.0-9.el7.centos.x86_64 Provides: scl-package(php55) php55-php-pecl-memcached-debuginfo = 2.2.0-9.el7.centos php55-php-pecl-memcached-debuginfo(x86-64) = 2.2.0-9.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 Wrote: /builddir/build/RPMS/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/php55-php-pecl-memcached-debuginfo-2.2.0-9.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CxLsT2 + umask 022 + cd /builddir/build/BUILD + cd php55-php-pecl-memcached-2.2.0 + rm -rf /builddir/build/BUILDROOT/php55-php-pecl-memcached-2.2.0-9.el7.centos.x86_64 + exit 0 Child return code was: 0