r=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 -Wextra -ftemplate-depth=1000 -Wno-unused-function -O3 -fopenmp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/mlpack_gmm_probability.dir/gmm_probability_main.cpp.o -o ../../../../bin/mlpack_gmm_probability -Wl,-rpath,/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu/lib: ../../../../lib/libmlpack.so.3.4 /usr/lib64/libarmadillo.so /usr/lib64/libboost_unit_test_framework.so /usr/lib64/libboost_serialization.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu' [ 19%] Built target mlpack_gmm_probability [ 19%] Linking CXX executable ../../../../bin/mlpack_gmm_train cd /builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu/src/mlpack/methods/gmm && /usr/bin/cmake -E cmake_link_script CMakeFiles/mlpack_gmm_train.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -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 -Wextra -ftemplate-depth=1000 -Wno-unused-function -O3 -fopenmp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/mlpack_gmm_train.dir/gmm_train_main.cpp.o -o ../../../../bin/mlpack_gmm_train -Wl,-rpath,/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu/lib: ../../../../lib/libmlpack.so.3.4 /usr/lib64/libarmadillo.so /usr/lib64/libboost_unit_test_framework.so /usr/lib64/libboost_serialization.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu' [ 19%] Built target mlpack_gmm_train [ 20%] Linking CXX executable ../../../../bin/mlpack_fastmks cd /builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu/src/mlpack/methods/fastmks && /usr/bin/cmake -E cmake_link_script CMakeFiles/mlpack_fastmks.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -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 -Wextra -ftemplate-depth=1000 -Wno-unused-function -O3 -fopenmp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/mlpack_fastmks.dir/fastmks_main.cpp.o -o ../../../../bin/mlpack_fastmks -Wl,-rpath,/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu/lib: ../../../../lib/libmlpack.so.3.4 /usr/lib64/libarmadillo.so /usr/lib64/libboost_unit_test_framework.so /usr/lib64/libboost_serialization.so -lpthread gmake[2]: Leaving directory '/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu' [ 20%] Built target mlpack_fastmks gmake[1]: Leaving directory '/builddir/build/BUILD/mlpack-3.4.2/riscv64-redhat-linux-gnu' gmake: *** [Makefile:163: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Ot9hzh (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Ot9hzh (%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/mlpack.spec