-I../../../.. -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 -fpermissive -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 -c -o marketmodelvolprocess.lo marketmodelvolprocess.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I../../../.. -I../../../.. -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 -fpermissive -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 -c marketmodelvolprocess.cpp -fPIC -DPIC -o .libs/marketmodelvolprocess.o The bug is not reproducible, so it is likely a hardware or OS problem. make[6]: *** [Makefile:545: lognormalfwdratepc.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I../../../.. -I../../../.. -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 -fpermissive -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 -c marketmodelvolprocess.cpp -o marketmodelvolprocess.o >/dev/null 2>&1 make[6]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql/models/marketmodels/evolvers' make[5]: *** [Makefile:581: all-recursive] Error 1 make[5]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql/models/marketmodels/evolvers' make[4]: *** [Makefile:610: all-recursive] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql/models/marketmodels' make[3]: *** [Makefile:536: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql/models' make[2]: *** [Makefile:692: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql' make[1]: Leaving directory '/builddir/build/BUILD/QuantLib-1.16/ql' make[1]: *** [Makefile:517: all] Error 2 make: *** [Makefile:593: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.kYNuCI (%build) Bad exit status from /var/tmp/rpm-tmp.kYNuCI (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/QuantLib.spec