1 succeeded at 214 (offset -1 lines). Patch #6 (ghc-8.6.3-sphinx-1.8.patch): + echo 'Patch #6 (ghc-8.6.3-sphinx-1.8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file docs/users_guide/flags.py + rm -r libffi-tarballs + cd libraries/process Patch #10 (73ea41b3622e2e578d928f7513941aac9d873279.patch): + echo 'Patch #10 (73ea41b3622e2e578d928f7513941aac9d873279.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig10 --fuzz=0 patching file cbits/runProcess.c Patch #11 (3e0812fe9d3f4712638a1c4c49bf2b2a7dc4311b.patch): + echo 'Patch #11 (3e0812fe9d3f4712638a1c4c49bf2b2a7dc4311b.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig11 --fuzz=0 patching file cbits/runProcess.c patching file include/runProcess.h Patch #15 (ghc-warnings.mk-CC-Wall.patch): + echo 'Patch #15 (ghc-warnings.mk-CC-Wall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file mk/warnings.mk Patch #17 (PprC-Add-support-for-adjacent-floats.patch): + echo 'Patch #17 (PprC-Add-support-for-adjacent-floats.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file compiler/cmm/PprC.hs Hunk #2 succeeded at 1264 (offset -9 lines). Patch #34 (fix-build-using-unregisterized-v8.4.patch): + echo 'Patch #34 (fix-build-using-unregisterized-v8.4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file includes/rts/storage/ClosureTypes.h patching file includes/stg/MiscClosures.h Patch #24 (buildpath-abi-stability.patch): + echo 'Patch #24 (buildpath-abi-stability.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file compiler/iface/MkIface.hs Hunk #1 succeeded at 712 (offset 31 lines). Hunk #2 succeeded at 747 (offset 33 lines). Patch #26 (no-missing-haddock-file-warning.patch): + echo 'Patch #26 (no-missing-haddock-file-warning.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file utils/ghc-pkg/Main.hs Hunk #1 succeeded at 1888 (offset 300 lines). Patch #28 (x32-use-native-x86_64-insn.patch): + echo 'Patch #28 (x32-use-native-x86_64-insn.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file rts/RtsSymbols.c Hunk #1 succeeded at 934 (offset 77 lines). Patch #30 (add_-latomic_to_ghc-prim.patch): + echo 'Patch #30 (add_-latomic_to_ghc-prim.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file libraries/ghc-prim/aclocal.m4 patching file libraries/ghc-prim/configure.ac Patch #32 (e175aaf6918bb2b497b83618dc4c270a0d231a1c.patch): + echo 'Patch #32 (e175aaf6918bb2b497b83618dc4c270a0d231a1c.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file rts/posix/OSMem.c Patch #40 (ghc-8.2.20-riscv.patch): + echo 'Patch #40 (ghc-8.2.20-riscv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file aclocal.m4 + '[' '!' -f libraries/gen_contents_index.orig ']' + cat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9DB21w + umask 022 + cd /builddir/build/BUILD + cd ghc-8.6.5 + autoreconf BUILDSTDERR: /var/tmp/rpm-tmp.9DB21w: line 33: autoreconf: command not found RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9DB21w (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9DB21w (%build) 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 700, 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/ghc.spec