Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'], False, '/srv/build/7/B/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/centos-release-7-0.1406.el7.centos.2.4.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'], False, '/srv/build/7/B/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e3juC4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf centos-release-7 + /usr/bin/gzip -dc /builddir/build/SOURCES/centos-release-7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd centos-release-7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QeqORm + umask 022 + cd /builddir/build/BUILD OK + cd centos-release-7 + echo OK + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IO7s7E + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64 ++ dirname /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64 + cd centos-release-7 + rm -rf /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64 + mkdir -p /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc + echo 'CentOS Linux release 7.0.1406 (Core) ' + ln -s centos-release /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/system-release + ln -s centos-release /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/redhat-release + cat + echo cpe:/o:centos:centos:7 + echo '\S' + echo 'Kernel \r on an \m' + cp /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/issue /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/issue.net + echo + mkdir -p -m 755 /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/pki/rpm-gpg + for file in 'RPM-GPG-KEY*' + install -m 644 RPM-GPG-KEY-CentOS-7 /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/pki/rpm-gpg + for file in 'RPM-GPG-KEY*' + install -m 644 RPM-GPG-KEY-CentOS-Testing-7 /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/pki/rpm-gpg + mkdir -p -m 755 /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/yum.repos.d + for file in 'CentOS-*.repo' + install -m 644 'CentOS-*.repo' /builddir/build/BUILDROOT/centos-release-7-0.1406.el7.centos.2.4.x86_64/etc/yum.repos.d install: cannot stat 'CentOS-*.repo': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.IO7s7E (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IO7s7E (%install) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 377, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/centos-release.spec'] LEAVE do --> EXCEPTION RAISED