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/gstreamer1.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-186110-60586/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/gstreamer1.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 warning: Macro expanded in comment on line 6: (c=%{gitcommit}; echo ${c:0:5}) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gstreamer1-1.18.4-4.0.1.an8.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/gstreamer1.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-186110-60586/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/gstreamer1.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 warning: Macro expanded in comment on line 6: (c=%{gitcommit}; echo ${c:0:5}) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QdxSEy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gstreamer-1.18.4 + /usr/bin/xz -dc /builddir/build/SOURCES/gstreamer-1.18.4.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gstreamer-1.18.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gstreamer-inspect-rpm-format.patch):' Patch #0 (gstreamer-inspect-rpm-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpm-provides --fuzz=0 patching file tools/gst-inspect.c Hunk #2 succeeded at 1746 (offset 7 lines). Hunk #3 succeeded at 1993 (offset 7 lines). Hunk #4 succeeded at 2036 (offset 7 lines). Hunk #5 succeeded at 2058 (offset 7 lines). Hunk #6 succeeded at 2081 (offset 7 lines). Hunk #7 succeeded at 2100 (offset 7 lines). Hunk #8 succeeded at 2130 (offset 7 lines). Hunk #9 succeeded at 2197 (offset 7 lines). Hunk #10 succeeded at 2219 (offset 7 lines). Hunk #11 succeeded at 2387 (offset 9 lines). Hunk #12 succeeded at 2400 (offset 9 lines). Patch #1000 (0001-gstreamer1-add-loongarch.patch): + echo 'Patch #1000 (0001-gstreamer1-add-loongarch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gst/gstconfig.h.in Hunk #1 FAILED at 104. 1 out of 1 hunk FAILED -- saving rejects to file gst/gstconfig.h.in.rej error: Bad exit status from /var/tmp/rpm-tmp.QdxSEy (%prep) RPM build errors: Macro expanded in comment on line 6: (c=%{gitcommit}; echo ${c:0:5}) Bad exit status from /var/tmp/rpm-tmp.QdxSEy (%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/gstreamer1.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/gstreamer1.spec