Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1-rtsp-server.spec'], chrootPath='/var/lib/mock/f33-build-168160-43602/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1-rtsp-server.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1585872000 Wrote: /builddir/build/SRPMS/gstreamer1-rtsp-server-1.16.2-2.0.riscv64.fc33.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1-rtsp-server.spec'], chrootPath='/var/lib/mock/f33-build-168160-43602/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gstreamer1-rtsp-server.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1585872000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.alk52K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gst-rtsp-server-1.16.2 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/gst-rtsp-server-1.16.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gst-rtsp-server-1.16.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/gst-rtsp-server-1.16.2/common ~/build/BUILD/gst-rtsp-server-1.16.2 Patch #2 (fix-for-make-4.3.patch): + pushd common + echo 'Patch #2 (fix-for-make-4.3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-make43 --fuzz=0 can't find file to patch at input line 26 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 52adcdb89a9eb527df38c569539d95c1c7aeda6e Mon Sep 17 00:00:00 2001 |From: Debarshi Ray |Date: Thu, 12 Mar 2020 18:11:47 +0100 |Subject: [PATCH] build: Adapt to backwards incompatible change in GNU Make 4.3 | |GNU Make 4.3 has a backwards incompatible change affecting the use of |number signs or hashes (ie., #) inside function invocations. See: |https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html | |In this case, it would expand the '\#' in the '\n\#include \"$(h)\"' |argument to the foreach call to '\#', not '#'. This would lead to |spurious backslashes in front of the '#include' directives in the |generated fs-enumtypes.c file. | |Spotted by Ernestas Kulik. | |https://gitlab.freedesktop.org/gstreamer/common/-/merge_requests/4 |--- | gst-glib-gen.mak | 3 ++- | 1 file changed, 2 insertions(+), 1 deletion(-) | |diff --git a/gst-glib-gen.mak b/gst-glib-gen.mak |index 76b2233..bcb4240 100644 |--- a/gst-glib-gen.mak |+++ b/gst-glib-gen.mak -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.alk52K (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.alk52K (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 riscv64 --nodeps /builddir/build/SPECS/gstreamer1-rtsp-server.spec