Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-90904-37176/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.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=1669507200 Wrote: /builddir/build/SRPMS/opa-ff-10.11.1.3.1-1.el9.circle.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/opa-ff.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-90904-37176/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/opa-ff.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=1669507200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T343MY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opa-ff-10.11.1.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v10.11.1.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opa-ff-10.11.1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #8 (0001-Link-executables-with-pie.patch): + echo 'Patch #8 (0001-Link-executables-with-pie.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Esm/ib/src/linux/startup/fm_config/Makefile patching file Makerules/Maketargets.build Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch): + echo 'Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Dsap/Makefile patching file IbaTools/stream/Makefile patching file opasadb/path_tools/cache/Makefile patching file opasadb/path_tools/dump/Makefile patching file opasadb/path_tools/exercise/Makefile patching file opasadb/path_tools/load/Makefile patching file opasadb/path_tools/perf/Makefile patching file opasadb/path_tools/query/Makefile patching file opasadb/path_tools/query_many/Makefile Patch #10 (0003-Replace-strdupa-with-strdup.patch): + echo 'Patch #10 (0003-Replace-strdupa-with-strdup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file opasadb/path_tools/query/opa_osd_query.c + sed -i -r -e 's/(release_C(C)?OPT_Flags\s*)=/\1?=/' Makerules/Target.LINUX.GNU.EM64T Makerules/Target.LINUX.GNU.IA32 Makerules/Target.LINUX.GNU.IA64 Makerules/Target.LINUX.GNU.MIPS64 Makerules/Target.LINUX.GNU.PPC64 Makerules/Target.LINUX.GNU.X86_64 Patch #11 (opa-add-support-circle.patch): + echo 'Patch #11 (opa-add-support-circle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CommonInstall/util_init.pl Hunk #1 FAILED at 257. Hunk #2 FAILED at 304. Hunk #3 FAILED at 321. Hunk #4 FAILED at 356. 4 out of 4 hunks FAILED -- saving rejects to file CommonInstall/util_init.pl.rej patching file MakeTools/funcs-ext.sh Hunk #1 FAILED at 725. Hunk #2 succeeded at 844 (offset 10 lines). 1 out of 2 hunks FAILED -- saving rejects to file MakeTools/funcs-ext.sh.rej patching file get_id_and_versionid.sh Hunk #1 succeeded at 78 (offset 7 lines). error: Bad exit status from /var/tmp/rpm-tmp.T343MY (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T343MY (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 --target x86_64 --nodeps --nocheck /builddir/build/SPECS/opa-ff.spec