cc-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 -fno-strict-aliasing -fPIC -I/usr/include/libxml2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -shared -Wl,-soname,_libsedml.so -o _libsedml.so CMakeFiles/binding_python_lib.dir/libsedml_wrap.cpp.o ../../sedml/libsedml-static.a -lpython3.9 /usr/lib64/libsbml.so -lnuml -lnuml -lsbml -lxml2 -lbz2 -lz -lm -ldl make[2]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make[1]: Entering directory '/builddir/build/BUILD/libSEDML-0.4.4/build' [ 84%] Built target binding_python_lib make[1]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make[2]: Entering directory '/builddir/build/BUILD/libSEDML-0.4.4/build' [ 81%] Building CXX object bindings/perl/CMakeFiles/binding_perl_lib.dir/LibSEDML.cpp.o cd /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/perl && /usr/bin/g++ -DLIBSEDML_STATIC -DLINUX -DPACKAGE_NAME=\"libsedml\" -DPACKAGE_VERSION=\"0.4.4\" -DUSE_ZLIB -Dbinding_perl_lib_EXPORTS -I/usr/lib64/perl5/CORE -I/builddir/build/BUILD/libSEDML-0.4.4/build/bindings/perl/../.. -I/builddir/build/BUILD/libSEDML-0.4.4/bindings/perl/../.. -I/builddir/build/BUILD/libSEDML-0.4.4/bindings/perl -I/builddir/build/BUILD/libSEDML-0.4.4/bindings/perl/../swig -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 -fno-strict-aliasing -fPIC -I/usr/include/libxml2 -fPIC -o CMakeFiles/binding_perl_lib.dir/LibSEDML.cpp.o -c /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/perl/LibSEDML.cpp make[2]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make[2]: Entering directory '/builddir/build/BUILD/libSEDML-0.4.4/build' [ 85%] Linking CXX shared module LibSEDML.so cd /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/perl && /usr/bin/cmake -E cmake_link_script CMakeFiles/binding_perl_lib.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -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 -fno-strict-aliasing -fPIC -I/usr/include/libxml2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -shared -o LibSEDML.so CMakeFiles/binding_perl_lib.dir/LibSEDML.cpp.o ../../sedml/libsedml-static.a -lperl /usr/lib64/libsbml.so -lnuml -lnuml -lsbml -lxml2 -lbz2 -lz -lm -ldl make[2]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make[1]: Entering directory '/builddir/build/BUILD/libSEDML-0.4.4/build' [ 85%] Built target binding_perl_lib make[1]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make: *** [Makefile:185: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.6BwHah (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6BwHah (%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/libsedml.spec