168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jV2Rqc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imake-1.0.7 + /usr/bin/mkdir -p imake-1.0.7 + cd imake-1.0.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/imake-1.0.7.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/makedepend-1.0.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gccmakedep-1.0.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xorg-cf-files-1.0.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/lndir-1.0.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (xorg-cf-files-1.0.2-redhat.patch):' Patch #2 (xorg-cf-files-1.0.2-redhat.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .redhat --fuzz=0 patching file xorg-cf-files-1.0.6/linux.cf + pushd imake-1.0.7 ~/build/BUILD/imake-1.0.7/imake-1.0.7 ~/build/BUILD/imake-1.0.7 Patch #11 (imake-1.0.2-abort.patch): + echo 'Patch #11 (imake-1.0.2-abort.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .abort --fuzz=0 patching file imake.c Hunk #1 succeeded at 1009 (offset -21 lines). + echo 'Patch #20 (imake-add-riscv64.patch):' Patch #20 (imake-add-riscv64.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/xorg-cf-files-1.0.4/Imake.cf b/xorg-cf-files-1.0.4/Imake.cf |index 1ff3c8c..df92126 100644 |--- a/xorg-cf-files-1.0.4/Imake.cf |+++ b/xorg-cf-files-1.0.4/Imake.cf -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 20 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/xorg-cf-files-1.0.4/linux.cf b/xorg-cf-files-1.0.4/linux.cf |index 716821e..a3e7f83 100644 |--- a/xorg-cf-files-1.0.4/linux.cf |+++ b/xorg-cf-files-1.0.4/linux.cf -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/xorg-cf-files-1.0.4/xfree86.cf b/xorg-cf-files-1.0.4/xfree86.cf |index 0f538e0..53d4af7 100644 |--- a/xorg-cf-files-1.0.4/xfree86.cf |+++ b/xorg-cf-files-1.0.4/xfree86.cf -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 66 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/xorg-cf-files-1.0.4/xorg.cf b/xorg-cf-files-1.0.4/xorg.cf |index 3ebe1fc..d60fbd5 100644 |--- a/xorg-cf-files-1.0.4/xorg.cf |+++ b/xorg-cf-files-1.0.4/xorg.cf -------------------------- 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.jV2Rqc (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.jV2Rqc (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/imake.spec