all -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 -O2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/CMakeFiles/swipl.dir/pl-main.c.o -o src/swipl -Wl,-rpath,/builddir/build/BUILD/swipl-8.2.1/riscv64-redhat-linux-gnu/src: /usr/lib64/libtcmalloc_minimal.so src/libswipl.so.8.2.1 && : FAILED: src/swipl : && /usr/bin/gcc -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 -O2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/CMakeFiles/swipl.dir/pl-main.c.o -o src/swipl -Wl,-rpath,/builddir/build/BUILD/swipl-8.2.1/riscv64-redhat-linux-gnu/src: /usr/lib64/libtcmalloc_minimal.so src/libswipl.so.8.2.1 && : /usr/bin/ld: src/libswipl.so.8.2.1: undefined reference to `__atomic_fetch_or_2' collect2: error: ld returned 1 exit status [759/2412] /usr/bin/gcc -Dplugin_turtle_EXPORTS -Ipackages/semweb -I../src/os -I../src -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 -O2 -fPIC -Wall -D__SWI_PROLOG__ -MD -MT packages/semweb/CMakeFiles/plugin_turtle.dir/turtle.c.o -MF packages/semweb/CMakeFiles/plugin_turtle.dir/turtle.c.o.d -o packages/semweb/CMakeFiles/plugin_turtle.dir/turtle.c.o -c ../packages/semweb/turtle.c [760/2412] /usr/bin/gcc -Dplugin_rdf_db_EXPORTS -Ipackages/semweb -I../src/os -I../src -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 -O2 -fPIC -Wall -D__SWI_PROLOG__ -MD -MT packages/semweb/CMakeFiles/plugin_rdf_db.dir/rdf_db.c.o -MF packages/semweb/CMakeFiles/plugin_rdf_db.dir/rdf_db.c.o.d -o packages/semweb/CMakeFiles/plugin_rdf_db.dir/rdf_db.c.o -c ../packages/semweb/rdf_db.c [761/2412] /usr/bin/gcc -Dplugin_sgml2pl_EXPORTS -Ipackages/sgml -I../src/os -I../src -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 -O2 -fPIC -Wall -D__SWI_PROLOG__ -MD -MT packages/sgml/CMakeFiles/plugin_sgml2pl.dir/parser.c.o -MF packages/sgml/CMakeFiles/plugin_sgml2pl.dir/parser.c.o.d -o packages/sgml/CMakeFiles/plugin_sgml2pl.dir/parser.c.o -c ../packages/sgml/parser.c ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.8N7JqN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8N7JqN (%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/pl.spec