ch #2 (mupen64plus-make-archs.patch): + echo 'Patch #2 (mupen64plus-make-archs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makearchs --fuzz=0 patching file source/mupen64plus-core/projects/unix/Makefile patching file source/mupen64plus-rsp-hle/projects/unix/Makefile patching file source/mupen64plus-video-glide64mk2/projects/unix/Makefile patching file source/mupen64plus-video-rice/projects/unix/Makefile + cp -a source/mupen64plus-rsp-hle/LICENSES LICENSE-rsp-hle + cp -a source/mupen64plus-rom/mupen64plus/assets/LICENSES LICENSE-assets + cp -a source/mupen64plus-rom/LICENSES LICENSE-rom + cp -a source/mupen64plus-input-sdl/LICENSES LICENSE-input-sdl + cp -a source/mupen64plus-video-glide64mk2/LICENSES LICENSE-video-glide64mk2 + cp -a source/mupen64plus-video-rice/LICENSES LICENSE-video-rice + cp -a source/mupen64plus-ui-console/LICENSES LICENSE-ui-console + cp -a source/mupen64plus-core/LICENSES LICENSE-core + cp -a source/mupen64plus-audio-sdl/LICENSES LICENSE-audio-sdl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.akOnUC + umask 022 + cd /builddir/build/BUILD + cd mupen64plus-bundle-src-2.5 + ADDITIONAL_FLAGS= ++ uname -m + [[ riscv64 = arm* ]] ++ uname -m + [[ riscv64 = aarch64 ]] ++ uname -m + [[ riscv64 = ppc* ]] + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + sh m64p_build.sh LIRC=1 ************************************ Building core library make: Entering directory '/builddir/build/BUILD/mupen64plus-bundle-src-2.5/source/mupen64plus-core/projects/unix' Makefile:144: *** CPU type "riscv64" not supported. Please file bug report at 'http://code.google.com/p/mupen64plus/issues'. Stop. make: Leaving directory '/builddir/build/BUILD/mupen64plus-bundle-src-2.5/source/mupen64plus-core/projects/unix' error: Bad exit status from /var/tmp/rpm-tmp.akOnUC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.akOnUC (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/mupen64plus.spec