r 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: *** [common/sys/CMakeFiles/sys.dir/build.make:79: common/sys/CMakeFiles/sys.dir/sysinfo.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [common/math/CMakeFiles/math.dir/build.make:79: common/math/CMakeFiles/math.dir/constants.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/embree-3.13.3' gmake[1]: *** [CMakeFiles/Makefile2:260: common/math/CMakeFiles/math.dir/all] Error 2 [ 5%] Building CXX object common/tasking/CMakeFiles/tasking.dir/taskschedulertbb.cpp.o cd /builddir/build/BUILD/embree-3.13.3/common/tasking && /usr/bin/g++ -DEMBREE_TARGET_SSE2 -DTASKING_TBB -D__TBB_NO_IMPLICIT_LINKAGE=1 -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 -Wall -Wformat -Wformat-security -Wno-class-memaccess -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -fsigned-char -fPIE -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing -fno-tree-vectorize -D_FORTIFY_SOURCE=2 -DNDEBUG -O3 -msse2 -std=gnu++17 -MD -MT common/tasking/CMakeFiles/tasking.dir/taskschedulertbb.cpp.o -MF CMakeFiles/tasking.dir/taskschedulertbb.cpp.o.d -o CMakeFiles/tasking.dir/taskschedulertbb.cpp.o -c /builddir/build/BUILD/embree-3.13.3/common/tasking/taskschedulertbb.cpp cc1plus: error: unrecognized command-line option '-msse2' [ 6%] Building CXX object common/sys/CMakeFiles/sys.dir/alloc.cpp.o cd /builddir/build/BUILD/embree-3.13.3/common/sys && /usr/bin/g++ -DEMBREE_TARGET_SSE2 -DTASKING_TBB -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 -Wall -Wformat -Wformat-security -Wno-class-memaccess -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -fsigned-char -fPIE -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing -fno-tree-vectorize -D_FORTIFY_SOURCE=2 -DNDEBUG -O3 -msse2 -std=gnu++17 -MD -MT common/sys/CMakeFiles/sys.dir/alloc.cpp.o -MF CMakeFiles/sys.dir/alloc.cpp.o.d -o CMakeFiles/sys.dir/alloc.cpp.o -c /builddir/build/BUILD/embree-3.13.3/common/sys/alloc.cpp gmake[2]: *** [common/tasking/CMakeFiles/tasking.dir/build.make:79: common/tasking/CMakeFiles/tasking.dir/taskschedulertbb.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/embree-3.13.3' gmake[1]: *** [CMakeFiles/Makefile2:339: common/tasking/CMakeFiles/tasking.dir/all] Error 2 cc1plus: error: unrecognized command-line option '-msse2' gmake[2]: *** [common/sys/CMakeFiles/sys.dir/build.make:93: common/sys/CMakeFiles/sys.dir/alloc.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/embree-3.13.3' gmake[1]: *** [CMakeFiles/Makefile2:234: common/sys/CMakeFiles/sys.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/embree-3.13.3' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.oQdvaZ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oQdvaZ (%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/embree.spec