D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/php-memcache-3.0.8-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8QT56O + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf memcache-3.0.8 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/memcache-3.0.8.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd memcache-3.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix_redefine.patch):' Patch #0 (fix_redefine.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file memcache.c patching file php_memcache.h + install -m 0644 /home/pterjan/rpmbuild/SOURCES/connect.inc tests/connect.inc + '[' ../package.xml '!=' / ']' + mv ../package.xml . + cp /home/pterjan/rpmbuild/SOURCES/memcache.ini A43_memcache.ini + find . -type d -exec chmod 755 '{}' ';' + find . -type f -exec chmod 644 '{}' ';' + grep -v .gif + find -type f + grep -v .png + grep -v .jpg + xargs dos2unix dos2unix: converting file ./A43_memcache.ini to Unix format... dos2unix: converting file ./package.xml to Unix format... dos2unix: converting file ./php_memcache.h to Unix format... dos2unix: converting file ./memcache.c to Unix format... dos2unix: converting file ./tests/connect.inc to Unix format... dos2unix: converting file ./tests/pecl63142.phpt to Unix format... dos2unix: converting file ./tests/pecl17566.phpt to Unix format... dos2unix: converting file ./tests/pecl17518.phpt to Unix format... dos2unix: converting file ./tests/pecl16536.phpt to Unix format... dos2unix: converting file ./tests/pecl16442.phpt to Unix format... dos2unix: converting file ./tests/pecl11221.phpt to Unix format... dos2unix: converting file ./tests/100.phpt to Unix format... dos2unix: converting file ./tests/100b.phpt to Unix format... dos2unix: converting file ./tests/100a.phpt to Unix format... dos2unix: converting file ./tests/058.phpt to Unix format... dos2unix: converting file ./tests/057.phpt to Unix format... dos2unix: converting file ./tests/056.phpt to Unix format... dos2unix: converting file ./tests/055.phpt to Unix format... dos2unix: converting file ./tests/054.phpt to Unix format... dos2unix: converting file ./tests/053.phpt to Unix format... dos2unix: converting file ./tests/052.phpt to Unix format... dos2unix: converting file ./tests/051.phpt to Unix format... dos2unix: converting file ./tests/050.phpt to Unix format... dos2unix: converting file ./tests/049.phpt to Unix format... dos2unix: converting file ./tests/048.phpt to Unix format... dos2unix: converting file ./tests/047.phpt to Unix format... dos2unix: converting file ./tests/046.phpt to Unix format... dos2unix: converting file ./tests/045.phpt to Unix format... dos2unix: converting file ./tests/044.phpt to Unix format... dos2unix: converting file ./tests/043.phpt to Unix format... dos2unix: converting file ./tests/042.phpt to Unix format... dos2unix: converting file ./tests/041.phpt to Unix format... dos2unix: converting file ./tests/040.phpt to Unix format... dos2unix: converting file ./tests/039.phpt to Unix format... dos2unix: converting file ./tests/038.phpt to Unix format... dos2unix: converting file ./tests/037.phpt to Unix format... dos2unix: converting file ./tests/036.phpt to Unix format... dos2unix: converting file ./tests/035.phpt to Unix format... dos2unix: converting file ./tests/034.phpt to Unix format... dos2unix: converting file ./tests/033.phpt to Unix format... dos2unix: converting file ./tests/032.phpt to Unix format... dos2unix: converting file ./tests/031.phpt to Unix format... dos2unix: converting file ./tests/030.phpt to Unix format... dos2unix: converting file ./tests/029.phpt to Unix format... dos2unix: converting file ./tests/028.phpt to Unix format... dos2unix: converting file ./tests/027.phpt to Unix format... dos2unix: converting file ./tests/027a.phpt to Unix format... dos2unix: converting file ./tests/026.phpt to Unix format... dos2unix: converting file ./tests/025.phpt to Unix format... dos2unix: converting file ./tests/024.phpt to Unix format... dos2unix: converting file ./tests/024a.phpt to Unix format... dos2unix: converting file ./tests/023.phpt to Unix format... dos2unix: converting file ./tests/022.phpt to Unix format... dos2unix: converting file ./tests/022a.phpt to Unix format... dos2unix: converting file ./tests/021.phpt to Unix format... dos2unix: converting file ./tests/020.phpt to Unix format... dos2unix: converting file ./tests/019.phpt to Unix format... dos2unix: converting file ./tests/019a.phpt to Unix format... dos2unix: converting file ./tests/018.phpt to Unix format... dos2unix: converting file ./tests/017.phpt to Unix format... dos2unix: converting file ./tests/016.phpt to Unix format... dos2unix: converting file ./tests/015.phpt to Unix format... dos2unix: converting file ./tests/014.phpt to Unix format... dos2unix: converting file ./tests/013.phpt to Unix format... dos2unix: converting file ./tests/012.phpt to Unix format... dos2unix: converting file ./tests/011.phpt to Unix format... dos2unix: converting file ./tests/010.phpt to Unix format... dos2unix: converting file ./tests/009.phpt to Unix format... dos2unix: converting file ./tests/008.phpt to Unix format... dos2unix: converting file ./tests/007.phpt to Unix format... dos2unix: converting file ./tests/006.phpt to Unix format... dos2unix: converting file ./tests/005.phpt to Unix format... dos2unix: converting file ./tests/004.phpt to Unix format... dos2unix: converting file ./tests/003.phpt to Unix format... dos2unix: converting file ./tests/002.phpt to Unix format... dos2unix: converting file ./tests/001.phpt to Unix format... dos2unix: converting file ./memcache.php to Unix format... dos2unix: converting file ./README to Unix format... dos2unix: converting file ./memcache_queue.h to Unix format... dos2unix: converting file ./memcache_pool.h to Unix format... dos2unix: converting file ./memcache.dsp to Unix format... dos2unix: converting file ./memcache_consistent_hash.c to Unix format... dos2unix: converting file ./memcache_standard_hash.c to Unix format... dos2unix: converting file ./memcache_binary_protocol.c to Unix format... dos2unix: converting file ./memcache_ascii_protocol.c to Unix format... dos2unix: converting file ./memcache_session.c to Unix format... dos2unix: converting file ./memcache_queue.c to Unix format... dos2unix: converting file ./memcache_pool.c to Unix format... dos2unix: converting file ./example.php to Unix format... dos2unix: converting file ./LICENSE to Unix format... dos2unix: converting file ./CREDITS to Unix format... dos2unix: converting file ./config.w32 to Unix format... dos2unix: converting file ./config9.m4 to Unix format... dos2unix: converting file ./config.m4 to Unix format... + ln -s /usr/src/php-devel/extensions ext + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iZv8gp + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd memcache-3.0.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline' + phpize Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libdir=lib64 --enable-memcache=shared,/usr --with-zlib-dir=/usr 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 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... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/extensions checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 1.0.2 (ok) checking for gawk... gawk checking whether to enable memcache support... yes, shared checking whether to enable memcache session handler support... yes checking for the location of ZLIB... /usr checking for the location of zlib... /usr checking for session includes... /home/pterjan/rpmbuild/BUILD/memcache-3.0.8 checking for memcache session support... enabled checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... 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 creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_session.c -o memcache_session.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_session.c -fPIC -DPIC -o .libs/memcache_session.o /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_session.c:32:10: fatal error: ext/standard/php_smart_str.h: No such file or directory #include "ext/standard/php_smart_str.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:211: memcache_session.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache.c -o memcache.lo mkdir .libs cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache.c -fPIC -DPIC -o .libs/memcache.o In file included from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/php_memcache.h:34:0, from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache.c:30: /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory #include "ext/standard/php_smart_str_public.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:197: memcache.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_ascii_protocol.c -o memcache_ascii_protocol.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_ascii_protocol.c -fPIC -DPIC -o .libs/memcache_ascii_protocol.o In file included from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_ascii_protocol.c:26:0: /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory #include "ext/standard/php_smart_str_public.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:203: memcache_ascii_protocol.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_binary_protocol.c -o memcache_binary_protocol.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_binary_protocol.c -fPIC -DPIC -o .libs/memcache_binary_protocol.o In file included from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_binary_protocol.c:34:0: /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory #include "ext/standard/php_smart_str_public.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:205: memcache_binary_protocol.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_standard_hash.c -o memcache_standard_hash.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_standard_hash.c -fPIC -DPIC -o .libs/memcache_standard_hash.o In file included from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/php_memcache.h:34:0, from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_standard_hash.c:27: /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory #include "ext/standard/php_smart_str_public.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:207: memcache_standard_hash.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.c -o memcache_pool.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.c -fPIC -DPIC -o .libs/memcache_pool.o /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.c:38:10: fatal error: ext/standard/php_smart_str.h: No such file or directory #include "ext/standard/php_smart_str.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:199: memcache_pool.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_consistent_hash.c -o memcache_consistent_hash.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_consistent_hash.c -fPIC -DPIC -o .libs/memcache_consistent_hash.o In file included from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/php_memcache.h:34:0, from /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_consistent_hash.c:29: /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory #include "ext/standard/php_smart_str_public.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:209: memcache_consistent_hash.lo] Error 1 /bin/sh /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/libtool --mode=compile cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_queue.c -o memcache_queue.lo cc -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -I. -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/include -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.8/main -I/home/pterjan/rpmbuild/BUILD/memcache-3.0.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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fgnu89-inline -c /home/pterjan/rpmbuild/BUILD/memcache-3.0.8/memcache_queue.c -fPIC -DPIC -o .libs/memcache_queue.o error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iZv8gp (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iZv8gp (%build) I: [iurt_root_command] ERROR: chroot