Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-shout.spec'], nspawn_args=[]shell=Falseuid=995env={'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-6c31cf30999bd734cf4b6ee14ecac9b3fa843f90/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-shout.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 Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-shout-0.9.2-16.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-shout.spec"], nspawn_args=[]shell=Falseuid=995env={'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-6c31cf30999bd734cf4b6ee14ecac9b3fa843f90/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-shout.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.y00C9S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-shout-0.9.2 + /usr/bin/mkdir -p php-shout-0.9.2 + cd php-shout-0.9.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/phpShout-0.9.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (php-shout-modernize.patch): + cd phpShout-0.9.2 + echo 'Patch #0 (php-shout-modernize.patch):' + /usr/bin/cat /builddir/build/SOURCES/php-shout-modernize.patch + /usr/bin/patch -p1 -b --suffix .modernize --fuzz=0 patching file php_shout.h patching file shout.c + chmod a-x php_shout.h shout.c TODO README INSTALL LICENSE + cd .. + cp -r phpShout-0.9.2 phpShout-zts + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ykJceL + umask 022 + cd /builddir/build/BUILD + cd php-shout-0.9.2 + cd phpShout-0.9.2 + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 configure:3937: error: possibly undefined macro: PKG_CONFIG_MIN_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ykJceL (%build) Bad exit status from /var/tmp/rpm-tmp.ykJceL (%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-shout.spec