Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec'], chrootPath='/var/lib/mock/dist-an23-build-255487-63653/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1681948800 Wrote: /builddir/build/SRPMS/llvm-16.0.2-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec'], chrootPath='/var/lib/mock/dist-an23-build-255487-63653/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1681948800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AIp8tr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmake-16.0.2.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cmake-16.0.2.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmake-16.0.2.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd .. + mv cmake-16.0.2.src cmake + cd /builddir/build/BUILD + rm -rf third-party-16.0.2.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/third-party-16.0.2.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd third-party-16.0.2.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0201-third-party-Add-install-targets-for-gtest.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + cd .. + mv third-party-16.0.2.src third-party + cd /builddir/build/BUILD + rm -rf llvm-16.0.2.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/llvm-16.0.2.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd llvm-16.0.2.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/D145763.diff + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file test/tools/llvm-exegesis/PowerPC/lit.local.cfg.rej 1 out of 1 hunk FAILED -- saving rejects to file test/tools/llvm-exegesis/X86/lit.local.cfg.rej error: Bad exit status from /var/tmp/rpm-tmp.AIp8tr (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.AIp8tr (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm.spec