Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-memcached.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-SCLs_php74-armhfp-254c3608ae89e55e3d825234a5ee26f918645f8d/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-memcached.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 Wrote: /builddir/build/SRPMS/php74-php-pecl-memcached-3.1.5-9.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-memcached.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-SCLs_php74-armhfp-254c3608ae89e55e3d825234a5ee26f918645f8d/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-memcached.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.uyO5J0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-memcached-3.1.5 + /usr/bin/mkdir -p php74-php-pecl-memcached-3.1.5 + cd php74-php-pecl-memcached-3.1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/memcached-3.1.5.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv memcached-3.1.5 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS + rm -r fastlz + sed -e /name=.fastlz/d -i ../package.xml ++ sed -n '/#define PHP_MEMCACHED_VERSION/{s/.* "//;s/".*$//;p}' php_memcached.h + extver=3.1.5 + test x3.1.5 '!=' x3.1.5 + cd .. + cat + cat NTS/memcached.ini + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OA35h7 + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-memcached-3.1.5 + source /opt/rh/devtoolset-7/enable ++ export PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-7/root ++ PCP_DIR=/opt/rh/devtoolset-7/root ++ export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ pythonvers=2.7 ++ export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages + export PKG_CONFIG_PATH=/opt/libmemcached-awesome/lib/pkgconfig + PKG_CONFIG_PATH=/opt/libmemcached-awesome/lib/pkgconfig + cd NTS + /opt/rh/php74/root/usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + peclconf /opt/rh/php74/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 -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/opt/rh/php74/root/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/opt/rh/php74/root/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php74/root/usr --exec-prefix=/opt/rh/php74/root/usr --bindir=/opt/rh/php74/root/usr/bin --sbindir=/opt/rh/php74/root/usr/sbin --sysconfdir=/etc/opt/rh/php74 --datadir=/opt/rh/php74/root/usr/share --includedir=/opt/rh/php74/root/usr/include --libdir=/opt/rh/php74/root/usr/lib --libexecdir=/opt/rh/php74/root/usr/libexec --localstatedir=/var/opt/rh/php74 --sharedstatedir=/var/opt/rh/php74/lib --mandir=/opt/rh/php74/root/usr/share/man --infodir=/opt/rh/php74/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/php74/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 armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /opt/rh/php74/root/usr checking for PHP includes... -I/opt/rh/php74/root/usr/include/php -I/opt/rh/php74/root/usr/include/php/main -I/opt/rh/php74/root/usr/include/php/TSRM -I/opt/rh/php74/root/usr/include/php/Zend -I/opt/rh/php74/root/usr/include/php/ext -I/opt/rh/php74/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php74/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no 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 whether to use system FastLZ library... 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/php74/root/usr/include/php checking for json includes... /opt/rh/php74/root/usr/include/php checking for igbinary includes... /opt/rh/php74/root/usr/include/php checking for msgpack includes... /opt/rh/php74/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... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir= to specify the prefix where libmemcached headers and library are located RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OA35h7 (%build) Bad exit status from /var/tmp/rpm-tmp.OA35h7 (%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-memcached.spec